Usually when interrupt occurs, program returns to the line from where interrupt is generated.
I want to run the program from new line after ISR routine is completed, i.e. I don't want it to go back from where interrupt is generated.
would I have to change IP stored in SP Or what else?
thanks
PC(Program Counter)commonly called the instruction pointer (IP) in Intel x86 will store the next instruction address. you need to change PC to the Newline at End of Interrupt routinue.
you can Also increment Pc VAlue which is store in stack at the end of Interrupt routine, then would be stored in the PC.