beautypg.com

Or s – Zilog Z08470 User Manual

Page 169

background image

UM008007-0715

Z80 Instruction Description

Z80 CPU

User Manual

157

OR s

Operation

A ← A ˅ s

Op Code

OR

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

This manual is related to the following products: