Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

ARM 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

ARM

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

More Books

Students also viewed these Databases questions

Question

Write short notes on departmentation.

Answered: 1 week ago

Question

What are the factors affecting organisation structure?

Answered: 1 week ago

Question

What are the features of Management?

Answered: 1 week ago

Question

Briefly explain the advantages of 'Management by Objectives'

Answered: 1 week ago