rl d

Arithmetic // RLC (Rotate Left Circular)

0xCB12 - u51986

Description

The contents of d are rotated left one bit position. The contents of bit 7 are copied to the carry flag and the previous contents of the carry flag are copied to bit 0.

T States Bytes
8 2

Condition Bits Affected

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

source
{
  "flags": {
    "S": "affected as defined",
    "Z": "affected as defined",
    "H": "reset",
    "P/V": "detects parity",
    "N": "reset",
    "C": "affected as defined"
  },
  "operation": "rl d",
  "opcode": "rl",
  "operand": [
    "d"
  ],
  "code": "CB12",
  "bytes": 2,
  "time": 8,
  "description": "The contents of d are rotated left one bit position. The contents of bit 7 are copied to the carry flag and the previous contents of the carry flag are copied to bit 0.",
  "category": "Arithmetic",
  "subCategory": "RLC (Rotate Left Circular)"
}