Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Privacy In Statistical Databases International Conference Psd 2022 Paris France September 21 23 2022 Proceedings Lncs 13463

Authors: Josep Domingo-Ferrer ,Maryline Laurent

1st Edition

3031139445, 978-3031139444

More Books

Students also viewed these Databases questions