Common Functions of Interrupts:
- An Interrupt transfers control to the interrupt service routine, generally through the interrupt vector table, which contains the addresses of all the service routines.
- Interrupt architecture have to save the address of the interrupted instruction and the contents of the processor status register.
- A software-produced interrupt may be raise either by an error or a user request (sometimes called a trap).
- An OS is interrupt driven.
- Arriving interrupts are disabled while another interrupt is being processed to prevent a lost interrupt.