Shift operations include Logical Left, Logical Right, Arithmetic Left, Arithmetic Right, Rotate Left and Rotate Right. All operations require an integer operand that specify the number of bits to shift or rotate. Arithmetic shift differs from logical shift in that it saves the sign of the operand. Only right logical and arithmetic shift perform differently and only if the value is negative.
When you execute a shift operation, the following dialog appears:

The operation you executed is automatically selected, but you can change it if you like.
Enter the number of bits to shift or rotate.
Non-byte size operands are always aligned.
If operand size is set to “Continuous”, the whole document or selection is treated like a long bit sequence and selected shift operation is executed on the whole sequence. Little-endian encoding is assumed.
Continuous shift operation on multiple selection is not currently supported.
Scripts may execute bitwise operations using the IDocumentView.shiftOpAsync method.