How to calculate
A logical shift inserts zeros into the vacated bits. An arithmetic right shift repeats the original high bit. Bits shifted past the selected word width are discarded.
Worked example
Use Operand A5 · Shift count (decimal) 2 · Direction Logical right · Operand base Hexadecimal · Word width 8 bits. The result is 00101001.
Input and result notes
Inputs wrap to the chosen width. Enter the count in decimal from zero through the selected width.
MIT two’s complement and bitwise shifts