Computer science

Read each problem carefully. Failure to follow the instructions for a problem will result in a zero score for that problem.

Submit the completed Homework via Assignment in LEO.


1. How many bits are required to address a 4M X 16 main memory if

a) Main memory is byte addressable? ______

b) Main memory is word addressable? ______


2. Suppose that a 16M X 16 main memory is built using 512K X 8 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 24 bits per word. The instruction set consists of 150 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 0000 0111

b) 1001 0000 0000 1011

c) 0011 0000 0000 1001


5. What is the difference between hardwired control and microprogrammed control?



READ ALSO :   Stop CAUTI( Catheter-associated Urinary Tract Infections )