operating-systems

Definition

Interrupt

An Interrupt is an asynchronous signal from hardware indicating an event requiring immediate attention.

Mechanism

Upon receiving an interrupt, the CPU:

  1. Completes the current instruction.
  2. Saves the execution state (Program Counter and PSW).
  3. Transfers control to a specific Interrupt Handler routine defined in the Interrupt Vector Table.