Interrupts, the role of interrupts and Interrupt Service Routines (ISR), role within the Fetch-Decode-Execute Cycle
1.2.1 Systems Software
Practise exam questionsSystems Software — Note 3 of 8
Candidates need to understand the purpose of interrupts within a computer system, why an interrupt might be generated and what happens within the CPU and memory in order to call an interrupt service routine.
An interrupt is a signal to the processor that something needs its attention. The processor finishes its current instruction, saves its state and runs an Interrupt Service Routine (ISR) to deal with the event, then resumes the original task.
Exam tipCommon mistake
A signal sent to the processor by hardware or software indicating that an event needs immediate attention.
A section of code that runs to deal with a particular interrupt.
Ready to test yourself?
Practise 1.2.1 questions