Question: 1 . Change Program 1 , replacing the last LSL instruction withADD r 2 , r 1 , r 1 , LSL # 2 and

1. Change Program 1, replacing the last LSL instruction withADD r2, r1, r1, LSL #2and rerun the simulation. What value is in register r2 when the code reachesthe infinite loop (the B instruction)? What is the ADD instruction actuallydoing?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!