Instruction Reference Manual 123
Description
Rotates to the right with the C flag the data in DE or HL. Bit 0 moves to the C flag, bits 1 through 15 move to
the next lowest-order bit position, and the C flag moves to bit 15 (see figure below).
Figure 5: The bit logic for the RR instruction.
RR DE
RR HL
Opcode Instruction Clocks Operation
FB RR DE 2 {DE,CF} = {CF,DE}
FC RR HL 2 {HL,CF} = {CF,HL}
Flags ALTD I/O
S Z L/V C F R SP S D
• • L • • •
15
0
CF