Waiting for answer This question has not been answered yet. You can hire a professional tutor to get the answer.

QUESTION

consider the MARIE program below. [9 marks] a.List the hexadecimal code for each instruction. [3 marks] b. Draw the symbol table. [3 marks] c.

consider the MARIE program below.[9 marks]

a.List the hexadecimal code for each instruction. [3 marks]

b.  Draw the symbol table. [3 marks]

c.What is the value stored in the AC when the program terminates? [3 marks]

Hex

Addr   Label       Instruction

100    Start,        Load A

101                     Add B

102                     Store Temp

103                     Load C

104                     Add D

105                     Add Temp

106                     Store F

107                     Output

108                     HALT

109     A,            DEC 5

10A     B,            DEC 3

10B     C,            DEC 4

10C     D,            DEC 13

10D     E,            DEC 3

10E    Temp,     HEX 00FD

10F    F,            HEX 00FE

Show more
LEARN MORE EFFECTIVELY AND GET BETTER GRADES!
Ask a Question