Recent Question/Assignment
1. 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 [3 marks]
b) Draw the symbol table [2 marks]
c) What is the value stored in the AC when the program terminates. [2 mark]
2. Write a MARIE program using a loop that implement the following code. You should write and run the program using MARIE simulator. Also write the code with Address, Instruction, and Comments . [8 marks]
3. Suppose that a 256M * 128 Memory built using 1024*32 RAM Chips and memory is word addressable. [5 marks]
a. How many RAM Chips are necessary?
b. How many RAM Chips are there per memory word?
c. How many address bits are needed for each RAM Chip?
d. How many banks will this memory have?
e. How many address bits are needed for all memory?
4. Choose one area of rapid technological change in IT or Computer Science, research and report on recent developments and the outlook for the future in the area that you have chosen. You will need to provide both in text citations and bibliography entries according to Faculty of Business policy (APA format). Your report should be around 500 words. [10 marks]