CPU Interrupts & Interrupt Handling (ISR)

An interrupt is a signal asking the CPU to deal with something urgent. You will learn how the CPU saves its state, runs an interrupt service routine (ISR) and then carries on where it left off.

Key terms

Interrupt
A signal to the CPU to stop its current task and handle a higher-priority event.
When interrupts are checked
At the end of each fetch-decode-execute cycle.
Interrupt service routine (ISR)
The code that runs to handle a specific interrupt.
Context
The contents of key registers, saved so execution can resume after the ISR finishes.

Part of Processor Fundamentals.