There
are different classes of interrupts:-
(i)
Program
(ii)
Timer
(iii)
Input / Output (I/O)
(iv)
Hardware failure
(i)
Program: Generated by some condition that accurse 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.
(ii)
Timer: Generated by a timer within the processor. This
allows the operating system to perform certain functions on a regular basis.
(iii)
Input / Output (I/O): Generated by an I/O controller, to
signal a variety of error conditions.
(iv)
Hardware failure: Generated by a failure such as power
failure or memory parity error.
No comments:
Post a Comment