subject

Write an assembly language program to rotate given myarray based on a variable r as follows: r specifies the rotation direction and number of rotations on that direction; positive r indicates rotation in right direction, negative r indicates rotation in the left direction, and r = 0 does nothing. all variables are of type sdword. example: myarray = [1, 2, 3, 4, 5, 6, 7] r = 1(rotate once in right direction in circular fashion) after execution: myrotatedarray = [7, 1, 2, 3, 4, 5, 6] r = 2 (rotate twice in right direction in circular fashion) after execution: myrotatedarray = [6, 7, 1, 2, 3, 4, 5] r= -1 (rotate once in left direction in circular fashion) after execution: myrotatedarray = (2, 3, 4, 5, 6, 7, 1] r= -3 (rotate thrice in left direction in circular fashion) after execution: myrotatedarray = [4, 5, 6, 7, 1, 2, 3] wote: your program should work for arbitrary values of r and arbitrary length array. it also must include data and .code section.

ansver
Answers: 2

Another question on Computers and Technology

question
Computers and Technology, 21.06.2019 22:00
What is the most important aspect of marking media? a. data labelingb. content descriptionc. electronic labelingd. classification
Answers: 2
question
Computers and Technology, 23.06.2019 15:00
Based on the current economic situation do you expect the employment demand for graduating engineers to increase or decrease? explain the basis for your answer. with a significant economic recovery, what do you think will happen to future enrollments in graduating engineering programs?
Answers: 1
question
Computers and Technology, 23.06.2019 19:30
Anul 2017 tocmai s-a încheiat, suntem trişti deoarece era număr prim, însă avem şi o veste bună, anul 2018 este produs de două numere prime, 2 şi 1009. dorel, un adevărat colecţionar de numere prime, şi-a pus întrebarea: “câte numere dintr-un interval [a,b] se pot scrie ca produs de două numere prime? “.
Answers: 3
question
Computers and Technology, 25.06.2019 00:00
Into which of these files would you paste copied information to create an integrated document? a. mailing list b. destination c. source d. data source
Answers: 1
You know the right answer?
Write an assembly language program to rotate given myarray based on a variable r as follows: r spec...
Questions
Questions on the website: 13722363