Re: [psas-avionics] How to write assembly code inside a C function

2011-10-04 Thread K Wilson
On Tue, Oct 4, 2011 at 2:03 PM, Nagasrinivas Pinjala wrote: > > Last week Dave told that are a few problems with the ARM GCC compiler which > made me think that may be the compiler isn't producing the correct epilogue > for the interrupt function. I decided to declare the function attribute as > "

Re: [psas-avionics] How to write assembly code inside a C function

2011-10-04 Thread Dave Camarillo
Hi Naga, the LPCUSB library has good examples of how to do inline assembly with the function prolog and eiplog. These should not be done as functions, they should just be inline assembly at the beginning and end of the function. With regard to the multiple firings of your interrupt, make sure that