beautypg.com

And s – Zilog Z08470 User Manual

Page 167

background image

UM008007-0715

Z80 Instruction Description

Z80 CPU

User Manual

155

AND s

Operation

A ← A ˄ s

Op Code

AND

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

0

1

0

r*

1

1

0

1

0

1

1

0

E6

1

0

0

1

0

1

1

0

A6

1

1

1

0

1

1

0

1

DD

1

0

0

1

0

1

1

0

A6

1

1

1

0

1

1

1

1

FD

1

0

0

1

0

1

1

0

A6

AND r*

AND n

AND (HL)

AND (IX+d)

AND (IY+d)

n

n

d

d

This manual is related to the following products: