Question: Write a program in assembly to accomplish the following: 1 . Prompt the user to enter a 2 5 - element array of non -

Write a program in assembly to accomplish the following: 1. 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 12. 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. 3. Calculate and display the average value of the array with appropriate introductory text. 4. 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 5. 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. 6. 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. x86 assubly language 2022.32 bit > Propertys : microsoft micro assembler . build dependecys masm(.targets,.props_)

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!