
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.
10 101
r*
11 1 10101
DE
n
10 1 10101
9E
11 1 01101
DD
10 1 10101
9E
d
11 1 01111
FD
10 1 10101
9E
d
SBC A, r
SBC A, n
SBC A, (HL)
SBC A, (IX+d)
SBC A, (IY+d)
Kommentare zu diesen Handbüchern