User's Manual

MSM80C154S/83C154S/85C154HVS
350
91. RLC A (Rotate accumulator and carry flag left)
00110011
70
Instruction code
Operation
Number of bytes
Number of cycles
Flags
(PSW)
Description
Example RLC A
Instruction code
: Byte 1
:
C AC F0 RS1 RS0 OV F1 P
••
:
:
:
The accumulator and the carry flag are connected, and all bits
are shifted by one bit to the left. The carry flag is shifted to the
accumulator LSB (bit 0), and the accumulator MSB (bit 7) is
shifted to the carry flag.
:
00110011
70
Byte 1
Accumulator
01101011
70
1
1
Before execution
Accumulator
11010111
70
After execution
:
1
Carry flag
0
Carry flag
C
70
Accumulator
Carry