Answered step by step
Verified Expert Solution
Question
1 Approved Answer
For the following function i. squareroot MOV r1, r0 [1] ii. MOVS r3, #0X01 [1] iii. ADD r0, r3, r1, LSR #4 [1] iv. MOVS
For the following function i. squareroot MOV r1, r0 [1] ii. MOVS r3, #0X01 [1] iii. ADD r0, r3, r1, LSR #4 [1] iv. MOVS r2, #0x10 [1] v. B chck [2-4] vi. loop MLA r3, r3, r0 [2-12]*16 viii. LSRS r0, r3, #1 [1]*16 ix. SUBS r2, r2, #1 [1] * 16 x. chck CMP r2, #0x000 [1] *17 xi. BNE loop [2-4] * 17 xii. BX lr [2-4] a. Find the total execution time for the program on an ARM Cortex M3 processor. b. Modify your program for performance debugging and list any performance improvements. c. If the value of NVIC_ST_CURRENT_R register is 0x1F2F3F before the execution of the program, find the value in the register after the program is executed
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