Computers and Technology

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.

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 00:30, silasjob09
Jenny wants to look at row 345 and compare it to row 17. what can she do if she wanted to easily adjust to see both at once?
Answers: 3
image
Computers and Technology, 23.06.2019 00:00, dubouuu
Donna and her team of five have invented a new gadget for the science exhibition in their college. which intellectual property right will protect their invention?
Answers: 1
image
Computers and Technology, 23.06.2019 23:00, GreenHerbz206
Computer programming is one type of what career
Answers: 1
image
Computers and Technology, 25.06.2019 05:00, nathan123498
Arun is 5 years older than anu. five years ago, the ratio of their ages was 3: 2 . find their present age
Answers: 2
Do you know the correct answer?
Write a complete program in assembly line that: 1. Prompt the user to enter 10 numbers.
2. sa...

Questions in other subjects:

Konu
Mathematics, 18.10.2019 19:40
Konu
Mathematics, 18.10.2019 19:40
Konu
Mathematics, 18.10.2019 19:50