Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started