Professional Documents
Culture Documents
8086 Interrupt
8086 Interrupt
INTERRUPT
Breaks the normal sequence of execution
Diverts to ISR (interrupt service routine)
Control is transferred back to main program
NESTED INTERRUPTS
Sequence of appearance of interrupts
Interrupt within interrupt
CPU – multiple interrupt processing capability
2 INTERRUPT PINS
NMI
non maskable interrupt
INTR
masked using interrupt flag (IF)
256 types from 00 to FF
Programmable interrupt controller to handle more
than one interrupt
INTERRUPT CYCLE
Two types
1. External interrupt:
- Generated outside processor
- Example: Keyboard
2. Internal interrupt:
- Generated inside processor
- Example: Divide by zero, Overflow
INTA PIN
If INT request
CPU checks IF Flag
If set
• sends acknowledge
Else
• Request ignored