Home » Computer Organization and Architecture » Computer organization and architecture miscellaneous » Question

Computer organization and architecture miscellaneous

Computer Organization and Architecture

  1. A CPU generally handles an interrupt by executing an interrupt service routine
    1. as soon as an interrupt as raised
    2. by checking the interrupt register at the end of fetch cycle
    3. by checking the interrupt register after finishing the execution of the current instruction
    4. by checking the interrupt register at fixed time intervals
Correct Option: C

After finishing the execution of each instruction the CPU reads the interrupt pins to recognize the interrupts.
INTR = 1 = Interrupt is Present (service the Interrupt) = 0 Interrupt is not present (Go to next Instruction fetch from user program).
⇒ Hardware detects interrupts immediately. But CPU acts only after its current instruction this followed to
ensure integrity of instructions.



Your comments will be displayed only after manual approval.