Lably
Skip to content

Interrupt

Signal to a computer processor emitted by hardware or software

  • 19 min read
  • 7 chapters

Related on Lably

Through Computer, State (computer science) and Function (computer programming)

Interrupts are commonly used by hardware devices to indicate time-sensitive electronic or physical state changes that require attention quickly. Interrupts are also commonly used to implement computer multitasking and system calls, especially in real-time computing. Systems that use interrupts in these ways are said to be interrupt-driven.

History

Hardware interrupts were introduced as an optimization, eliminating unproductive waiting time in polling loops waiting for external events. The first system to use this approach was the DYSEAC, completed in 1954, although earlier systems provided error trap functions.

The UNIVAC 1103A computer is generally credited with the earliest use of interrupts, in 1953. Earlier, on the UNIVAC I (1951) "Arithmetic overflow either triggered the execution of a two-instruction fix-up routine at address 0, or, at the programmer's option, caused the computer to stop." The IBM 650 (1954) incorporated the first occurrence of interrupt masking. The National Bureau of Standards DYSEAC (1954) was the first to use interrupts for I/O. The IBM 704 was the first to use interrupts for debugging, with a "transfer trap", which could invoke a special routine when a branch instruction was encountered. The MIT Lincoln Laboratory TX-2 system (1957) was the first to provide multiple levels of priority for interrupts.

Sign in to keep reading

6 more chapters are free with a Lably account.

More in Computing and communication