Classes of Interrupts:
- Program: Generated by some condition that occurs as a result of an instruction execution, such as arithmetic overflow, division by zero, attempt to execute an illegal machine instruction and reference outside a user’s allowed memory space.
- Timer: Generated by a timer within in the processor. This allows the operating system to perform certain functions on a regular basis.
- I/O: Generated by an I/O controller, to signal normal completion of an operation or to signal a variety of error condition.
- Hardware failure: Generated by a failure , such as power failure or memory parity error.