Question: I A4 1. Write ARM Assembly program to calculate result of the following operation using only register RO. Use immediate values in your code as

 I A4 1. Write ARM Assembly program to calculate result of

I A4 1. Write ARM Assembly program to calculate result of the following operation using only register RO. Use immediate values in your code as given below; RO = 90 + 24 - 62 2. Run and observe the content of RO after execution. 3. Modify the code by declaring each constant (90, 24 and 62) using the EQU directive. 4. Open the "View Memory Contents". What do you see? 5. Define the cost of this program, including: Code size (number of instructions) Number of used registers Clock cycles Task#5 1. Repeat Task#3, by using DCD instead of equ directive to declare; N1, N2 and N3. After execution, save the result in N4. Beside each instruction, add comments to describe the "result" of the operation; i.e. the contents of the destination register. Use minimum number of registers. 2. Fill the memory map after execution. Variable Address Word-wise Contents N1 N2 N3 N4

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!