CompuServe Messages

#inline asm criticized

    15-Jan-90 02:08:15
Fm: Mike Spille/Manx 71545,1466
To: John Draper 76703,4322
Actually, there always was a way in Aztec C. An interrupt routine, or whatever, simply had to call the function intstart() at the beginning of an interrupt function, and intend() at the end, and this would take care of A4 and everything else. In version 5.0, we've simplified it by adding a #pragma which identifies a function as being an interrupt handler. This will cause the compiler to automatically generate code at the entry and exit points of the function which gets A4 (only in small model!) and saves/restores registers.