Question: 5. Write LMC machine code for a program that gets two numbers from input (call the first one z and second one y ) and
5. Write LMC machine code for a program that gets two numbers from input (call the first one z and second one y ) and outputs the result of calculatirg 2 . y - 2 - 2 . (For example, if x=3 and y=8, the output would be 10.) Hint: you are going to have to store the inputs away in memory so they do not wipe each other out.. Partial credit is available:make sure to submit seme thing cven if you think it has a bug
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
