Interrupts in 8085 Microprocessor
Interrupts in 8085 Microprocessor
Software Interrupts are those which are inserted in between the program
which means these are mnemonics of microprocessor. There are 8 software
interrupts in 8085 microprocessor. They are – RST 0, RST 1, RST 2, RST 3,
RST 4, RST 5, RST 6, RST 7.
RST 5.5 2C H
RST 6.5 34 H
RST 7.5 3C H
RST 0 00 H
RST 1 08 H
RST 2 10 H
RST 3 18 H
RST 4 20 H
RST 5 28 H
RST 6 30 H
RST 7 38 H
Priority of Interrupts –
When microprocessor receives multiple interrupt requests simultaneously, it
will execute the interrupt service request (ISR) according to the priority of the
interrupts.
Interrupts in 8086 microprocessor
The value of flag register is pushed into the stack. It means that first the value of SP
(Stack Pointer) is decremented by 2 then the value of flag register is pushed to the
memory address of stack segment.
The value of starting memory address of CS (Code Segment) is pushed into the stack.
The value of IP (Instruction Pointer) is pushed into the stack.
IP is loaded from word location (Interrupt type) * 04.
CS is loaded from the next word location.
Interrupt and Trap flag are reset to 0.
The different types of interrupts present in 8086 microprocessor are given by: