Question: Task 1: Develop an ARM assembly program which will find the sum of all numbers from 1 to num, where num is an arbitrarily given

Task 1: Develop an ARM assembly program which will find the sum of all numbers from 1 to num, where num is an arbitrarily given unsigned 16-bit number. For example, given num = 5, we would add the following: 1+2+3+4+5 = 15. Define num as a constant with directive EQU so that its value can be changed easily. The sum should be stored in the memory. Verify the answer with the Debugging tool in the ision IDE
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
