• edited by
29,873 views
57 57 votes

 Which one of the following is true for a CPU having a single interrupt request line and a single interrupt grant line?

  1. Neither vectored interrupt nor multiple interrupting devices are possible

  2. Vectored interrupts are not possible but multiple interrupting devices are  possible

  3. Vectored interrupts and multiple interrupting devices are both possible

  4. Vectored interrupts are possible but multiple interrupting devices are not possible

7 Answers

Best answer
40 40 votes

(C) is the correct answer. We can use one Interrupt line for all the devices connected and pass it through OR gate. On receiving by the CPU, it executes the corresponding ISR and after exec INTA is sent via one line. For Vectored Interrupts it is always possible if we implement in daisy chain mechanism.

Ref : Click Here 

• edited by
30 30 votes

Answer is C.
Both Vectored interrupts and multiple interrupting devices are both possible.

You know about parallel & serial connection(Daisy Chain).
Multiple devices are connected serially.

This is how it looks like.

So how it handles multiple interrupts ?
By the way what does it mean by handling multiple interrupts?
It means handling the interrupt from multiple I/O devices, & when two or more devices cause interrupt simultaneously, we want to give priority to High priority I/O.

The way it is implemented is....
Even if one I/O device caused interrupt, we can know it...   but who raised it ?
Interrupt ACK is connected to I/O1  (I/O with Highest priority)
If the interrupt was caused by I/O1 then, it will not forward the signal to I/O2. So we can know it was caused by I/O1.
If it was caused by I/O3, then I/O1 will forward it, I/O2 wil forward it .. So it is caused by I/O3.
So we are checking from highest priority I/O to lowest priority.
If two or more device cause interrupt, then priority will be given to higher priority since ACK moves from highest priority, so it will not forward ACK, & we can know we have to serve it first.

13 13 votes
C. is the right option.

Daisy chain can be used.
11 11 votes

Vectored Interrupts are those interrupts in which an I/O module places it's word(usually it's address or a unique service identifier) on the bus so that the cpu can recognize the respective I/O module.

Using, single interrupt request line and single interrupt grant line, both multiple interrupts and vectored interrupts are possible.

Example : Intel 80386 configured with External Interrupt Arbiter : Intel 82C59A

The below read may be further useful

Source : William Stallings 9ed

So ans- (c)

0 0 votes
option c is correct …  for example daisy chainning there is only one interrupt request line and one interrupt grant lline
–3 –3 votes
CPU has single interrupt request and grant line. Here multiple request can be given to CPU but CPU interrupts only for highest priority interrupt so option (A) & (D) are wrong. But here in case of single interrupt lines definitely vectored interrupts are not possible. Hence (B) is correct option.
Answer:
Position:
Show:

Related questions

48 48 votes
4 answers 4 answers
17.3k
17.3k views
Kathleen asked Sep 22, 2014
17,333 views
Normally user programs are prevented from handling I/O directly by I/O instructions in them. For CPUs having explicit I/O instructions, such I/O protection is ensured by ...
197 197 votes
9 answers 9 answers
78.0k
78.0k views
Kathleen asked Sep 22, 2014
77,994 views
A $5$ stage pipelined CPU has the following sequence of stages:IF – instruction fetch from instruction memoryRD – Instruction decode and register readEX – Execute: ALU op...
32 32 votes
3 answers 3 answers
15.4k
15.4k views
gatecse asked Sep 21, 2014
15,373 views
Let $f(x)$ be the continuous probability density function of a random variable $x$, the probability that $a < x \leq b$, is :$f(b-a)$$f(b) - f(a)$$\int\limits_a^b f(x) dx...
72 72 votes
7 answers 7 answers
26.5k
26.5k views
Kathleen asked Sep 22, 2014
26,532 views
Suppose $n$ processes, $P_1, \dots P_n$ share $m$ identical resource units, which can be reserved and released one at a time. The maximum resource requirement of process ...