We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
hi,
I am using lpc2144. I have written a code to push the link register value onto stack using inline assembler in c program i.e., __asm {STMFD SP!,{LR};}. For this code i am getting compiler errors that SP and LR are undefined identifier. Please help me to do this task...
Thank You,
Annapurna
1. why do this? 2. you cannot do this using inline assembly. have'nt you read the assembly manual?
One could discuss ways to do this - but that would not make it a sensible thing to do!
This is the code used in a macro to handle nested interrupts.
hi Andy Neil,
Sorry i didnt get u.