qa.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Bit Shifting Instructions
   Instruction Summary  Contents  Index
──────────────────────────────────────────────────────────────────────────────
 
The ROTATE instructions cycle bit values through a register if done
repeatedly. The SHIFT instructions do not recycle bits shifted out.
 
Mnemonic      Name
RCL           Rotate Through Carry Left
RCR           Rotate Through Carry Right
ROL           Rotate Left
ROR           Rotate Right
SAL           Shift Arithmetic Left (identical to SHL)
SAR           Shift Arithmetic Right (preserves sign)
SHL           Shift Left
SHR           Shift Right (does not preserve sign)
                                    -♦-