Question: Assemble the MARIE program below. Hex Address Label Instruction 100 Start LOAD A 101 ADD B 102 STORE D 103 CLEAR 104 OUTPUT 105 ADDI
Assemble the MARIE program below.
Hex Address Label Instruction
100 Start LOAD A
101 ADD B
102 STORE D
103 CLEAR
104 OUTPUT
105 ADDI D
106 STORE B
107 HALT
108 A, HEX 00FC
109 B, DEC 14
10A C, HEX 0108
10B D, HEX 0000
a) List the hexadecimal code for each instruction
b) Draw the symbol table
c) What is the value stored in the AC when the program terminates?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
