http://learn.cemetech.net/index.php?title=Z80:Opcodes:OTDR&feed=atom&action=historyZ80:Opcodes:OTDR - Revision history2024-03-29T05:12:16ZRevision history for this page on the wikiMediaWiki 1.34.0http://learn.cemetech.net/index.php?title=Z80:Opcodes:OTDR&diff=274&oldid=prevMaintenance script: Initial automated import2016-02-05T22:08:11Z<p>Initial automated import</p>
<p><b>New page</b></p><div><!-- Short summary of instruction --><br />
Reads from (HL) and writes to the (C) port. HL and B are then decremented. Repeats until B = 0.<br />
<br />
== Syntax ==<br />
<br />
<!-- Syntax for this instruction --><br />
<br />
OTDR<br />
<br />
== Effects ==<br />
<br />
<!-- What the instruction does to flags --><br />
C is preserved, Z is set, N is set, S, H, and P/V are undefined.<br />
<br />
== Uses ==<br />
<br />
<!-- What the instruction can be used for --><br />
<br />
== T-States ==<br />
<br />
{| class="wikitable"<br />
| B = 0 || 16<br />
|-<br />
| B != 0 || 21 <br />
|}<br />
<br />
== See Also ==<br />
<br />
<!-- Other instructions that are related to this one --><br />
[[Z80:Opcodes:IN|IN]],[[Z80:Opcodes:IND|IND]],[[Z80:Opcodes:INDR|INDR]],[[Z80:Opcodes:INI|INI]],[[Z80:Opcodes:INIR|INIR]],[[Z80:Opcodes:OUT|OUT]],[[Z80:Opcodes:OUTD|OUTD]],[[Z80:Opcodes:OUTI|OUTI]],[[Z80:Opcodes:OTIR|OTIR]]<br />
<br />
{{lowercase}}<br />
[[Category:Z80 Assembly]]<br />
[[Category:Z80 Heaven]]<br />
[[Category:Z80 Opcodes]]</div>Maintenance script