What is Interrupt?
Interrupt is a signal from a device attached to a computer or from a program within the computer that requires the operating system to stop and figure out what to do next.
Types of Interrupt
- External Interrupt
- Internal Interrupt
- Software Interrupt
External Interrupt
It comes from I/O device, from a thing device, from a circuit monitoring power supply or from any other external source.
Internal Interrupt
Caused by register overflow, attempt to divide zero, an invalid operation code, stack overflow and protection violation.
Software Interrupt
Initiated by executing an Instruction (INT or RST). Use by programmer to initiate an interrupt procedure at any desired point in the program.
It comes from I/O device, from a thing device, from a circuit monitoring power supply or from any other external source.
Internal Interrupt
Caused by register overflow, attempt to divide zero, an invalid operation code, stack overflow and protection violation.
Software Interrupt
Initiated by executing an Instruction (INT or RST). Use by programmer to initiate an interrupt procedure at any desired point in the program.
Comments
Post a Comment