Professional Documents
Culture Documents
• Logical Shift is an operation that moves all binary digits a specified number of
positions either right or left.
• A Logic Shift simply moves a set of bits right or left & As bits are shifted, any
empty positions are replaced with a zero.
• There is clearly a limit to the number of shifts which can be carried out if the
binary number is stored in an 8-bit register. Eventually after a number of shifts
the register would only contain zeros
Left And Right Logical Shift:
•Q1. 1 0 0 1 1 1 0 0
•Shift the above given bit register to two places right and note down the effect
occurred.
•Q2. 0 0 0 1 1 1 0 0
•Shift the above given bit register to three places left and what is the
effect of this shift.