cancel
Showing results for 
Search instead for 
Did you mean: 

return address of isr

bilal
Associate II
Posted on August 31, 2013 at 20:31

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.

regards
1 REPLY 1
Posted on September 01, 2013 at 01:40

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.

Tips, buy me a coffee, or three.. PayPal Venmo Up vote any posts that you find helpful, it shows what's working..