Difficulty: Easy
Correct Answer: Interrupt service routine (ISR)
Explanation:
Introduction / Context:
Processors temporarily suspend normal execution when an external or internal event occurs, such as I/O completion, a timer tick, or a fault. Understanding the software component that responds is basic to operating systems and embedded programming.
Given Data / Assumptions:
Concept / Approach:
The routine that runs in response to an interrupt is called an Interrupt Service Routine (ISR), also known as an interrupt handler. The ISR executes, performs minimal required work, and returns via a special instruction so the interrupted program can resume.
Step-by-Step Solution:
Verification / Alternative check:
All major architectures (x86, ARM, RISC-V) define handlers/ISRs that save context, service the event, and return with an 'iret'/'rfe' style instruction.
Why Other Options Are Wrong:
Common Pitfalls:
Final Answer:
Interrupt service routine (ISR).
Discussion & Comments