Z8018x
Family MPU User Manual
UM005004-0918
231
Table 46. I/O Instructions
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
INPUT
IN A,(m)
11 011 011
D
S
2
9
(Am)1,
→
Ar
• •
• •
•
•
<
m
>
m
→
A0~A7
Ar
→
A8~A16
IN g,(C)
11 101 101
D
S
2
9
(BC)1
→
gr
01 g 000
g = 110 : Only the
↑ ↑
R P
R
•
flags change
Cr
→
A0~A7
Br
→
A8~16
IN0 g,(m)**
11 101 101
D
S
3
12
(00m)g
→
gr
↑ ↑
R P
R
•
00 g 000
g = 110 : Only the
flags change
<
m
>
m
→
A0~A7
(00)
→
A8~A16
(5)
(6)
IND
11 101 101
D
S
2
12
(BC)
M
→
(HL)
M
X
↑
X X
↑
X
10 101 010
Hl2
→
1
→
Hl2
Br
→
1
→
Br
Cr
→
A0~A7
(6)
INDR
11 101 101
D
S
2
14 (Br
≠
0) (BC)1
→
(HL)
M
Q
HL2
→
1
→
HL8
Br-1
→
Br
X S
X X
↑
X
10 111 010
12 (BR =
0)
Repeat Q until
Br = 0
Cr
→
A0~A7
Br
→
A8
∼
A16
(5)
(6)
INI
11 101 101
D
S
2
12
(BC)1
→
(HL)
M
X
↑
X X
↑
X
10 100 010
HL
R
+ 1
→
HL
R
Br-1
→
Br
Cr
→
A0~A7
Br
→
A8~A16
(6)
Содержание 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...