Question: Write a COMPLETE PROGRAM in assembly language using MASM syntax that you learned from this course that completes the following requirements: Populate an array of

Write a COMPLETE PROGRAM in assembly language using MASM syntax that you learned from this course that completes the following requirements:
Populate an array of WORD values with 15 random numbers in the range of 0 to 100 inclusive.
Sum the elements of the array and store the result in an appropriate variable.
Create a procedure (and call it from main) which accepts two named parameters: total and count - both DWORDS. Use these two integers to calculate an accurate average (must be a float point answer) and return the answer on the top of the FPU stack.
The main method should produce output similar to this:
The array has been populated with random numbers!
The sum of the array is +1324
The average of the array is +5.2960000E+001
The smallest element is +30 #use irvine x86
Write a COMPLETE PROGRAM in assembly language

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Accounting Questions!