Table 37. Instruction Summary (Continued)
Instruction and Operation
OTIR
repeat {
({00h, BC[15:0]}) ← (HL)
B ← B – 1
HL ← HL+1
} while B ≠ 0
OTIRX
repeat {
({00h, DE[15:0]}) ← (HL)
BC ← BC – 1
HL ← HL + 1
} while BC ≠ 0
OUT (BC),r also OUT (C),r
({00h, BC[15:0]}) ← r
OUT (n),A
({00h, A, n}) ← A
OUT0 (n),r
({0000h, n}) ← r
OUTD
({00h, BC[15:0]}) ← (HL)
B ← B – 1
HL ← HL – 1
OUTD2
({00h, BC[15:0]}) ← (HL)
B ← B – 1
C ← C – 1
HL ← HL – 1
OUTI
({00h, BC[15:0]}) ← (HL)
B ← B – 1
HL ← HL+1
Note: *This flag value is a function of the result of the affected operation.
— = No Change.
0 = Set to 0.
1 = Set to 1.
V = Set to 1 if overflow occurs.
X = Undetermined.
P = Set to the parity of the result (0 if odd parity, 1 if even parity).
IEF2 = The value of Interrupt Enable Flag 2.
UM007714-0908
Address Mode
Opcode(s)
Dest Source
(Hex)
ED B3
ED C3
ED 41–79
D3
ED 01–39
ED AB
ED AC
ED A3
®
eZ80
CPU
User Manual
Flags Affected
S
Z
H P/V N
C
—
1
—
—
*
—
—
1
—
—
*
—
— — —
—
— —
— — —
—
— —
— — —
—
— —
—
*
—
—
*
—
—
*
—
—
*
—
—
*
—
—
*
—
CPU Instruction Set
71
Need help?
Do you have a question about the eZ80 and is the answer not in the manual?
Questions and answers