Semiconductor Group
4-69
1998-04-01
Instruction Set
C500 Family
RR
A
Function:
Rotate accumulator right
Description:
The eight bits in the accumulator are rotated one bit to the right. Bit 0 is rotated into
the bit 7 position. No flags are affected.
Example:
The accumulator holds the value 0C5H (11000101B). The instruction
RR
A
leaves the accumulator holding the value 0E2H (11100010B) with the carry
unaffected.
Operation:
RR
(An)
¬
(An + 1) n = 0-6
(A7)
¬
(A0)
Bytes:
1
Cycles:
1
Encoding:
0 0 0 0
0 0 1 1