Skip to main content

What does the processor do if an interrupts is pending???

When an interrupt is pending the processor does the following thing:
  • It suspends the execution of current program being executed and saves its context.This means saving the address of the next instruction to be executed and any other data relevant to the processors current activity.
  • It sets the program counter to the starting address of an interrupt handler routine.

Quote: “I'm selfish, impatient and a little insecure. I make mistakes, I am out of control and at times hard to handle. But if you can't handle me at my worst, then you sure as hell don't deserve me at my best.” ― Marilyn Monroe