rld

Arithmetic // RLD (Rotate Left bcd Digit)

0xED6F - u60783

Description

The contents of the low-order nibble of (hl) are copied to the high-order nibble of (hl). The previous contents are copied to the low-order nibble of a. The previous contents are copied to the low-order nibble of (hl).

T States Bytes
18 2

Condition Bits Affected

S affected as defined
Z affected as defined
H reset
P/V detects parity
N reset
C unaffected

source
{
  "flags": {
    "S": "affected as defined",
    "Z": "affected as defined",
    "H": "reset",
    "P/V": "detects parity",
    "N": "reset",
    "C": "unaffected"
  },
  "operation": "rld",
  "opcode": "rld",
  "operand": [],
  "code": "ED6F",
  "bytes": 2,
  "time": 18,
  "description": "The contents of the low-order nibble of (hl) are copied to the high-order nibble of (hl). The previous contents are copied to the low-order nibble of a. The previous contents are copied to the low-order nibble of (hl).",
  "category": "Arithmetic",
  "subCategory": "RLD (Rotate Left bcd Digit)"
}