Question: Write a function in assembly language. Input a sequence of positive numbers ending with 0. Find the minimum and maximum. You need to implement the

Write a function in assembly language. Input a sequence of positive numbers ending with 0. Find the minimum and maximum. You need to implement the solution in two versions, passing the parameter by stack and passing the parameter by register. For example, input 4, 6, 2, 99, 21, 10, 0, min = 2 and max = 99. The main procedure reads the sequence of the numbers and output the results. The procedure min max finds the minimum and maximum and return the results to the main procedure
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
