INTERRUPT OF
COMPUTER
SYSTEM
A computer interrupt is a signal
that causes the operating system
(OS) to stop and address a high-
priority event.
HOW INTERRUPTS WORK
Interrupt signal
A device or program sends an interrupt signal to
the computer
Interrupt controller
The interrupt controller receives the signal, determines
its priority, and directs the CPU to the appropriate
interrupt services route (ISR).
Interrupt handler
The interrupt handler uses the interrupt vector to
find the ISR.
OS response
The OS stops the current process and determines what to
do next.
TYPES OF INTERRUPTS
Hardware interrupts:
Generated by hardware devices to signal events like I/O
completion or timer expiration.
Software interrupts:
These occur when a program encounters an exception or uses a
special instruction.
Maskable interrupts:
Can be enabled or disabled by the programmer.
Timer interrupts:
Occurs at regular intervals to ensure consistent
performance of routine tasks like updating the system
time.
Normal Interrupts:
Caused by software instructions and are made
intentionally.
THANK YOU!