Question: With explanation please (15 points) Consider the MARIE program below. a) List the hexadecimal code for each instruction. b) Draw the symbol table. c) What
With explanation please
(15 points) 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? Label Instruction Hex Address LOAD Base ADD Offs SUBT One STORE Addr SKIPCOND 800 JUMP Done JUMPI Addr CLEAR HALT HEX 200 Dec 9 HEX 001 HEX 000 Beg?n, 200 201 202 203 204 205 206 207 208 209 20A 20B 20C Loop, Done, | Base Offs, One, Addr (15 points) 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? Label Instruction Hex Address LOAD Base ADD Offs SUBT One STORE Addr SKIPCOND 800 JUMP Done JUMPI Addr CLEAR HALT HEX 200 Dec 9 HEX 001 HEX 000 Beg?n, 200 201 202 203 204 205 206 207 208 209 20A 20B 20C Loop, Done, | Base Offs, One, Addr
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
