sbc a,l

Arithmetic // SBC (SuBtract with Carry, er, borrow)

0x9D - u157

Description

Subtracts l and the carry flag from a.

T States Bytes
4 1

Condition Bits Affected

S affected as defined
Z affected as defined
H affected as defined
P/V detects overflow
N affected as defined
C affected as defined

source
{
  "flags": {
    "S": "affected as defined",
    "Z": "affected as defined",
    "H": "affected as defined",
    "P/V": "detects overflow",
    "N": "affected as defined",
    "C": "affected as defined"
  },
  "operation": "sbc a,l",
  "opcode": "sbc",
  "operand": [
    "a",
    "l"
  ],
  "code": "9D",
  "bytes": 1,
  "time": 4,
  "description": "Subtracts l and the carry flag from a.",
  "category": "Arithmetic",
  "subCategory": "SBC (SuBtract with Carry, er, borrow)"
}