Mail Archives: djgpp/1998/01/11/07:40:48
On Thu, 8 Jan 1998, Adam Young wrote:
> What I am wanting to know is what is the difference between the two
> methods (ie advantages and disadvantages).
One disadvantage of writing interrupt handlers in C is that there is
no reliable way of computing the size of a C function. This size
is required to lock the code of the handler in memory (as you always
need to do with hardware interrupt handlers). There are common tricks
to do this which work with current versions of GCC, but they aren't
guaranteed to work with future versions.
- Raw text -