Question: In Arm Assembly, there are multiple commands to shift bits such as Logical Shift Left ( LSL ) , Logical Shift Right ( LSR )
In Arm Assembly, there are multiple commands to shift bits such as Logical Shift Left LSL Logical Shift Right LSR Arithmetic Shift Right ASR Rotate Right ROR etc. I understand that these can be used to shift the value in Rm for a maximum of bits, replacing shifted bits with s But, what I am still struggling to understand is in what scenario to use each of these different operations. For example, do we only use LSLLSR when we was to do bit multiplication?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
