z80:Opcodes:RRC
From Learn @ Cemetech
Revision as of 22:33, 5 February 2016 by Maintenance script (talk | contribs) (Initial automated import)
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
RL,RLA,RLC,RLCA,RLD,RR,RRA,RRCA,RRD,SLA,SLL/SL1,SRA,SRL