Z8018x
Family MPU User Manual
226
UM005004-0918
CPI
11101101
S
S
2
12
Ar-(HL)
M
↑ ↑
↑ ↑
S
•
10100001
BC
R
-1
→
BC
R
HL
R
+ 1
→
HL
R
(3)
(2)
CPIR
11101101
S
S
2
14
BC
R
≠
0 Ar*(HL)
M
↑ ↑
↑ ↑
S
•
10110001
12
BC
R
= 0 or Ar = (HL)
M
Ar-(HL)
M
Q
BC
R
-1
→
BC
R
HL
R
+ 1
→
HL
R
Repeat Q until
Ar = (HL)
M
or BC
R
= 0
(2)
LDD
11 101 101
S/D
2
12
(HL)
M
→
(DE)
M
• •
R
↑
R
•
10 101 000
BC
R
-1
→
BC
R
DE
R
-1
→
DE
R
HL
R
-1
→
HL
R
LDDR
11 101 101
S/D
2
14(BC
R
≠
0)
(HL)
M
→
(DE)
M
BC
R
-1
→
BC
R
Q
DE
R
-1
→
DE
R
HL
R
-1
→
HL
R
• •
R R
R
•
10 111 000
12(BC
R
=
0)
Repeat Q until
BC
R
= 0
(2)
LDI
11 101 101
S/D
2
12
(HL)
M
→
DE)
R
• •
R
↑
R
•
10 100 000
BC
R
-1
→
BC
R
DE
R
+ 1
→
DE
R
HL
R
+ 1
→
HL
R
LDIR
11 101 101
S/D
2
14(BC
R
≠
0)
(HL)
M
→
(DE)
M
Q
BC
R
-1
→
BC
R
DE
R
+ 1
→
DE
R
HL
R
+ 1
→
HL
R
• •
R R
R
•
10 110 000
12(BC
R
= 0)
Repeat Q until
BC
R
= 0
(2) P/V = 0: BC
R
-1 = 0
P/V = 1: BC
R
-1
≠
0
(3) Z = 1: Ar = (HL)
M
Z = 0 :Ar
≠ (
HL)
M
Table 43. Block Transfer (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
Содержание Z8018 Series
Страница 1: ...www zilog com Z8018x Family MPU User Manual UM005004 0918...
Страница 206: ...Z8018x Family MPU User Manual 192 UM005004 0918...
Страница 220: ...Z8018x Family MPU User Manual 206 UM005004 0918...
Страница 250: ...Z8018x Family MPU User Manual 236 UM005004 0918...
Страница 260: ...Z8018x Family MPU User Manual 246 UM005004 0918...
Страница 300: ...Z8018x Family MPU User Manual 286 UM005004 0918...
Страница 306: ...Z8018x Family MPU User Manual 292 UM005004 0918...