Past exam question: 2081 Chaitra (Regular), Q8(a)
Open in the Padhaiko appQuestion
What is an interrupt?
Solution
Definition: An interrupt is an asynchronous signal sent to the microprocessor by external hardware or internal program conditions requesting immediate CPU attention. Upon receiving an interrupt, the microprocessor suspends the current program sequence, saves the return address (Program Counter) on the stack, and branches to an Interrupt Service Routine (ISR) to service the peripheral device, subsequently resuming normal execution without loss of state.
Answer:
An interrupt is an asynchronous signal that temporarily halts regular microprocessor execution to branch to an Interrupt Service Routine (ISR), preserving system state to service time-sensitive events.