RRC
8-bit rotation to the right. the bit leaving on the right is copied into the carry, and into bit 7.
Syntax
RRC op8
Allowed Instructions
RRC A
RRC B
RRC C
RRC D
RRC E
RRC H
RRC L
RRC (HL)
RRC (IX+n)
RRC (IY+n)
Effects
The carry becomes the value leaving on the right, H and N are reset, P/V is parity, and 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