beautypg.com

Sbc a, s – Zilog Z08470 User Manual

Page 165

background image

UM008007-0715

Z80 Instruction Description

Z80 CPU

User Manual

153

SBC A, s

Operation

A ← A – s – CY

Op Code

SBC

Operands

A, 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

0

1

r*

1

1

1

1

0

1

0

1

DE

n

1

0

1

1

0

1

0

1

9E

1

1

1

0

1

1

0

1

DD

1

0

1

1

0

1

0

1

9E

d

1

1

1

0

1

1

1

1

FD

1

0

1

1

0

1

0

1

9E

d

SBC A, r

SBC A, n

SBC A, (HL)

SBC A, (IX+d)

SBC A, (IY+d)

This manual is related to the following products: