adc hl,sp

Arithmetic // ADC (ADd with Carry)

0xED7A - u60794

Description

Adds hl and the carry flag to 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": "adc hl,sp",
  "opcode": "adc",
  "operand": [
    "hl",
    "sp"
  ],
  "code": "ED7A",
  "bytes": 2,
  "time": 15,
  "description": "Adds hl and the carry flag to hl.",
  "category": "Arithmetic",
  "subCategory": "ADC (ADd with Carry)"
}