subject

Write a complete program that sorts dword unsigned integer array in descending order. Assume that the user doesn’t enter more than 40 integers. You MUST use the template and follow all the directions there. You can’t add any more procedures to the template. The procedures can’t use any global variables (variables that are inside .data segment).The caller of any procedures sends its argument through the stack. Inside any procedures, if you need to use a register, you have to preserve its original value. You can't use uses, pushad operators. The callee is in charge of cleaning the stack. Your lines must not exceed 80 columnsSample run:Enter up to 40 unsigned dword integers. To end the array, enter 0.After each element press enter:143899763452170Initial array:1 4 3 8 99 76 34 5 2 17Array sorted in descending order:99 76 34 17 8 5 4 3 2 1Press any key to continue . . .Template :include irvine32.inc; .dataarray dword 40 dup(?)string1 byte "Enter up to 40 unsigned dword integers. To end the array, enter 0.",0string2 byte "After each element press enter:", 0string3 byte "Initial array:",0string4 byte "Array sorted in descending order:",0;

ansver
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 06:40, EricaLSH7624
Match the personality traits with their description
Answers: 2
image
Computers and Technology, 22.06.2019 11:30, KrishnaBalaram1235
To hide gridline when you display or print a worksheet
Answers: 1
image
Computers and Technology, 22.06.2019 17:20, Korkot7633
[a] create a class called “cycle” which has two instance integer variables as properties, “numberofwheels” and “weight.” create a constructor with two parameters, using the same variable names in the parameter list. assign each variable to numberofwheels” and “weight” respectively. write a separate application to test the class and display its properties. note: do not change the names of the instance variables or the variables listed in the constructor’s parameter list. [b] edit your class cycle by adding a default constructor which will assign the default values of 100 to represent the numberofwheels, and 1000 to represent the weight, by invoking a call to the other constructor. modify your application created in [a] to test the class.
Answers: 3
image
Computers and Technology, 22.06.2019 18:30, Angelanova69134
Technician a says that a shop towel should never be used to clean around the flange area before replacing an automatic transmission filter. technician b says that a dimpled transmission fluid pan can be repaired. who is right
Answers: 3
You know the right answer?
Write a complete program that sorts dword unsigned integer array in descending order. Assume that th...

Questions in other subjects: