1. Suppose that a 256M * 128 Memory built using 1024 K *32 RAM Chips and memory is word addressable. [10 marks] a. How many RAM Chips are necessary? b. How many RAM Chips are there per memory word? c....


1. Suppose that a 256M * 128 Memory built using 1024 K *32 RAM Chips and memory is word addressable. [10 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?


2. A digital computer has a memory unit with 48 bits per word. The instruction set consists of 240 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. [2+2+2 = 6 marks].
    a. How many bits are needed for the opcode?

    b. How many bits are needed to specify the register? How many bits are left for the address part of the instruction?

    c. What is the largest unsigned binary number that can be accommodated in one word of memory?

3. Explain what the CPU should do when an interrupt occurs. Include in your answer the method the CPU uses to detect an interrupt, how it is handled, and what happens when the interrupt has been serviced. [6 marks]
4. . Write code to implement the expression: A= (B + C) * (D - E) on 3-, 2-, 1- and 0-address machines. In accordance with programming language practice, computing the expression should not change the values of its operands. [8 marks







Oct 07, 2019
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here