retagged by
7,043 views
7 votes
7 votes

On receiving an interrupt from an I/O device,the CPU

  1. Halts for a predetermined time
  2. Branches off to the interrupt service routine after completion of the current instruction
  3. Branches off to the interrupt service routine immediately
  4. Hands over control of address bus and data bus to the interrupting device
retagged by

3 Answers

Best answer
17 votes
17 votes

CPU checks the status bit of interrupt at the completion of each current instruction running when there is a interrupt it service the interrupt using ISR.

so OPTION B)Branches off to the interrupt service routine after completion of the current instruction

4 votes
4 votes

ans is (b)

An interrupt service routine (ISR) is a software routine that hardware invokes in response to an interrupt. ISRs examine an interrupt and determine how to handle it. ISRs handle the interrupt, and then return a logical interrupt value.

Branches off to the interrupt service routine after completion of the current instructio

0 votes
0 votes
1. The CPU then performs a state save, and transfers control to the interrupt handler routine at a fixed address in memory. ( The CPU catches the interrupt and dispatches the interrupt handler)
2. The interrupt handler determines the cause of the interrupt, performs the necessary processing, performs a state restore, and executes a return from interrupt instruction to return control to the CPU. ( The interrupt handler clears the interrupt by servicing the device. )
Answer:

Related questions

6 votes
6 votes
2 answers
3
Desert_Warrior asked Jun 3, 2016
3,287 views
The process of organizing the memory into two banks to allow $8$-and $16$-bit data operation is calledBank switchingIndexed mappingTwo-way memory interleavingMemory segme...