Xor s – Zilog Z08470 User Manual

Page 171

Advertising
background image

UM008007-0715

Z80 Instruction Description

Z80 CPU

User Manual

159

XOR s

Operation

A ← A

 s

Op Code

XOR

Operand

s

The s operand is any of r, n, (HL), (IX+d), or (lY+d), as defined for the analogous ADD
instructions. These possible Op Code/operand combinations are assembled as follows in
the object code:

1

0

1

1

0

r*

1

1

1

1

0

1

1

0

F6

1

0

1

1

0

1

1

0

B6

1

1

1

0

1

1

0

1

DD

1

0

1

1

0

1

1

0

B6

1

1

1

0

1

1

1

1

FD

1

0

1

1

0

1

1

0

B6

OR r*

OR n

OR (HL)

OR (IX+d)

OR (IY+d)

n

d

d

Advertising
This manual is related to the following products: