z80:Opcodes:RR

From Learn @ Cemetech
Revision as of 22:08, 5 February 2016 by Maintenance script (talk | contribs) (Initial automated import)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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

RL,RLA,RLC,RLCA,RLD,RRA,RRC,RRCA,RRD,SLA,SLL/SL1,SRA,SRL