RR
9-bit rotation to the right. The carry is copied into bit 7, and the bit leaving on the right is copied into the carry.
Syntax
RR op8
Allowed Instructions
RR A
RR B
RR C
RR D
RR E
RR H
RR L
RR (HL)
RR (IX+n)
RR (IY+n)
Effects
Carry becomes the bit leaving on the right, H and N flags are reset, P/V is parity, S and Z are modified by definition.
Uses
T-States
r denotes 8-bit register.
r | 8 |
(hl) | 15 |
(ix+X) | 23 |
(iy+X) | 23 |
See Also
page revision: 3, last edited: 15 Dec 2014 13:23