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, 22.06.2019 02:30
Larry sent an email to andy. andy didn't open larry's email but still understood what the message was. how did andy determine the message without opening the email?
Answers: 1
question
Computers and Technology, 23.06.2019 02:00
Arecipients list has been loaded into a document. which commands should be clicked in order to filter the list so that letters will not be printed for recipients who live in a certain state? mailings tab, start mail merge, select recipients, type new list, then insert only contacts from the desired states mailings tab, rules, select recipients, use existing list, then choose a recipients list that includes only contacts in certain states mailings tab, select recipients, use existing list, rules, fill in, then type in certain states mailings tab, rules, skip record select “state” under field name, then type in the state name under “equal to”
Answers: 2
question
Computers and Technology, 23.06.2019 07:30
What part of the interface displays the external references contained in a selected cell? the status bar the review tab the scroll bar the formula bar
Answers: 1
question
Computers and Technology, 23.06.2019 09:00
Before you record your own voice, you should a. record other people's voices b. warm up and practice difficult names c. listen to your favorite songs d. read a transcript of a good radio news segment
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
question
Physics, 30.05.2020 02:58
question
Mathematics, 30.05.2020 02:58
question
Mathematics, 30.05.2020 02:58
question
Mathematics, 30.05.2020 02:58
Questions on the website: 13722363