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: 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 x assubly language bit Propertys : microsoft micro assembler build dependecys masmtargets,.props
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
