Question: Assume that there is a Mic-1 assembly language program which has a main procedure (its details are not shown) that calls myfunc. YOU ARE NOT

 Assume that there is a Mic-1 assembly language program which has

Assume that there is a Mic-1 assembly language program which has a main procedure (its details are not shown) that calls myfunc. YOU ARE NOT ALLOWED TO RUN ANYTHING ON THE MERCURY OR CS SERVER TO HELP WITH THIS OR ANY OTHER PROBLEM. myfunc: lodi 1 subl 2 jneg mylabel lodi 1 retn mylabel: lodi 2 retn If main calls func and the following values are on the stack, what value is returned in AC? SP return address SP+1 50 SP+2 51 SP+3 52 SP+4 53

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