Jump to content

Vectored interrupt

From Wikipedia, the free encyclopedia
This is the current revision of this page, as edited by Heatingdevice (talk | contribs) at 16:18, 30 August 2024 (Undid revision 1196035936 by 2409:40E3:100F:BC7D:39BF:A220:FFC5:D05 (talk) -- Looks to be AI generated and doesn't really fit the writing style of a wikipedia article. Feel free to revert if you disagree.). The present address (URL) is a permanent link to this version.
(diff) ← Previous revision | Latest revision (diff) | Newer revision → (diff)

In computer science, a vectored interrupt is a processing technique in which the interrupting device directs the processor to the appropriate interrupt service routine. This is in contrast to a polled interrupt system, in which a single interrupt service routine must determine the source of the interrupt by checking all potential interrupt sources, a slow and relatively laborious process.

Implementation

[edit]

Vectored interrupts are achieved by assigning each interrupting device a unique code, typically four to eight bits in length.[1] When a device interrupts, it sends its unique code over the data bus to the processor, telling the processor which interrupt service routine to execute.

References

[edit]
  1. ^ Hamacher, Carl (2002). "INPUT/OUTPUT Organization". Computer Organization (5th ed.). McGraw Hill. p. 214. ISBN 0072320869.