Z8018x Family
MPU User Manual
247
Op Code Map
Table 48. 1st Op Code Map Instruction Format: XX
ww (L0 = ALL)
L0 = 0~7
BC
DE
HL
H
SP
BC
NZ
DE
HL
P0
AF
P
zz
f
g (LO = 0~7)
NC
10H
B
D
(HL)
B
D
H
(HL)
00H
20H
1110
E
30H
1111
F
v
0000
0
0001 0010 0011 0100 0101 0110 0111 1000
1001 1010 1011 1100 1101
HI
1
2
3
4
5
6
7
8
9
A
B
C
D
LO
B
0000
0
N0P
DJNZj JR
JR
note 1)
RET f
0
NZ,j NC,j
C
D
0001
0010
1
2
LD ww, mn
LD (ww), A
POP zz
JP f, mn
1
2
LD g, s
ADD
A,s
SUB s AND s OR s
LD
LD
(mn) (mn),
,HL
A
E
0011
3
INC ww
JP mn OUT
(m),A
EX(SP), DI
HL
3
H
L
0100
0101
4
5
6
INC g
note1
note1
CALL f, mn
PUSH zz
4
5
6
DEC g
LD g,m
(HL) 0110
note1 note2
HALT note2
note2 note2 note2 ADD SUB m AND m OR m
A,m
A
B
0111
1000
7
8
RLCA
RLA DAA SCF
RST v
RET f
7
EXAF,A JR j
F’
JR Z,j JR C,j
8
9
C
D
E
1001
1010
1011
9
ADD HL, ww
LD A,(ww)
DEC ww
RET
EXX
JP(HL) LD
SP,
HL
LD g, s
ADC
A,s
SBC
A,s
XOR s CP s
A
B
LD
HL,
(mn)
LD A,
(mn)
JP f, mn
A
B
Table2 IN A(m) EXDE,H EI
L
H
L
1100
1101
C
D
INC g
CALL f, mn
C
D
DEC g
CALL note3
mn
Table3 note3
(HL) 1110
1111
E
F
LD g,m
note2
note2
note2 note2 note2 ADC SBC A,m XOR m CP m
A,m
E
A
RRCA RRA CPL CCF
RST v
F
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
C
E
L
A
C
E
L
A
Z
C
PE
28H
M
f
g(L0 = 8~F)
08H
18H
3BH
v
LO = 8~F
UM005001-ZMP0400