Question: Your formula to solve on the stack is: 2 A * 1 B * 7 - 5 C * AB 1 . You can only

Your formula to solve on the stack is: 2A*1B*7-5C*AB
1. You can only use 2 registers only.
2. Accept 3 numerical inputs from the user a, b, c, then push 5 numbers on the stack:
1. You can incorporate a 5th number from a li instruction.
Pop the numbers off the stack and provide the final answer.

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