rr

Operands

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

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

Loading...

Variants

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

InstructionDescriptionFlagsBytesCycles
rr b

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

CN=0P/V=PH=0ZS423