Cplw complement hl register (word) – Zilog Z80380 User Manual

Page 75

Advertising
background image

5-41

Z380

U

SER

'

S

M

ANUAL

Z

ILOG

DC-8297-03

CPLW

COMPLEMENT HL REGISTER (WORD)

CPLW [HL]

Operation:

HL(15-0)

NOT HL(15-0)

The contents of the HL register are complemented (ones complement); all 1s are changed
to 0 and vice-versa.

Flags:

S:

Unaffected

Z:

Unaffected

H:

Set

V:

Unaffected

N:

Set

C:

Unaffected

Addressing

Execute

Mode

Syntax

Instruction Format

Time

Note

CPLW [HL]

11011101 00101111

2

Advertising