rla

Arithmetic // RLCA, RLA, RRCA, RRA

0x17 - u23

Description

The contents of a 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
4 1

Condition Bits Affected

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

source
{
  "flags": {
    "S": "unaffected",
    "Z": "unaffected",
    "H": "reset",
    "P/V": "unaffected",
    "N": "reset",
    "C": "affected as defined"
  },
  "operation": "rla",
  "opcode": "rla",
  "operand": [],
  "code": "17",
  "bytes": 1,
  "time": 4,
  "description": "The contents of a 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": "RLCA, RLA, RRCA, RRA"
}