Question: O. (40 pts) Now write the function Min Ref in Mic-1 assembly language smaller of two numbers passed by reference on the stack. That is,
O. (40 pts) Now write the function Min Ref in Mic-1 assembly language smaller of two numbers passed by reference on the stack. That is, the ne two numbers are on the stack, not their values. Do not write a function based on pass by value. That was question #5. It will not be worth any po y language that returns the stack. That is, the addresses of Do not write a function that is Your function returns the minimum value in AC. Show only the function, not calling code. You must provide reasonable comments to aid in grading. As call to your function is made such that the following values are on the stack: SP return address of the caller SP +1 address of Number1 SP+2 address of Number2 MinRef: Write the MinRef function
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
