Search for question
Question

b)The barrel shifter can be used to manipulate signed and unsigned integers without using the multiplication instruction (MULS).Give one simple ARM instruction (not including multiplication) that, when executed, is equivalent

to the below mathematical operations. The ARM instruction must take care of signed numbers and must not change the status of the flags in the Current Program Status Register (CPSR). Justify your answer briefly (less than 50 words). i) Divide a value in r6 by 1024 and leave the result in register r7, ii) Divide a value in r3 by -1 (minus one) and leave the result in register

Fig: 1

Fig: 2

Fig: 3