Machine-translated by Google. Questions are authored in English.
Top

Discussion

Put the steps the hardware takes on accepting an interrupt in order.

1. Fetch the vector and jump to the handler   2. Complete or abandon the current instruction   3. Save the program counter and status register   4. Block interrupts of equal or lower priority

  • A.2, 4, 3, 1
  • B.2, 3, 4, 1
  • C.1, 2, 3, 4
  • D.3, 2, 4, 1

Answer: B

The instruction in progress is disposed of first, then the return state is pushed, then the priority mask is raised so the handler is not immediately displaced by an equal source, and only then does control transfer. Cores differ in detail but not in this order.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.