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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Systems Analysis And Design Questions!