rrc

Operands

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

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

Loading...

Variants

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

InstructionDescriptionFlagsBytesCycles
rrc b

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

CN=0P/V=PH=0ZS423