1. Which of the following statements are correct for the “interrupts” ?
(a) When an interrupt occurs, the OS transfers control to the corresponding
interrupt service routine (ISR)
(b) The interrupt vector contains the addresses of all the service routines
(c) When an interrupt occurs, the OS preserves the state of the CPU by
storing registers and the program counter (PC)
(d) The codes of ISR for different interrupts are of the same length for
better management
(e) When an interrupt is being processed, the incoming interrupts should be
enabled to prevent a lost interrupt
答案是b, c
想请问a是错在哪里呢?
2. 原本的资料路径是
keyboard