Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
Write an ARM assembly language program AddGT.s to add up all the numbers that are great than 5 in the number array NUM1. Look at
Write an ARM assembly language program AddGT.s to add up all the numbers that are great than 5 in the number array NUM1. Look at the following given code for more details and complete it.
// Use @or // to add a comment line // When you write your program, you should have your info at the top document lock // For Example: Your Name, Student Number, what the program is for, and what it does etc. // Here's an example format to write the ARM assembly language using Web App Simulator data // Declare your array, message, data, etc NUMI: .word 3.-7, 11, -2, 40, 10, 34 // Your main program goes after this global_start .text start: 1 / - Your Code Start from the next line ---- Please complete the program to add up all the numbers in the array NUMI that are greater than 5. Put the sum in the register RO. stop: BKPTO .end // Set breakpoint I l end of the file // Use @or // to add a comment line // When you write your program, you should have your info at the top document lock // For Example: Your Name, Student Number, what the program is for, and what it does etc. // Here's an example format to write the ARM assembly language using Web App Simulator data // Declare your array, message, data, etc NUMI: .word 3.-7, 11, -2, 40, 10, 34 // Your main program goes after this global_start .text start: 1 / - Your Code Start from the next line ---- Please complete the program to add up all the numbers in the array NUMI that are greater than 5. Put the sum in the register RO. stop: BKPTO .end // Set breakpoint I l end of the fileStep by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access with AI-Powered 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