• edited by
4,975 views
1 1 vote

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??

In a non-vectored interrupt, the address of interrupt service routine is

  1. Obtained from interrupt address table.
  2. Supplied by the interrupting I/O device.
  3. Obtained through Vector address generator device.
  4. Assigned to a fixed memory location.
    1. A
    2. B
    3. C
    4. D

      Ans: D. D
      Ans Explanation :
      The source device that interrupted the processor supply the vector address which helps processor to find out the actual memory location where ISR is stored for the device.

3 Answers

5 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 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 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.
Position:
Show:

Related questions

1 1 vote
0 0 answers
745
745 views
RamaSivaSubrahmanyam asked Aug 24, 2022
745 views
What is the difference between vectored and non vectored interrupt …Some says Non-Vectored Interrupts are those in which vector address is not predefined. The interruptin...
0 0 votes
0 0 answers
645
645 views
Harsh Kumar asked Jun 2, 2018
645 views
Are Vectored Interrupts possible in CPU having single Interrupt Request line? How/Why not?
1 1 vote
0 0 answers
3.7k
3.7k views
srestha asked Oct 27, 2018
3,747 views
In this state diagram of interrupt, where interrupt service routine is used? Why both hardware and software control are needed to service an interrupt?PC,PSW and ISR how ...
2 2 votes
2 2 answers
2.4k
2.4k views
Na462 asked Oct 21, 2018
2,371 views