GATE / CS ARCHIVE

GATE CSE 1995 / QUESTION 1.3

Vectored interrupt information

Computer Organization & Architecture · Input/Output, DMA & Interrupts · Full GATE CSE 1995 paper

GATE 1995, Q1.3 1 mark · MCQ
Report issue

Input/Output, DMA & Interrupts

Question 1.3, GATE 1995: In a vectored interrupt, is the branch address fixed, supplied via an interrupt vector by the source, obtained from a processor register, or none?
Tap to enlarge
Your answer
Answer & solution

Answer: B (no official key was published)

A vectored interrupt provides an identifying vector that selects the appropriate service routine, avoiding software polling of all sources. In the model described by B, the interrupting device or controller supplies this vector and the CPU uses it to obtain the branch target. Some architectures instead assign fixed vectors internally, such as fixed-priority vectored inputs, so source-supplied information is not a universal definition. A fixed-vector interpretation can also fit A. Thus B is the intended external-vector model, with that architectural assumption made explicit.

Original paper, page 1