On Wed, 1 Aug 2001, Jeff Slutter wrote:
> What I did was add some code to my crt0.s for the irq handler. You must
> write it in ARM code (.arm or .code 32). I'm not sure if you have to
> save/restore registers, but I did.
You don't, the compiler has 3 seperate sets of registers for system, irq,
and swi modes. I'm not sure of the details, but I am pretty sure that
your irq code can do whatever it wants with the registers because they
are not the same registers that are used for normal code.