A CPU generally handles an interrupt by executing an interrupt service routine
28 views
- As soon as an interrupt is raised
- By checking the interrupt register after finishing the execution of the current instruction (Correct Answer)
- By checking the interrupt register at the end of the fetch cycle
- By checking the interrupt register at fixed time intervals
Explanation
Ans B
Hardware detects interrupt immediately, but CPU acts only after its current instruction. This is followed to ensure integrity of instructions.