Question: List the hexadecimal code for the following program (hand assemble it), and predict what will be stored in memory location 10B after the program is
List the hexadecimal code for the following program (hand assemble it), and predict what will be stored in memory location 10B after the program is executed.
Hex Address Label Instruction
100 Load A
101 Add One
102 Jump S1
103 S2, Subt One
104 Store C
105 Halt
106 S1, Subt B
107 Jump S2
108 One, HEX 0001
109 A, HEX 0022
10A B, HEX 0014
10B C, HEX 0000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
