All mock tests are FREE till 31 December — register to save your progress
Unit 2 · Computer System Architecture Paper 2 CS · December 2024

Which of the following is the correct sequence with regard to the interrupt service routine?
A. Save contents of processor registers
B. Turn the interrupt facility on
C. Service the device whose flag is set
D. Check which flag is set
E. Restore contents of processor registers
Choose the correct answer from the options given below:

Pick an option to check yourself, or open the answer below.

Show answer & explanation

Correct answer: D. A, D, C, E, B

Explanation

The service routine saves the registers, checks which flag is set, services that device, restores the registers and turns the interrupt facility back on before returning: A, D, C, E, B.

More Computer System Architecture questions