Question: 5. (10 points) Please complete the following assembly code to find the maximal number from a series of 32-bit unsigned numbers. Assume all the numbers


5. (10 points) Please complete the following assembly code to find the maximal number from a series of 32-bit unsigned numbers. Assume all the numbers are stored continuously in a memory block Array_A ending with 0 and the maximal number is saved to memory variable "Max". ;find the maximal number AREA myresult, DATA, readwrite Array_A DCD 0x56, 0x67,0x12,3000,5000,100,0x3456,0xABCD, 3200,0 Max DCD O AREA mycode, CODE, readonly EXPORT__main main PROC ENDP END 5. (10 points) Please complete the following assembly code to find the maximal number from a series of 32-bit unsigned numbers. Assume all the numbers are stored continuously in a memory block Array_A ending with 0 and the maximal number is saved to memory variable "Max". ;find the maximal number AREA myresult, DATA, readwrite Array_A DCD 0x56, 0x67,0x12,3000,5000,100,0x3456,0xABCD, 3200,0 Max DCD O AREA mycode, CODE, readonly EXPORT__main main PROC ENDP END
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
