http://learn.cemetech.net/index.php?title=Z80:Opcodes:LDDR&feed=atom&action=historyZ80:Opcodes:LDDR - Revision history2024-03-29T10:03:30ZRevision history for this page on the wikiMediaWiki 1.34.0http://learn.cemetech.net/index.php?title=Z80:Opcodes:LDDR&diff=268&oldid=prevMaintenance script: Initial automated import2016-02-05T22:05:48Z<p>Initial automated import</p>
<p><b>New page</b></p><div><!-- Short summary of instruction --><br />
Repeats the instruction [[Z80:Opcodes:LDD|LDD]] (Does a LD (DE),(HL) and decrements each of DE, HL, and BC) until BC=0. Note that if BC=0 before the start of the routine, it will try loop around until BC=0 again.<br />
<br />
== Syntax ==<br />
<br />
<!-- Syntax for this instruction --><br />
<br />
LDDR<br />
<br />
== Effects ==<br />
<br />
<!-- What the instruction does to flags --><br />
P/V is reset.<br />
<br />
== Uses ==<br />
<br />
<!-- What the instruction can be used for --><br />
Copying over sections of data.<br />
<br />
== T-States ==<br />
<br />
{| class="wikitable"<br />
| BC is not 0 || 21 <br />
|-<br />
| BC equals 0 || 16 <br />
|}<br />
<br />
== See Also ==<br />
<br />
<!-- Other instructions that are related to this one --><br />
[[Z80:Opcodes:LD|LD]],[[Z80:Opcodes:LDD|LDD]],[[Z80:Opcodes:LDI|LDI]],[[Z80:Opcodes:LDIR|LDIR]]<br />
<br />
{{lowercase}}<br />
[[Category:Z80 Assembly]]<br />
[[Category:Z80 Heaven]]<br />
[[Category:Z80 Opcodes]]</div>Maintenance script