Question: 3. (30 pts) Write an ARM assembly language instruction sequence to do the following. Check if any of r2, r3, r4, r5 holds a number
3. (30 pts) Write an ARM assembly language instruction sequence to do the following. Check if any of r2, r3, r4, r5 holds a number that, when multiplied with rl, produces a product equal to r. If so, then for the first such instance, put the register number in r6. If none of r2,... r5 holds such a number, then place 16 in r6. For example, if rO 6,rl-1, 2-9,r3-6, then, because r3rl-r0, put 3 in r6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
