Economy, asked by jatinlalw, 11 months ago

Difference between shift and rotation of pp for

Answers

Answered by Anonymous
7

Answer:

The number of bits to rotate or shift can be specified in a register or an immediate value. The rol and roli instructions provide left bit-rotation. roli uses an immediate value to specify the number of bits to rotate. The ror instructions provides right bit-rotation.

Answered by Anonymous
3

There is only really one difference between the shift and rotate instructions: rotate cycles the bits around going out one side and coming in the other, while shift rotates the bits out one side or the other leaving the space where the rotated bits where either unchanged or zeroed.

Similar questions