Question: 25. Consider the MARIE program below. a) List the hexadecimal code for each instruction. b) Draw the symbol table. c) What is the value stored
25. Consider the MARIE program below.
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?

Hex Address Label Instruction 200 Begin, LOAD Base 201 ADD Offs 202 Loop, 203 204 205 206 207 208 Done, SUBT One STORE Addr SKIPCOND 800 JUMP Done JUMPI Addr CLEAR HALT 209 Base, HEX 200 20A Offs, DEC 9 20B One, HEX 0001 20C Addr, HEX 0000
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
