Computer Organisation And Architecture : Assemble the MARIE program

Offered Price: $ 1.00 Posted on: 09/12/2019 08:57 AM Due on: 10/01/2019
Question # 00737189 Subject Computer Science Topic General Computer Science Tutorials: 0
Question

Q1. Assemble the MARIE program below.

Hex
Addr   Label       Instruction

100    Start,        LOAD X
101                     ADD Y
102                     STORE TEMP
103                     LOAD W
104                     ADD U
105                     ADD TEMP

106                     OUTPUT
107                     STORE Z

108                     HALT
109     X,            DEC 5
10A     Y,            DEC 14

10B     TEMP,    HEX 00FD

10C     W,            DEC 4

10D     U,            DEC 16
10E    Z,            HEX 00FE

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?

 

Contact chat support/Whatsapp chat to get a solution for the above question.

Loading...