# z80:Opcodes:LDDR

From Learn @ Cemetech

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.

## Contents

## 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