rl

Operands

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

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

Loading...

Variants

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

InstructionDescriptionFlagsBytesCycles
rl b

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

CN=0P/V=PH=0ZS28
rl (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 the previous contents of the carry flag are copied to bit 0. The result is then stored in B.

CN=0P/V=PH=0ZS423
rl (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 the previous contents of the carry flag are copied to bit 0. The result is then stored in C.

CN=0P/V=PH=0ZS423
rl (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 the previous contents of the carry flag are copied to bit 0. The result is then stored in D.

CN=0P/V=PH=0ZS423
rl (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 the previous contents of the carry flag are copied to bit 0. The result is then stored in E.

CN=0P/V=PH=0ZS423
rl (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 the previous contents of the carry flag are copied to bit 0. The result is then stored in H.

CN=0P/V=PH=0ZS423
rl (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 the previous contents of the carry flag are copied to bit 0. The result is then stored in L.

CN=0P/V=PH=0ZS423
rl (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 the previous contents of the carry flag are copied to bit 0.

CN=0P/V=PH=0ZS423
rl (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 the previous contents of the carry flag are copied to bit 0. The result is then stored in A.

CN=0P/V=PH=0ZS423
rl (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 the previous contents of the carry flag are copied to bit 0. The result is then stored in B.

CN=0P/V=PH=0ZS423
rl (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 the previous contents of the carry flag are copied to bit 0. The result is then stored in C.

CN=0P/V=PH=0ZS423
rl (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 the previous contents of the carry flag are copied to bit 0. The result is then stored in D.

CN=0P/V=PH=0ZS423
rl (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 the previous contents of the carry flag are copied to bit 0. The result is then stored in E.

CN=0P/V=PH=0ZS423
rl (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 the previous contents of the carry flag are copied to bit 0. The result is then stored in H.

CN=0P/V=PH=0ZS423
rl (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 the previous contents of the carry flag are copied to bit 0. The result is then stored in L.

CN=0P/V=PH=0ZS423
rl (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 the previous contents of the carry flag are copied to bit 0.

CN=0P/V=PH=0ZS423
rl (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 the previous contents of the carry flag are copied to bit 0. The result is then stored in A.

CN=0P/V=PH=0ZS423