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 random numbers in the range of to 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
The average of the array is
The smallest element is #use irvine x
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
