Question: Consider the MARIE program below (can use MARIE to edit, assemble, and run the program. a)List the hexadecimal code for each instruction. b)Draw the symbol

Consider the MARIE program below (can use MARIE to edit, assemble, and run the program.

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
ORG 100
100 START LOAD A
101 ADD B
102 STORE D
103 CLEAR
104 OUTPUT
105 ADDI D
106 STORE B
107 HALT
108 A, HEX 00FC
109 B, DEC 14
10A C, HEX 0108
10B D, 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!