Example – Zilog Z08470 User Manual

Page 249

Advertising
background image

UM008007-0715

Z80 Instruction Description

Z80 CPU

User Manual

237

P/V is set if the parity of the Accumulator is even after an operation; otherwise, it is reset.

N is reset.

C is not affected.

Example

The HL register pair contains

5000h

and the Accumulator and memory location

5000h

contain the following data.

Upon the execution of an RLD instruction, the Accumulator and memory location

5000h

now contain:

0

1

1

1

0

0

1

1

7

6

4

1

0

2

5

3

Accumulator

0

0

1

0

1

0

1

0

7

6

4

1

0

2

5

3

(5000h)

0

1

1

1

1

0

1

0

7

6

4

1

0

2

5

3

Accumulator

0

0

1

1

0

0

0

1

7

6

4

1

0

2

5

3

(5000h)

Advertising
This manual is related to the following products: