subject

Write a complete program in assembly line that: 1. Prompt the user to enter 10 numbers.
2. save those numbers in a 32-bit integer array.
3. Print the array with the same order it was entered.
3. Calculate the sum of the numbers and display it.
4. Calculate the mean of the array and display it.
5. Rotate the members in the array forward one position for 9 times. so the last rotation will display the array in reversed order.
6. Print the array after each rotation.
check the sample run.

Don't use any shift or rotate instructions. You need to use loops and indexed addressing. All you work should be on the original array. Don't make a copy of the array at any time.

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 23:00
Lucas put a lot of thought into the design for his company's new white paper. he made sure to include repeating design elements such as color schemes and decorative images. his goal was to a.add symmetry b.create a unified publication c.provide consistency d.save money
Answers: 1
question
Computers and Technology, 24.06.2019 11:20
William travels a lot on business purpose. he needs to regularly communicate with his business partner. he also needs to send out weekly reports to his boss while he is traveling. which web-based application best suits william’s needs? (social media, webmail, wiki) is the best web-based application for william. he can access this application via the internet using a (digital cable, fax machine, web browser).
Answers: 1
question
Computers and Technology, 24.06.2019 14:30
Ahousehold consists of a married couple and their twin five-year old daughters. the couples children had no income and lived with their parents all of last year. how many exemptions can the couple claim on last years tax return or they file with the β€œ married filing jointly β€œ status? a. 4 b. 5 c. 3 d. 2
Answers: 1
question
Computers and Technology, 24.06.2019 23:30
Does anyone have the problem where you try to watch a video to get your answer but it brings up a thing asking your gender to make ads relevant but it doesn't load? btw i won't be able to see the answer so use the comments .
Answers: 1
You know the right answer?
Write a complete program in assembly line that: 1. Prompt the user to enter 10 numbers.
2. sa...
Questions
question
Mathematics, 24.09.2019 03:30
question
Mathematics, 24.09.2019 03:30
question
History, 24.09.2019 03:30
Questions on the website: 13722361