Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
INTERRUPTS
1
INTERRUPTS
INTERRUPT CLASSIFICATION
8085 INTERRUPTS
TRAP
RST7.5
RST6.5
RST 5.5
INTR
8085
INTA
Interrupt Name
Maskable
Vectored
INTR
Yes
No
RST 5.5
Yes
Yes
RST 6.5
Yes
Yes
RST 7.5
Yes
Yes
TRAP
No
Yes
The
Calculation
Vector
Address
INTR
--
--
4.5x8=36
0024H
RST 5.5
5.5x8=44
002CH
RST 6.5
6.5x8=52
0034H
RST 7.5
7.5x8=60
003CH
Interrupt Name
Priorit
Name
Method
TRAP
Edge &
1st
RST 4.5
RST 7.5
RST 6.5
RST 5.5
INTR
Level
Sensitive
Edge
Sensitive
Level
Sensitive
Level
Sensitive
Level
Sensitive
Highest
2nd
3
rd
th
5th
Lowest
Maskable
No
Yes
Yes
Yes
Yes
Masking
Vector
Method
Address
None
0024H
DI / EI
003CH
SIM
DI / EI
0034H
SIM
DI / EI
002CH
SIM
Pin
( INTR &
INTA)
-8
SOFTWARE INTERRUPT
Vector
Address
RST 0
CALL 0000H
RST 1
CALL 0008H
RST 2
CALL 0010H
RST 3
CALL 0018H
RST 4
CALL 0020H
RST 5
CALL 0028H
RST 6
CALL 0030H
RST 7
CALL 0038H
4.
10
6.
7.
8.
11
5 4
SDO
SDE
XXX
R7.5
MSE
M7.5
M6.5
M5.5
Not Used
RST5.5 Mask
RST6.5 Mask
RST7.5 Mask
0 - Available
1 - Masked
12
Example
MSE Mask Set Enable
RST 6.5 Mask
RST 5.5 & 7.2 Unmask
RST FF Dont Reset
Serial Data Igonered
SDO
SDE
XXX
R7.5
MSE
M7.5
M6.5
M5.5
0 0 0 0 1 0 1 0
Contents of accumulator are: 0AH
EI
MVI A, 0A
SIM
13
Example
MSE Mask Set Disable
RST FF Reset
Serial Data Enable
Serial Data output is 0
SDO
SDE
XXX
R7.5
MSE
M7.5
M6.5
M5.5
0 1 0 1 0 1 0 0
Contents of accumulator are: 54H
14
5 4
SDI
P7.5
P6.5
P5.5
IE
M7.5
M6.5
M5.5
Serial Data In
RST5.5 Interrupt Pending
RST6.5 Interrupt Pending
RST7.5 Interrupt Pending
RST5.5 Mask
RST6.5 Mask
RST7.5 Mask
0 - Available
1 - Masked
Interrupt Enable
Value of the Interrupt Enable
Flip Flop
Set 1
Reset - 0
15
Example
Interrupt Enable
RST 5.5 & 6.5 Masked
RST 7.5 Pending
Serial Input Data is 0
SID
P7.5
P6.5
P5.5
IE
M7.5
M6.5
M5.5
0 1 0 0 1 0 1 1
Contents of accumulator are: 4BH
16