Virtually all computers provide a mechanism by which other modules
(I/O, memory) may interrupt the normal processing of the processor.
Classes of Interrupts:
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.
No comments:
Post a Comment