Murugesh_89
Full Member level 5
- Joined
- Nov 23, 2012
- Messages
- 266
- Helped
- 7
- Reputation
- 12
- Reaction score
- 6
- Trophy points
- 1,298
- Location
- India
- Activity points
- 3,267
Hi,
I want to know some info regarding interrupts.
I know that when a interrupt occurs the current instruction is completed, next instruction address is stored in Stack, then the isr will be completed and then program execution continues by retrieving address from stack to pc.
My doubt is almost every calculation involves the use of accumulator. When an interrupt occurs, the isr also uses the accumulator. but when returning to the normal program how this accumulator gets the correct value before it went to isr.
Can anybody give me any tutorial on deeply understanding the interrupts?
Thanks,
Murugesh
I want to know some info regarding interrupts.
I know that when a interrupt occurs the current instruction is completed, next instruction address is stored in Stack, then the isr will be completed and then program execution continues by retrieving address from stack to pc.
My doubt is almost every calculation involves the use of accumulator. When an interrupt occurs, the isr also uses the accumulator. but when returning to the normal program how this accumulator gets the correct value before it went to isr.
Can anybody give me any tutorial on deeply understanding the interrupts?
Thanks,
Murugesh