GATE / CS ARCHIVE

GATE CSE 2013 / QUESTION 28

Interrupt-entry micro-operations

Computer Organization & Architecture · Input/Output, DMA & Interrupts · Full GATE CSE 2013 paper

GATE 2013, Q28 2 marks · MCQ
Report issue

Input/Output, DMA & Interrupts

Question 28, GATE 2013: Micro-operations are MBR←PC; MAR←X; PC←Y; Memory←MBR (write at MAR). Which operation can this implement? A instruction fetch; B operand fetch; C conditional branch; D interrupt-service initiation.
Tap to enlarge
Your answer
Answer & solution

Official answer: D

MBR receives the current PC, MAR selects location X, PC is changed to Y, and the saved PC is written at X. This saves a return address and transfers control to another routine, consistent with interrupt-service initiation, D.

Track the values rather than just the register names. The old PC is copied into MBR before PC is overwritten, so it is preserved. MAR directs the final write to X, saving that old PC in memory. Loading Y into PC redirects execution. Together these actions save a return location and jump to a service routine, consistent with D. An instruction fetch would read memory into an instruction register/buffer rather than store the old PC to memory.

Original paper, page 6 · Answer key