Question: Unit 5 Assignment 1. The following Little Man program is supposed to add two input numbers, subtract a third input number from the sum, and

Unit 5 Assignment 1. The following Little Man program is supposed to add two input numbers, subtract a third input number from the sum, and output the result, i.e., OUT = IN1 + IN2 IN3 Mailbox Mnemonic Code 00 IN 01 STO 90 02 IN 03 ADD 90 04 STO 90 05 IN 06 SUB 90 07 OUT COB Numeric Code 901 390 901 190 390 901 290 902 000 08 What is wrong with this program? Modify the program so that it produces the correct result. 2. Write a Little Man program that accepts three values as input and produces the largest of the three as output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
