Question: Consider the MARIE program below. a ) List the hexadecimal code for each instruction. b ) Draw the symbol table generated by the assembler. c

Consider the MARIE program below.
a) List the hexadecimal code for each instruction.
b) Draw the symbol table generated by the assembler.
c) What is the value stored in AC when the program terminates?
HexAddress Label Instruction
100 Start, LOAD K
101 STORE K
102 LOAD L
103 ADD M
104 STORE D
105 CLEAR
106 OUTPUT
107 ADDI D
108 STORE M
109 HALT
10A L, HEX 00FC
10B M, DEC 14
10C N, HEX 0108
10D D, HEX 0000
10E K, 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 Databases Questions!