A logical right shift by moves into position and fills the high positions with zero. Its unsigned interpretation is
Meanwhile the original unsigned interpretation decomposes as
By integer division, , exactly the unsigned quotient. Thus the source instruction puts the required quotient into r1. This is a proof from binary representation, rather than an assumption that every kind of right shift implements every kind of division. The displayed bit argument applies to , with endpoint operations implemented as a copy or zero where appropriate.

Articles by others on the same topic (0)

There are currently no matching articles.