Question: Write an ARM program to reverse the order of bits in register R2. For example, if the starting pattern in R2 is 1110... 0100, the
Write an ARM program to reverse the order of bits in register R2. For example, if the starting pattern in R2 is 1110... 0100, the result left in R2 should be 0010... 0111. (Hint: Use shift and rotate operations.)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
