Table 46. i/o instructions (continued) – Zilog Z80180 User Manual
Page 248

Z8018x
Family MPU User Manual
232
UM005003-0703
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
®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
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