sbc a,e

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

0x9B - u155

Description

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