2013-08-31 11:31 AM
hi
i am working on stm32f4. i am having a small programming issue, while my code is executing, ISR comes, i want to change the return address of ISR, i.e it does not goes back from where the processor left the code. i searched, and found that i have to change instruction pointer, using PUSH n POP. but did not succeeded. hope to listen soon.regards2013-08-31 04:40 PM
I suspect you're going to want to examine LR to determine which stack it's using and then access the stack frame. Not sure I'd be using push/pop. I'd definitely recommend a review of the Cortex M3/M4 Technical Reference Manual.