
RCL ROTATE THROUGH RCL
CARRY LEFT
Operation: | Flags Affected: |
(temp) +- COUNT | CF,OF |
do while (temp) *0 |
|
(tmpcf) +- (CF) |
|
(CF) +- |
|
(EA) +- (EA) * 2 + (tmpcf) |
|
(temp) +- |
|
if COU NT = 1 then |
|
if |
|
then (OF) |
|
else (OF) +- 0 |
|
else (OF) undefined |
|
Description: |
|
RCL destination, count
ReL (Rotate through Carry Left) rotates the bits in the byte or word destination operand to the left by the number of bits specified in the count operand. The carry flag (CF) is treated as "part of" the destination operand; that is, its value is rotated into the