Logic Shift
Logic Shift Right Example
1 | 1 | 1 | 0 | 1 | 0 | 1 | 1 |
0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 |
Logic Shift Left Example
0 | 1 | 1 | 1 | 0 | 1 | 0 | 1 |
1 | 1 | 1 | 0 | 1 | 0 | 1 | 0 |
Circular Shift
Circular Shift Right
1 | 1 | 0 | 1 | 0 | 1 | 1 | 0 |
0 | 1 | 1 | 0 | 1 | 0 | 1 | 1 |
Circular Shift Left
1 | 1 | 0 | 1 | 0 | 0 | 0 | 1 |
1 | 0 | 1 | 0 | 0 | 0 | 1 | 1 |
Aritmatic Shift
Aritmatic Shift Right
1 | 1 | 0 | 1 | 1 | 0 | 0 | 1 |
1 | 1 | 1 | 0 | 1 | 1 | 0 | 0 |
Aritmatic Shift Left
1 | 0 | 1 | 0 | 1 | 1 | 0 | 1 |
0 | 1 | 0 | 1 | 1 | 0 | 1 | 0 |
Resources
- http://chortle.ccsu.edu/assemblytutorial/Chapter-12/ass12_6.html
- http://chortle.ccsu.edu/assemblytutorial/Chapter-12/ass12_2.html
- https://www.transtutors.com/homework-help/computer-science/computer-architecture/register-transfer-and-micro-operations/shift-micro-operations/
- https://en.wikipedia.org/wiki/Circular_shift