Zilog Z08470 User Manual

Page 185

Advertising
background image

UM008007-0715

Z80 Instruction Description

Z80 CPU

User Manual

173

CPL

Operation

A ← A

Op Code

CPL

Operands

None.

Description

The contents of the Accumulator (Register A) are inverted (one’s complement).

Condition Bits Affected

S is not affected.

Z is not affected.

H is set.

P/V is not affected.

N is set.

C is not affected.

Example

If the Accumulator contains

1011

0100

, then upon the execution of a CPL instruction, the

Accumulator contains

0100

1011

.

M Cycles

T States

4 MHz E.T.

1

4

1.00

0

0

0

1

1

1

1

1

2F

Advertising
This manual is related to the following products: