Professional Documents
Culture Documents
INTERRUPTS IN 8085
PRESESENTATION BY:
SYEDA FATIMA HYDER SAFVI
INTERRUPTS IN 8085 MICROPROCESSOR
INTERRUPTS
When microprocessor receives any interrupt signal from peripheral(s) which are
requesting its services, it stops its current execution and program control is transferred
to a sub-routine by generating CALL signal and after executing sub-routine by
generating RET signal again program control is transferred to main program from
where it had stopped.
2
CLASSIFICATION OF 8085 INTERRUPTS
Interrupts can be classified into various categories based on different parameters:
3
Hardware and Software Interrupts
Hardware Interrupts
Software Interrupts
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.
4
Vectored and Non-Vectored Interrupts
Vectored Interrupts
Non-Vectored Interrupts
In this type of interrupt, the interrupt address is not known to the processor
so, the interrupt address needs to be sent externally by the device to
perform interrupts.
For example: INTR.
(INTR is the only non-vectored interrupt in 8085 microprocessor.)
5
Maskable and Non-Maskable Interrupts
Maskable Interrupts
Non-Maskable Interrupts
6
PRIORITY OF INTERRUPTS
RST7.5- It is a maskable interrupt, having the second highest priority among all
02 interrupts. When this interrupt is executed, the processor saves the content of
Interrupt Service Routine the PC register into the stack and branches to 003CH address.
(ISR) RST 6.5- It is a maskable interrupt, having the third highest priority among all
04 processor saves the content of the PC register into the stack and branches to
002CH address.
INTR- It is a maskable interrupt, having the lowest priority among all interrupts.
05 It can be disabled by resetting the microprocessor.
8
When INTR signal goes high, the following events can occur −
9
Thank you!
Any questions?