Rotate and Shift

Rotate Shift instructions

RL Rotate bits left with Carry

Rotate bits left with carry

RLC Rotate bits left with Carry

Rotate bits left with carry

RR Rotate bits right with Carry

Rotate bits right with carry

RRC Rotate bits right with Carry

Rotate bits left with carry

SLA Shift bits left with Carry

Shift bits left with carry

SRA Rotate bits right with Carry

Rotate bits right with carry, bit 7 remains unchanged

SRL Rotate bits right with Carry

Rotate bits right with carry, bit 7 is reset

RLD

Rotate bit pairs in A and (HL) left

RRD

Rotate bit pairs in A and (HL) right