Z8018x
Family MPU User Manual
UM005004-0918
235
Special Control Instructions
Table 47. Special Control Instructions
Operation
Name
Mnemonics
Op Code
Addressing
Bytes States
Operation
Flags
7 6 4 2
1 0
Immed Ext Ind Reg Regi Imp
Rel
S Z H P/V N C
Special
Function
DAA
00 100 111
S/D
1
4
Decimal
Adjust
Accumulator
↑ ↑ ↑
P
• ↑
Carry
Control
CCF
00 111 111
1
3
C
→
C
• •
R
•
R
↑
SCF
00 110 111
1
3
1
→
C
• •
R
•
R S
CPU
Control
DI
11 110 011
1
3
0
→
IEF1,0
→
IEF2 (7)
• • • •
• •
EI
11 111 011
1
3
1
→
IEF1,1
→Ι
EF2 (7)
• • • •
• •
HALT
01 110 110
1
3
CPU halted
• • • •
• •
IM0
11 101 101
2
6
Interrupt
• • • •
• •
01 000 110
Mode 0
IM1
11 101 101
2
6
Interrupt
• • • •
• •
01 010 110
Mode 1
IM2
11 101 101
2
6
Interrupt
• • • •
• •
01 011 110
Mode 2
NOP
00 000 000
1
3
No operation
• • • •
• •
SLP**
11 101 101
2
8
Sleep
• • • •
• •
01 110 110
7) Interrupts are not sampled at the end of DI or EI.
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...