Z8018x Family
MPU User Manual
250
Table 50. 2nd Op Code Map Instruction Format: ED XX
ww (L0 = ALL)
BC
DE
HL
H
SP
G (L0 = 0~7)
B
D
H
B
D
HI
0000 0001 0010 0011 0100 0101
0110 0111
1000 1001 1010 1011 1100 1101 1110 1111
LO
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
0000
0001
0010
0011
0
1
2
3
IN0 g, (m)
IN g, (C)
LDI
CPI
INI
LDIR
CPIR
INIR
0
1
2
3
OUT0 (m),g
OUT (C),g
SBC HL, ww
LD (mn), ww
OTIM OTIM OUTI OTIR
R
0100
4
TST g
TST
(HL)
NEG
TST m TSTIO
m
4
0101
0110
0111
1000
1001
1010
1011
5
6
7
8
9
RETN
5
IM 0
IM 1
SLP
6
LD I,A LD A,I RRD
IN g, (C)
7
IN0 g, (m)
LDD LDDR
8
OUT0 (m), g
OUT (C) , g
CPD
IND
CPDR
INDR
9
A
B
ADC HL,ww
LD ww, (mn)
A
B
OTD OTD OUTD OTDR
M MR
1100
1101
1110
1111
C
D
E
F
TST g
MLT ww
RETI
C
D
E
F
IM 2
LDR, LD A,R RLD
A
0
1
2
3
4
5
6
7
8
9
A
B
C
D
E
F
C
E
L
A
C
E
L
A
g (L0 = 8~F)
UM005001-ZMP0400