Difference between revisions of "Z80:Opcodes:LDDR"

From Learn @ Cemetech
Jump to navigationJump to search
(Initial automated import)
 
(No difference)

Latest revision as of 22:05, 5 February 2016

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