RLCA
Rotate and Shift Group
Expansion:
Rotate Left Circular Accumulator
Usage:
dec {r}
The RLCA instruction rotates the bits in the A register one position to the left. The bit that is shifted out on the left (most significant bit) is wrapped around to the right (least significant bit), and this bit also sets the Carry flag (C).
Example
ld a, %11001001 ; Load A with the value %11001001
rlca ; Rotate left circular A
; After RLCA
; A = %10010011
; C (Carry flag) = 1