Question: 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

What is wrong with this program? Modify the program so that it produces the correct result.
mailbox mnemonic code numeric code 00 901 IN 399 01 STO 99 02 IN 901 03 ADD 99 199 04 STO 99 399 05 IN 901 SUB 99 06 299 OUT 902 07 08 000 COB
Step by Step Solution
3.49 Rating (166 Votes )
There are 3 Steps involved in it
The program actually outputs IN3 IN1 IN2 the negative ... View full answer
Get step-by-step solutions from verified subject matter experts
Document Format (2 attachments)
1806_60b8c1213ebc1_721414.pdf
180 KBs PDF File
1806_60b8c1213ebc1_721414.docx
120 KBs Word File
