Regarding the interrupt service subroutine, consider the following tasks:
A. Turn the interrupt facility on
B. Service the device whose flag is set
C. Save the contents of processor registers
D. Check which flag is set
E. Restore the 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: C. C, D, B, E, A
Explanation
Save registers, check which flag is set, service that device, restore registers, and turn interrupts back on.More Computer System Architecture questions
- Match List I with List IIList I List II A. Complement I. Adder B. E-OR II. Instruction decoding C. Accumulator III. Negative number represe…
- To make a memory of size 2048 × 8 using chips of size 128 × 4, the number of chips required is:
- Which of the following are sequential circuits? A. Flip-flop B. Multiplexer C. Counter D. Decoder E. Adder Choose the correct answer from t…
- Techniques for performing I/O: A. Programmed I/O B. Interrupt-driven I/O C. Rotational I/O D. Direct memory access E. Channelized I/O Choos…
- In 16-bit 2's complement representation, the decimal number −28 is
- Simplify using a K-map: F(A, B, C, D) = Σm(3, 4, 5, 6, 7, 11, 15)