The difference between logical shift right, arithmetic shift right, and rotate right
First remember that machine words are of fixed size. Say 4, and that your input is: Then pushing everything one position to the left gives: Question what to put as X? with a shift put 0 with rotate put a Now push everything one position to the right gives: Question what to put as X? … Read more