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
- Match List I (Boolean Algebra Law) with List II (Axioms)List I List II A. Absorption Law I. a + 1 = 1 B. Bounded Law II. a + 0 = a C. Ident…
- Match List I with List IIList I List II A. (100110011)₂ I. Error detection code B. Complements II. CISC C. Parity Bits III. Negative number…
- Which of the following are NOT data manipulation instructions? A. Call B. Load C. And D. Increment E. Shift Choose the correct answer from…
- In the basic computer instruction format [I | opcode | address], which of the following do NOT represent memory-reference instructions? A.…
- Consider the number (45)ᵧ where y is the base of the number. Some of the possible values of y are given below. (A) 5 (B) 6 (C) 7 (D) 8 Choo…
- Find the correct sequence of the storage devices in descending order based on their access time. (A) Registers (B) Magnetic Disk (C) Magnet…