Question: Question 1 Write more efficient code consisting of two ARM assembly instructions that are equivalent to the following instruction sequence MOV r7, r7, ROR #5

Question 1 Write more efficient code consisting of two ARM assembly instructions that are equivalent to the following instruction sequence MOV r7, r7, ROR #5 SUB r7, r2, r7 MOV r8, r8, LSL # ADD r8, r2, r8 Question 2 Write a single ARM assembly instruction which will multiply an integer stored in r10 by 17 and store the product in r4. (Note: you cannot use any of the explicit multiplication instructions; MLA, MUL, UMLAL, UMULL, SMLAL, or SMULL)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
