Table 43, Block transfer, Z8018x family mpu user manual – Zilog Z80180 User Manual
Page 241: Table 43. block transfer, Table 42. 16-bit load (continued)
Z8018x
Family MPU User Manual
UM005003-0703
225
Load
16-bit
Data
LD (mn),HL
00 100 010
D
S
3
16
Hr
®(mn + 1)
M
· · · ·
· ·
Lr
®(mn)
M
LD (mn),IX
11 011 101
D
S
4
19
IXHr-(mn + 1)
M
· · · ·
· ·
00 100 010
IXLr
®(mn)
M
LD (mn),IY
11 111 101
D
S
4
19
IYHr
®(mn + 1)
M
· · · ·
· ·
00 100 010
IYLr
®(mn)
M
Table 43. Block Transfer
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
Block
Transfer
Search
Data
(3)
(2)
CPD
11 101 101
S
S
2
12
Ar = (HL)
M
S
·
10 101 001
BC
R
-1
®BC
R
HL
R
-1
®HL
R
(3)
(2)
CPDR
11 101 101
S
S
2
14
BC
R
¹ 0 Ar ¹ (HL)
M
S
·
10 111 001
12
BC
R
= 0 or Ar = (HL)
M
Ar-(HL)
R
Q
BC
R
-1-BC
R
HL
R
-1
®HL
R
Repeat Q until
Ar = (HL)
M
or BC
R
= 0
(3)
(2)
Table 42. 16-Bit Load (Continued)
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