sbc hl,de

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

0xED52 - u60754

Description

Subtracts de and the carry flag from hl.

T States Bytes
15 2

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 hl,de",
  "opcode": "sbc",
  "operand": [
    "hl",
    "de"
  ],
  "code": "ED52",
  "bytes": 2,
  "time": 15,
  "description": "Subtracts de and the carry flag from hl.",
  "category": "Arithmetic",
  "subCategory": "SBC (SuBtract with Carry, er, borrow)"
}