Question: 5 points) Given the walking bit assembly routine below. Assume our ARM processer has a clock frequency of 80MHz. Assume a branch takes one clock

 5 points) Given the walking bit assembly routine below. Assume our

5 points) Given the walking bit assembly routine below. Assume our ARM processer has a clock frequency of 80MHz. Assume a branch takes one clock if the branch is not taken and 3 clocks if the branch is taken. Calculate the time this routine takes in microseconds. Assume R0 = 0x20002000; AREA test, CODE, READONLY EXPORT t1 ENTRY PROC MOV R1, #1 STR R1, [RO] MOVS R1,R1, LSL 1 BNC loop STR R1,[RO] _c1 loop ;logical shift left one bit ; branch if not carry BX LR ENDP END 4. (10 points) Name one code change to the program above to make it faster

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 Databases Questions!