z80:Opcodes:LDDR

From Learn @ Cemetech
Revision as of 18:05, 5 February 2016 by Maintenance script (talk | contribs) (Initial automated import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Repeats the instruction 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.

Syntax

   LDDR

Effects

P/V is reset.

Uses

Copying over sections of data.

T-States

BC is not 0 21
BC equals 0 16

See Also

LD,LDD,LDI,LDIR