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 x86 assembly language to accomplish the following:
Prompt the user to enter a 25-element array of non-negative integers. If the user enters
less than 25-elements, the remaining elements shall be assigned sequential values starting from 1
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 2022.
Do not submit your .sln project file. Submit your source code (.asm file) to the assignment drop-box 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:\Irvine\Irvine32.inc INCLUDELIB C:\Irvine\Irivne32.lib

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 Programming Questions!