z80:Opcodes:RLC

From Learn @ Cemetech
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.

8-bit rotation to the left. The bit leaving on the left is copied into the carry, and to bit 0.

Syntax

   RLC op8

Allowed Instructions

   RLC A
   RLC B
   RLC C
   RLC D
   RLC E
   RLC H
   RLC L
   RLC (HL)
   RLC (IX+n)
   RLC (IY+n)

Effects

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,RLCA,RLD,RR,RRA,RRC,RRCA,RRD,SLA,SLL/SL1,SRA,SRL