Question: For the assemble code above, a. Calculate the exact clock rate in MHZ of you ARM core processor. To do this you will have to

 For the assemble code above, a. Calculate the exact clock rate

For the assemble code above,

a. Calculate the exact clock rate in MHZ of you ARM core processor. To do this you will have to look up the number of clock cycles of each instruction. Note: The microcontroller used is a STM32F401.

b. If you were to change the name of the asm file (or add a new .s file), where in the code would you have to edit to make this work?

Note: The microcontroller used is a STM32F401.

AREA text, CODE, READONLY delay_asm PROC EXPORT delay_asm LDR R0, =0x00800000 MOV R1,#1 LOOP SUBS RO, R1 BNE LOOP BX LR ENDP ALIGN END AREA text, CODE, READONLY delay_asm PROC EXPORT delay_asm LDR R0, =0x00800000 MOV R1,#1 LOOP SUBS RO, R1 BNE LOOP BX LR ENDP ALIGN END

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!