ex de,hl

Register and Data manipulation // EX (EXchange)

0xEB - u235

Description

Exchanges the 16-bit contents of de and hl.

T States Bytes
4 1

Condition Bits Affected

None.

source
{
  "flags": {
    "S": "unaffected",
    "Z": "unaffected",
    "H": "unaffected",
    "P/V": "unaffected",
    "N": "unaffected",
    "C": "unaffected"
  },
  "unaffected": true,
  "operation": "ex de,hl",
  "opcode": "ex",
  "operand": [
    "de",
    "hl"
  ],
  "code": "EB",
  "bytes": 1,
  "time": 4,
  "description": "Exchanges the 16-bit contents of de and hl.",
  "category": "Register and Data manipulation",
  "subCategory": "EX (EXchange)"
}