Table 42.
16-Bit Load (Continued)
Operation
Name
Mnemonics
Op Code
Load
LD (mn),HL
00 100 010
16-bit
<n>
Data
<m>
LD (mn),IX
11 011 101
00 100 010
<n>
<m>
LD (mn),IY
11 111 101
00 100 010
<n>
<m>
Table 43.
Block Transfer
Operation
Name
Mnemonics Op Code
Block
Transfer
CPD
11 101 101
Search
Data
10 101 001
CPDR
11 101 101
10 111 001
Addressing
Immed
Ext
Ind
Reg RegI Imp Rel
D
D
D
Addressing
Immed Ext Ind Reg RegI Imp Rel
S
S
S
S
Family MPU User Manual
Bytes States Operation
S
3
16
Hr→(mn + 1)
Lr→(mn)
S
4
19
IXHr-(mn + 1)
IXLr→(mn)
S
4
19
IYHr→(mn + 1)
IYLr→(mn)
Bytes States
Operation
2
12
Ar = (HL)
M
BC
-1→BC
R
HL
-1→HL
R
≠ 0 Ar ≠ (HL)
2
14
BC
R
12
BC
= 0 or Ar = (HL)
R
Q
Repeat Q until
Ar = (HL)
M
Z8018x
Flags
7 6 4 2
1 0
S Z H P/V N C
• • • •
• •
M
M
• • • •
• •
M
M
• • • •
• •
M
M
Flags
7 6
4 2
1 0
S Z
H P/V N C
(3)
(2)
↑ ↑
↑ ↑
S •
R
(3)
(2)
R
↑ ↑
↑ ↑
S •
M
M
Ar-(HL)
R
BC
-1-BC
R
R
HL
-1→HL
R
R
or BC
= 0
(3)
(2)
R
UM005004-0918
225
Need help?
Do you have a question about the Z8018 Series and is the answer not in the manual?