Question: Consider the MARIE program below. Hex Address Label Instruction 100 Start, LOAD E 101 ADD F 102 STORE H 103 CLEAR 104 OUTPUT 105 ADDI
Consider the MARIE program below.
Hex
Address Label Instruction
100 Start, LOAD E
101 ADD F
102 STORE H
103 CLEAR
104 OUTPUT
105 ADDI H
106 STORE F
107 HALT
108 E, HEX 00CC
109 F, DEC 38
10A G, HEX 2222
10B H, HEX 0000
a) List the hexadecimal code for each instruction (10pts).
b) Draw the symbol table (10pts).
c) What is the value stored in the AC when the program terminates (10pts)?
Please answer ASAP!
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
