Unit I II 8085 Interrupt ReadOnly
Unit I II 8085 Interrupt ReadOnly
Interrupt
Main routine
Go to
service
Go back
routine
Get EI
original RET
program
counter Service routine
VECTOR
Interrupt name Maskable Vectored
ADDRESS
INTR Yes No --
8085 INTERRUPTS
• The ‘EI’
EI instruction is a one byte instruction
and is used to Enable the maskable
interrupts.
• The ‘DI’
DI instruction is a one byte instruction
and is used to Disable the maskable
interrupts.
– The vectors for these interrupt fall in between the vectors for the
RST instructions. That’s why they have names like RST 5.5 (RST
5 and a half).
M 7.5
RST 6.5
M 6.5
RST 5.5
M 5.5
INTR
Interrupt
Enable
Flip Flop
M6.5
SDO
M5.5
M7.5
SDE
MSE
R7.5
XXX
Serial Data Out RST5.5 Mask
RST7.5 }
RST6.5 Mask 0 - Available
1 - Masked
Mask
Mask Set Enable
Enable Serial Data
0 - Ignore bits 0-2
0 - Ignore bit 7
1 - Set the masks according
1 - Send bit 7 to SOD pin
to bits 0-2
M7.5’
R 7.5
RST 7.5
ACKNOWLEDGE
MENT
MSE
Addressing Modes of 8085
• To perform any operation, we have to give the
corresponding instructions to the
microprocessor.
• In each instruction, programmer has to specify
3 things:
– Operation to be performed.
– Address of source of data.
– Address of destination of result.