Z8018x Family
MPU User Manual
234
Table 46. I/O Instructions (Continued)
Flags
Addressing
Immed Ext Ind Reg RegI Imp Rel Bytes States
7
6
4
2
1
0
Operation
Name
Mnemonics
Op Code
Operation
S
Z
H
P/V
N
C
OTIMR**
11 101 101
10 010 011
S
D
2
16 (Br ¹ 0)
(HL) ® (00C)
R
S
R
S
•
R
M
I
HL + 1® HL
R
R
14 (Br = 0)
Q
Cr + 1® Cr
Br-1® Br
Repeat Q until
Br = 0
Cr® A0~A7
00® A8~A16
(HL) ® (BC)
(5)
(6)
OUTD
11 101 101
10 101 011
S
D
2
12
X
•
X
X
•
X
M
1
HL -1® HL
R
R
Br-1® Br
Cr® A0~A7
Br® A8~A16
(5) Z = 1 : Br-1 = 0
Z = 0 : Br-1 ¹ 0
(6) N = 1: MSB of Data = 1
N = 0 : MSB of Data = 0
UM005001-ZMP0400