Thank you, I'll follow the suggestion since in the near future I want to use nested interrupts that requires an asm wrapper anyway. For now I patched the problem using an ISR that performs a call to the real one that contains the code I need. --- In lpc2000@yahoogroups.com, 42Bastian Schick <bastian42@m...> wrote: > > c.barbaro <c.barbaro@4...> schrieb am Tue, 31 Jan 2006 10:47:41 > -0000: > > > Anyone experienced similar problems and has a solution? > > I'd suggest to write the ISR wrapper in assembler and call from > there your ISR. > This allows you also to write the ISR in thumb mode. > This is also more compatible if you ever have to switch to another > compiler and/or use an RTOS :-) > > -- > 42Bastian Schick >
Message
Re: GCC compiler generates wrong code for interrupt handler routines
2006-01-31 by c.barbaro