Question: Write a program in masm x 8 6 assembly language to accomplish the following: Prompt the user to enter a 2 5 - element array
Write a program in masm x assembly language to accomplish the following:
Prompt the user to enter a element array of nonnegative integers. If the user enters
less than elements, the remaining elements shall be assigned sequential values starting from
Next use a procedure to search through the array named to find the following:
a Minimum Array Value
b Maximum Array Value
Display the minimum and maximum values with appropriate introductory text.
Calculate and display the average value of the array with appropriate introductory text.
Use a function to traverse the array and find all the odd array values.
Place these values, in ascending order, in a new array named odds Display the odds array with appropriate introductory text
Use a function to traverse the array and find all the even array values.
Place these values, in ascending order, in a new array named evens Display the evens array with appropriate introductory text.
Provide the user with the option to repeat the program or quit.
Do not use magic numbers. Name and initialize variables in the data section of your programs.
Build and debug your code using Visual Studio
Do not submit your sln project file. Submit your source code asm file to the assignment dropbox by the due date. Do not submit Word or PDF files containing your code. Do not submit your sln project file. Make sure to use the following in your code: INCLUDE C:IrvineIrvineinc INCLUDELIB C:IrvineIrivnelib
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
