Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>eZ80</strong> <strong>CPU</strong><br />
User Manual<br />
99<br />
OTIM<br />
Output and Increment HL<br />
Operation<br />
Description<br />
(0,C) ← (HL)<br />
B ← B – 1<br />
C ← C + 1<br />
HL ← HL + 1<br />
The contents of the memory location specified by the HL are loaded into the<br />
<strong>CPU</strong>. This byte is then output to the I/O address specified by the C register with<br />
address (15-8) set to zero. The C and HL registers are incremented and the B<br />
register decrements.<br />
ADL mode affects operations with the HL register. ADL mode may be<br />
overridden with the .S or .L suffix.<br />
Condition Bits Affected<br />
S<br />
Z<br />
H<br />
P/V<br />
N<br />
C<br />
Not affected.<br />
Set if B = 0; reset otherwise.<br />
Not affected.<br />
Not affected.<br />
Set.<br />
Not affected.<br />
Mnemonic Operands ADL Mode Cycles Op Codes<br />
OTIM — X 5 ED, 83<br />
OTIM.S — 1 6 52, ED, 83<br />
OTIM.L — 0 6 49, ED, 83<br />
UM007701-1100