Register indirect (reg) – Zilog Z80180 User Manual
Page 196
Z8018x
Family MPU User Manual
UM005003-0703
181
Figure 75. Register Direct — Bit Field Definitions
Register Indirect (REG)
The memory operand address is contained in one of the 16-bit General
Purpose Registers (BC, DE, and HL) as illustrated in Figure 76.
Figure 76. Register Indirect Addressing
g or g field '
8-bit Register
Register
B
C
D
E
H
L
A
—
0 0 1
0 1 0
0 1 1
1 0 0
1 0 1
1 1 0
1 1 1
16-bit Register
zz field
Register
0 0
0 1
1 0
1 1
B C
D E
H L
A F
ww field
Register
0 0
0 1
1 0
1 1
B C
D E
H L
S P
xx field
Register
0 0
0 1
1 0
1 1
B C
D E
I X
S P
yy field
Register
0 0
0 1
1 0
1 1
B C
D E
I Y
S P
0
Suffixed H and L ww,xx,yy,zz (ex. wwH,IXL) indicate upper and
lower 8-bit of the 16-bit register respectively.
B C
D E
H L
Operand
Memory