beautypg.com

Zilog Z08470 User Manual

Page 147

background image

UM008007-0715

Z80 Instruction Description

Z80 CPU

User Manual

135

Condition Bits Affected

S is not affected.

Z is not affected.

H is reset.

P/V is reset.

N is reset.

Example

The HL register pair contains

1114h

, the DE register pair contains

2225h

, the BC register

pair contains

0003h

, and memory locations contain the following data.

Upon the execution of an LDDR instruction, the contents of the register pairs and memory
locations now contain:

(1114h) contains A5h

(2225h) contains

C5h

(1113h) contains 36h

(2224h) contains

59h

(1112h) contains 88h

(2223h) contains

66h

HL contains

1111h

DE contains

2222h

DC contains

0000h

(1114h) contains A5h (2225h) contains

A5h

(1113h) contains 36h

(2224h) contains

36h

(1112h) contains 88h

(2223h) contains

88h

This manual is related to the following products: