sbc a,c

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

0x99 - u153

Description

Subtracts c 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,c",
  "opcode": "sbc",
  "operand": [
    "a",
    "c"
  ],
  "code": "99",
  "bytes": 1,
  "time": 4,
  "description": "Subtracts c and the carry flag from a.",
  "category": "Arithmetic",
  "subCategory": "SBC (SuBtract with Carry, er, borrow)"
}