[Icc-430] Interrupt handler wrapper preserves R8,9 - repost
Richard
richard-lists at imagecraft.com
Wed Jan 24 00:55:35 PST 2007
Kris, there is no interrupt wrapper per se. The compiler checks what the
register usage is for an interrupt function and only save and restore what
are used. If you have a test case that shows otherwise, then it is a bug.
So contact me offlist with the source code and I will take a look at it.
If an ISR calls another function, then the compiler will save/restore all
registers as it wouldn't know what get used in the end, but this doesn't
sound like your issue.
At 12:27 PM 1/23/2007, Kris Heidenstrom wrote:
>I think the descriptions in the help are right and
>up-to-date, and I think the interrupt handler
>wrapper is out-of-date. I wrote my own wrapper
>in assembler, which does not preserve R8 and
>R9, and everything seemed to work OK.
>Am I missing something here?
>
>Kris
>-
// richard (This email is for mailing lists. To reach me directly, please
use richard at imagecraft.com)
More information about the Icc-430
mailing list