Question: 25. Consider the MARIE program below. 1. a) List the hexadecimal code for each instruction. 2. b) Draw the symbol table. 3. c) What is
25. Consider the MARIE program below.
1.
a) List the hexadecimal code for each instruction.
2.
b) Draw the symbol table.
3.
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, SUBT One 203 STORE Addr 204 SKIPCOND 800 205 206 207 JUMP Done JUMPI Addr CLEAR 208 Done, 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
