rlc

Operands

rlc r | rlc (rr) | rlc (ii+dd),r | rlc (ii+dd)

The contents of B are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0.

Loading...

Variants

Every form of rlc the assembler accepts. The cycles column counts clock cycles, written as taken/not taken for the conditional forms.

InstructionDescriptionFlagsBytesCycles
rlc b

The contents of B are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0.

CN=0P/V=PH=0ZS28
rlc c

The contents of C are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0.

CN=0P/V=PH=0ZS28
rlc d

The contents of D are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0.

CN=0P/V=PH=0ZS28
rlc e

The contents of E are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0.

CN=0P/V=PH=0ZS28
rlc h

The contents of H are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0.

CN=0P/V=PH=0ZS28
rlc l

The contents of L are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0.

CN=0P/V=PH=0ZS28
rlc (hl)

The contents of (HL) are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0.

CN=0P/V=PH=0ZS215
rlc a

The contents of A are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0.

CN=0P/V=PH=0ZS28
rlc (ix+dd),b undocumented

The contents of the memory location pointed to by IX plus dd are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0. The result is then stored in B.

CN=0P/V=PH=0ZS423
rlc (ix+dd),c undocumented

The contents of the memory location pointed to by IX plus dd are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0. The result is then stored in C.

CN=0P/V=PH=0ZS423
rlc (ix+dd),d undocumented

The contents of the memory location pointed to by IX plus dd are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0. The result is then stored in D.

CN=0P/V=PH=0ZS423
rlc (ix+dd),e undocumented

The contents of the memory location pointed to by IX plus dd are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0. The result is then stored in E.

CN=0P/V=PH=0ZS423
rlc (ix+dd),h undocumented

The contents of the memory location pointed to by IX plus dd are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0. The result is then stored in H.

CN=0P/V=PH=0ZS423
rlc (ix+dd),l undocumented

The contents of the memory location pointed to by IX plus dd are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0. The result is then stored in L.

CN=0P/V=PH=0ZS423
rlc (ix+dd)

The contents of the memory location pointed to by IX plus dd are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0.

CN=0P/V=PH=0ZS423
rlc (ix+dd),a undocumented

The contents of the memory location pointed to by IX plus dd are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0. The result is then stored in A.

CN=0P/V=PH=0ZS423
rlc (iy+dd),b undocumented

The contents of the memory location pointed to by IY plus dd are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0. The result is then stored in B.

CN=0P/V=PH=0ZS423
rlc (iy+dd),c undocumented

The contents of the memory location pointed to by IY plus dd are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0. The result is then stored in C.

CN=0P/V=PH=0ZS423
rlc (iy+dd),d undocumented

The contents of the memory location pointed to by IY plus dd are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0. The result is then stored in D.

CN=0P/V=PH=0ZS423
rlc (iy+dd),e undocumented

The contents of the memory location pointed to by IY plus dd are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0. The result is then stored in E.

CN=0P/V=PH=0ZS423
rlc (iy+dd),h undocumented

The contents of the memory location pointed to by IY plus dd are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0. The result is then stored in H.

CN=0P/V=PH=0ZS423
rlc (iy+dd),l undocumented

The contents of the memory location pointed to by IY plus dd are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0. The result is then stored in L.

CN=0P/V=PH=0ZS423
rlc (iy+dd)

The contents of the memory location pointed to by IY plus dd are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0.

CN=0P/V=PH=0ZS423
rlc (iy+dd),a undocumented

The contents of the memory location pointed to by IY plus dd are rotated left one bit position. The contents of bit 7 are copied to the carry flag and bit 0. The result is then stored in A.

CN=0P/V=PH=0ZS423