Z8018x
Family MPU User Manual
UM005004-0918
77
disabling all maskable interrupts. The interrupt service routine normally
terminates with the EI (Enable Interrupts) instruction followed by the
RETI (Return from Interrupt) instruction, to reenable the interrupts.
Figure 37 depicts the use of INT0 (Mode 1) and RETI for the Mode 1
interrupt sequence.
Figure 37. INT0 Mode 1 Interrupt Sequence
Figure 38 illustrates INT0 Mode 1 Timing.
INT0 (Mode 1)
Main
Program
0
PCH
PCL
PCL
PCH
Interrupt Service
Program
0038H
RETI
→
(SP-2)
→
(SP-1)
→
EF1, EF2
←
(SP)
←
(SP+1)
E1 (1
→
1EF1, 1EF2)
INT0
(Mode 1)
Summary of Contents for Z8018 Series
Page 1: ...www zilog com Z8018x Family MPU User Manual UM005004 0918...
Page 206: ...Z8018x Family MPU User Manual 192 UM005004 0918...
Page 220: ...Z8018x Family MPU User Manual 206 UM005004 0918...
Page 250: ...Z8018x Family MPU User Manual 236 UM005004 0918...
Page 260: ...Z8018x Family MPU User Manual 246 UM005004 0918...
Page 300: ...Z8018x Family MPU User Manual 286 UM005004 0918...
Page 306: ...Z8018x Family MPU User Manual 292 UM005004 0918...