Question: Opcode Definition 0 Halt 1 ADD 2 SUBTRACT 3 STORE 5 LOAD 6 BRANCH UNCONDITIONALLY 7 BRANCH ON ZERO 8 BRANCH ON POSITIVE 901 INPUT
Opcode Definition 0 Halt 1 ADD 2 SUBTRACT 3 STORE 5 LOAD 6 BRANCH UNCONDITIONALLY 7 BRANCH ON ZERO 8 BRANCH ON POSITIVE 901 INPUT 902 OUTPUT Please refer to this table of Mailboxes and Contents for problems 6 through 7 Mailbox Contents 00 505 01 106 02 507 03 902 04 000 05 DAT 06 3DAT 07 6 DAT What is the value in the calculator after the second instruction (106) is completed? a. b. 2 c. d. 6 e. None of the above 6. 7. What is the value output by this program? a. b. 2 c. d. 6
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
