Interrupts: Intel 8085 Microprocessor
Interrupts: Intel 8085 Microprocessor
INTERRUPTS
Aashutosh Aryal
Contents
Introduction
1 A brief introduction to what interrupts are.
Categories of Interrupts
2 Categories of different interrupts present in
the Intel 8085 microprocessor.
2
INTERRUPTS
3
Interrupt Service Routine
4
Classification of the 8085
Interrupts
6
HARDWARE INTERRUPTS
7
SOFTWARE INTERRUPTS
8
VECTORED INTERRUPTS
9
NON-VECTORED INTERRUPTS
The interrupting device gives the address of the sub-routine for these
interrupts.
10
MASKABLE INTERRUPTS
INTR, RST 7.5, RST 6.5, RST 5.5 are maskable interrupts of the Intel 8085
microprocessor.
11
NON-MASKABLE INTERRUPTS
Maskable Interrupts are both edge triggered and level-triggered and are
used in power failure condition..
12
PRIORITY OF INTERRUPTS
Highest Lowest
13
INSTRUCTIONS FOR INTERRUPTS
The Intel 8085 microprocessor supports four instructions for the control of
interrupts. These instructions are:
EI DI RIM DIM
● EI - The EI instruction is used to enable RST 7.5, RST 6.5, RST 5.5, INTR
interrupts. After the interrupt is acknowledged, the interrupt flip-flop
resets and disables all the interrupts.
14
INSTRUCTIONS FOR INTERRUPTS
● SIM - The Set Interrupt Mask (SIM) instruction is used to set interrupt
mask and send serial output. It transfers the contents of the
accumulator to the interrupt control logic and serial I/O port.
● RIM - The Read Interrupt Mask (RIM) instruction is used to read the
status of hardware interrupts. It also reads the condition of the SID
(Serial Input Data) bit on the microprocessor.
15
Thank you!
16