Re: How to return to a particular line after ISR is executed
Hi saraheem,
"If i use a jump (i.e. calling sig_ctrl() ) statement, then the uC will still be inside the ISR only"
I don't think so because a jump is an unconditional branching and is different from calling a subroutine. So a simple jump instruction would be enough. Also clear interrupt flags if required.
If not, try doing this: When you reach the ISR, pop the stack and push to the stack the address to which you wish to move once the ISR finishes.