Siemens C500 User Manual page 94

Microcontroller family
Table of Contents

Advertisement

RLC
A
Function:
Rotate accumulator left through carry flag
Description:
The eight bits in the accumulator and the carry flag are together rotated one bit to
the left. Bit 7 moves into the carry flag; the original state of the carry flag moves into
the bit 0 position. No other flags are affected.
Example:
The accumulator holds the value 0C5 H (11000101 B ), and the carry is zero. The
instruction
RLC
leaves the accumulator holding the value 8A H (10001010B) with the carry set.
Operation:
RLC
(An + 1) ¬ (An) n = 0-6
(A0) ¬ (C)
(C) ¬ (A7)
Encoding:
0 0 1 1
Bytes:
1
Cycles:
1
Semiconductor Group
A
0 0 1 1
4-68
Instruction Set
C500 Family
1998-04-01

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents