Question: 2. (15 points) Execute the below program. d) e) f) List the hexadecimal code for each instruction. Draw the symbol table. Fill in the blanks
2. (15 points) Execute the below program. d) e) f) List the hexadecimal code for each instruction. Draw the symbol table. Fill in the blanks with correct values for registers PC and AC, and the contents in memory locations X, and Y, after each instruction is executed starting from the first instruction. Hex Address Label Instruction 100 101 102 103 104 105 106 107 108 109 10A 10B 100 10D LOAD X SUBT Y SKIPCOND 400 JUMP Else LOAD X ADD X STORE X UMP Endif LOAD X SUBT ? STORE Y lalt Dec 12 Dec 20 If, Then, Else, Endit, X
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
