Professional Documents
Culture Documents
Interrupts of 8086
Interrupts of 8086
Interrupt:Interrupts are the signals that cause the MPU to suspend its normal execution and transfer it to a special program called an interrupt handler. In 8086, there are three kind of interrupt source: 1. Hardware interrupt, caused by some external hardware device. 2. Software interrupts, which can be involved with the help of INT instruction 3. Conditional interrupts , which are mainly caused due to some error condition generated in 8086 by the execution of an instruction
Classification of interrupts
1. Predefined interrupts 2. User defined software interrupt 3. User defined hardware interrupt In 8086, 256 interrupts are classified in three sections:1. Type 0 to 4:Predefined interrupt 2. Type 5 to 31:reserved for future purpose by Intel 3. Type 32 to 255: user defined interrupt
Predefined interrupts
1. 2. 3. 4. 5. Type 0: Divide by zero interrupt Type 1: single step interrupt Type 2: NMI Type 3: Break point interrupt Type 4: overflow interrupt