Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

Please help, I am having trouble on these 5 problems and post clear answers and

ID: 3759300 • Letter: P

Question

Please help, I am having trouble on these 5 problems and post clear answers and work please.

1. How many bits are required to address a 16M x 32 main memory if

a. Main memory is byte addressable?______

b. Main memory is word addressable? ______

2. Suppose that a 64M x 64 main memory is built using 8M x 32 RAM chips and memory is word addressable.

a. How many RAM chips are necessary? ______

b. How many RAM chips are needed for each memory word?_______

c. How many address bits are needed for each RAM chip?_______

d. How many address bits are needed for all memory?_______

3. A digital computer has a memory unit with 30 bits per word. The instruction set consists of 200 different operations. All instructions have an operation code part (opcode), and an address part (allowing for only one address). Each instruction is stored in one word of memory.

a. How many bits are needed for the opcode?

b. How many bits are left for the address part of the instruction?

c. What is the maximum allowable size for memory?

   

4. Write the following MARIE assembly language equivalent of the following machine language instructions

a. 0010 0000 1000 1111

b. 1001 1000 1011 0000

c. 0100 0011 0010 0001

d. 0101 0000 0000 0000

5. List the hexadecimal code for the following program.

Hex Address               Label               Instruction

100                                                Load A

101                                                Add One

102                                                Jump S1

103                        S2,                   Add One

104                                                Store A

105                                                Halt

106                        S1,                   Add A

107                                                Jump S2

108                        A,                    HEX 0103

109                        One,                HEX 0001      

Explanation / Answer

1. How many bits are required to address a 16M x 32 main memory if

a. Main memory is byte addressable?_26___(24X220X25/23=226)__

b. Main memory is word addressable? ___24_____(24X220=224)_