Environment
January 12, 2025GATE-2024-CS1(Forenoon)
January 13, 2025GATE 2009
| Question 8 |
A CPU generally handles an interrupt by executing an interrupt service routine
| As soon as an interrupt is raised. | |
| By checking the interrupt register at the end of fetch cycle. | |
| By checking the interrupt register after finishing the execution of the current instruction. | |
| By checking the interrupt register at fixed time intervals. |
Question 8 Explanation:
As soon as an interrupt is raised the corresponding register is set. But CPU acts on it only after execution of its current instruction. This is followed to ensure integrity of instructions.
Correct Answer: C
Question 8 Explanation:
As soon as an interrupt is raised the corresponding register is set. But CPU acts on it only after execution of its current instruction. This is followed to ensure integrity of instructions.
