Siemens C500 User Manual page 95

Microcontroller family
Table of Contents

Advertisement

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 0C5 H (11000101 B ). The instruction
RR
leaves the accumulator holding the value 0E2 H (11100010 B ) with the carry
unaffected.
Operation:
RR
(An) ¬ (An + 1) n = 0-6
(A7) ¬ (A0)
Encoding:
0 0 0 0
Bytes:
1
Cycles:
1
Semiconductor Group
A
0 0 1 1
4-69
Instruction Set
C500 Family
1998-04-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents