Arithmetic // RLC (Rotate Left Circular)
0xCB06 - u51974
The contents of (hl) are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0.
| T States | Bytes |
|---|---|
| 15 | 2 |
S affected as defined
Z affected as defined
H reset
P/V detects parity
N reset
C affected as defined
{
"flags": {
"S": "affected as defined",
"Z": "affected as defined",
"H": "reset",
"P/V": "detects parity",
"N": "reset",
"C": "affected as defined"
},
"operation": "rlc (hl)",
"opcode": "rlc",
"operand": [
"(hl)"
],
"code": "CB06",
"bytes": 2,
"time": 15,
"description": "The contents of (hl) are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0.",
"category": "Arithmetic",
"subCategory": "RLC (Rotate Left Circular)"
}