When an interrupt occurs, sequence of following six steps takes place :
- Interrupt Recognition: The processor notices that something needs attention, either from within the system or from an external device.
- Status Saving: To make sure the current process isn’t messed up by the interruption, the processor saves all its important settings.
- Interrupt Masking: Initially, the processor ignores all other interruptions to focus on dealing with the current one. Later, it might allow higher-priority interruptions.
- Interrupt Acknowledgment: The processor tells the interrupting device, “Got it, I’ll handle this.”
- Interrupt Service Routine: Now, the processor starts dealing with the issue. It might need to figure out what exactly needs attention and how to address it.
- Restoration and Return: Once the problem is solved, the processor puts back all the settings it saved, making sure everything goes back to normal as if nothing happened.
Discussion
Ask a question, share your thoughts or report an error.
Sign in to participate in the discussion.
Join the discussion