3,822 views
1 votes
1 votes

http://superuser.com/questions/414290/when-a-non-vectored-interrupt-occurs-does-the-processor-ever-look-up-the-vector

In a non-vectored interrupt, the peripheral itself provides the address of the interrupt service routine directly to the processor. This requires more time for an interrupt to be serviced, since the address must be retrieved from the interrupting device every time the interrupt is triggered.

S ans is B??

3 Answers

5 votes
5 votes
Correct answer : (D)

In non-vectored interrupt, it is responsibility of CPU to find the address of ISR and to find the device which caused interrupt.Actually once CPU gets interrupt from a device, it completes its current execution phase and start servicing the interrupt. To do so,CPU first runs a default ISR, address of it is already known to CPU. Now this default service routine is stored somewhere in fixed memory location which CPU knows. So CPU refers to it and find the address of actual ISR from it & also address of the device which caused the interrupt. Actually CPU uses POLLING technique to find address of interrupt causing device.So once CPU gets address of ISR,it starts executing it and after completion it resumes its own execution.
0 votes
0 votes

correct ans is D)

A non-vectored interrupt is where the interrupting device never sends an interrupt vector. An interrupt is received by the CPU, and it jumps the program counter to a fixed address inhardware.

0 votes
0 votes

option D

For Non-vectored Interrupt

  1. When CPU gets the interrupt signal it loads the address of Default Service Routine(DSR) into PC.
  2.  The DSR finds out which device have generated interrupt and the address of ISR.
  3.  It then loads the ISR addess to PC to service the intrerrupt.

Related questions

0 votes
0 votes
0 answers
2
Harsh Kumar asked Jun 2, 2018
498 views
Are Vectored Interrupts possible in CPU having single Interrupt Request line? How/Why not?
1 votes
1 votes
0 answers
3
2 votes
2 votes
2 answers
4
Na462 asked Oct 21, 2018
1,682 views