1What are Binary shifts?
Moving the bits stored in a register a given number of places with the registers
2What is a Logical shift?
- Bits shifted out of the registers replaced with 0
- e.g: 10101111 Shifted left 3 place becomes 01111000
3What is Logical Shift Left (LSL)?
Multiples the number by 2 to the power of n
4What is Logical Shift Right (LSR)?
Divides the number by 2 to the power of n
5What is an Arithmetic shift?
- The sign of the number is preserved
- e.g: 10101111 Shifted right 3 places becomes 11110101
6What is a Left shift
- Bits are shifted to the left
- e.g: 10101111 Shifted left 3 places becomes 01111000
7What is a Right shift?
- Bits are shifted to the right
- e.g: 10101111 Shifted right 3 places becomes 1111010
8What is a Cyclic shift?
- No bits are lost, bits shifted out of one end of the register are introduced at the other end of the register
- e.g: 10101111 Shifted left 3 places becomes 01111101