Answered step by step
Verified Expert Solution
Question
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 NUMI. 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 NUMI. 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 NUM1: .word 3, -7, 11, -2, 40, 10, 34 // Your main program goes after this global_start .text _start: ---------- Your Code Start from the next line ---- Please complete the program to add up all the numbers in the array NUM1 that are greater than 5. Put the sum in the register RO. _stop: BKPTO // Set breakpoint .end // end of the file The source code in the file AddGT.s The print out of the screen shot (print screen to show the program has been successfully built. The print out of the screen shot showing the sum in RO. Write an ARM assembly language program AddGT.s to add up all the numbers that are great than 5 in the number array NUMI. 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 NUM1: .word 3, -7, 11, -2, 40, 10, 34 // Your main program goes after this global_start .text _start: ---------- Your Code Start from the next line ---- Please complete the program to add up all the numbers in the array NUM1 that are greater than 5. Put the sum in the register RO. _stop: BKPTO // Set breakpoint .end // end of the file The source code in the file AddGT.s The print out of the screen shot (print screen to show the program has been successfully built. The print out of the screen shot showing the sum in RO
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