Z8018x
Family MPU User Manual
232
UM005004-0918
INPUT
INIR
11 101 101
D
S
2
14 (Br
≠
0)
(BC)
I
→
(HL)
M
Q
HL
R
+ 1
→
HL
R
Br-f
→
Br
X S
X X
↑
X
10 110 010
12 (Br = 0)
Repeat Q until
Br = 0
Cr
→
A0~A7
Br
→
A8
→
A16
OUTPUT OUT (m)A
11 010 011
S
D
2
10
Ar
→
(Am)1
• •
• •
•
•
<
m
>
m
→
A0~A7
Ar
→
A8~A16
OUT (C),g
11 101 101
S
D
2
10
gr
→
(BC)1
• •
• •
•
•
01 g 001
Cr
→
A0~A7
Br
→
A8~A16
OUT0(m),g**
11 101 101
S
D
3
13
gr
→
(00m)1
• •
• •
•
•
00 g 001
m
→
A0~A7
<
m
>
00
→
A8~A16
(5)
(6)
OTDM**
11 101 101
S
D
2
14
(HL)
M
→
(00C)1
↑ ↑
↑
P
↑
↑
10 001 011
HL
R
-1
→
HL
R
Cr-1
→
Cr
Br-1
→
Br
Cr
→
A0~A7
00→
A8~A16
(6)
OTDMR**
11 101 101
S
D
2
16 (Br
≠
0)
(HL)
M
→
(00C)1
HL
R
-1-HL
R
Q
Cr~1
→
Cr
Br-1
→
Br
R S
R S
↑
R
10 011 011
14 (Br = 0)
Repeat Q until
Br = 0
Cr
→
A0~A7
00
→
A8~A16
(6)
Table 46. I/O Instructions (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
Summary of Contents for Z8018 Series
Page 1: ...www zilog com Z8018x Family MPU User Manual UM005004 0918...
Page 206: ...Z8018x Family MPU User Manual 192 UM005004 0918...
Page 220: ...Z8018x Family MPU User Manual 206 UM005004 0918...
Page 250: ...Z8018x Family MPU User Manual 236 UM005004 0918...
Page 260: ...Z8018x Family MPU User Manual 246 UM005004 0918...
Page 300: ...Z8018x Family MPU User Manual 286 UM005004 0918...
Page 306: ...Z8018x Family MPU User Manual 292 UM005004 0918...