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

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 16:00
Write a grading program for a class with the following grading policies: a. there are two quizzes, each graded on the basis of 10 points. b. there is one midterm exam and one final exam, each graded on the basis of 100 points. c. the final exam counts for 50% of the grade, the midterm counts for 25%, and the two quizzes together count for a total of 25%. (do not forget to normalize the quiz scores. they should be converted to a percentage before they are averaged in.) any grade of 90 or more is an a, any grade of 80 or more (but less than 90) is a b, any grade of 70 or more (but less than 80) is a c, any grade of 60 or more (but less than 70) is a d, and any grade below 60 is an f. the program will read in the student’s scores and output the student’s record, which consists of two quiz and two exam scores as well as the student’s average numeric score for the entire course and final letter grade. define and use a structure for the student reco
Answers: 2
question
Computers and Technology, 23.06.2019 19:00
Acompany is hiring professionals for web designing. the firm is small with few resources. they want employees who possess problem-solving skills and can independently carry out responsibilities. which kind of employee should they select?
Answers: 2
question
Computers and Technology, 24.06.2019 07:30
Consider the folloeing website url: what does the "http: //" represent? a. protocal identifier. b. ftp. c. domain name d. resource name
Answers: 2
question
Computers and Technology, 24.06.2019 20:30
How is energy expended in active transport
Answers: 1
You know the right answer?
Write a complete program that sorts dword unsigned integer array in descending order. Assume that th...
Questions
question
Mathematics, 30.01.2020 18:55
question
Mathematics, 30.01.2020 18:55
question
History, 30.01.2020 18:55
question
Mathematics, 30.01.2020 18:55
Questions on the website: 13722361