CCommunity
The different types of interrupts present in 8086 microprocessors are given by:
1. Hardware Interrupts:
INTR:
- It provides a single interrupt request and is activated by I/O port
- This interrupt can be masked or delayed
- It is a level triggered interrupt
NMI
- It is a single pin non maskable hardware interrupt which cannot be disabled
- It is the highest priority interrupt in 8086 microprocessors
- After its execution, this interrupt generates a TYPE 2 interrupt
- IP is loaded from word location 00008 H and CS is loaded from the word location 0000A H
2. Software Interrupts:
- These are instructions that are inserted within the program to generate interrupts
- There are 256 software interrupts in 8086 microprocessors
Some important software interrupts are:
- (A) TYPE 0 corresponds to division by zero (0)
- (B) TYPE 1 is used for single step execution for debugging of program
- (C) TYPE 2 represents NMI and is used in power failure conditions
- (D) TYPE 3 represents a break-point interrupt
- (E) TYPE 4 is the overflow interrupt