Thursday, April 20, 2017

Consider a hypothetical 32-bit microprocessor having 32-bit instructions: Solutions

Consider a hypothetical 32-bit microprocessor having 32-bit instructions: Solutions
Problem Set:

Consider a hypothetical 32-bit microprocessor having 32-bit instructions composed of two fields: the first byte contains the opcode and the remainder the immediate operand or an operand address.
a. What is the maximum directly addressable memory capacity (in bytes)?
b. Discuss the impact on the system speed if the microprocessor bus has
   1. a 32-bit local address bus and a 16-bit local data bus, or
   2. a 16-bit local address bus and a 16-bit local data bus.
   c. How many bits are needed for the program counter and the instruction register?

Solution:

a. 2^(32-8) = 2^24 = 16,777,216 bytes = 16 MB ,(8 bits = 1 byte for he opcode).

b.1. a 32-bit local address bus and a 16-bit local data bus. Instruction and data transfers would take three bus cycles each, one for the address and two for the data. Since If the address bus is 32 bits, the whole address can be transferred to memory at once and decoded there; however, since the data bus is only 16 bits, it will require 2 bus cycles (accesses to memory) to fetch the 32-bit instruction or operand.

b.2. a 16-bit local address bus and a 16-bit local data bus. Instruction and data transfers would take four bus cycles each, two for the address and two for the data. Therefore, that will have the processor perform two transmissions in order to send to memory the whole 32-bit address; this will require more complex memory interface control to latch the two halves of the address before it performs an access to it. In addition to this two-step address issue, since the data bus is also 16 bits, the microprocessor will need 2 bus cycles to fetch the 32-bit instruction or operand.

c. For the PC needs 24 bits (24-bit addresses), and for the IR needs 32 bits (32-bit addresses).

9 comments:

  1. Replies
    1. Consider A Hypothetical 32-Bit Microprocessor Having 32-Bit Instructions: Solutions - Maniruzzaman Akash'S Blog >>>>> Download Now

      >>>>> Download Full

      Consider A Hypothetical 32-Bit Microprocessor Having 32-Bit Instructions: Solutions - Maniruzzaman Akash'S Blog >>>>> Download LINK

      >>>>> Download Now

      Consider A Hypothetical 32-Bit Microprocessor Having 32-Bit Instructions: Solutions - Maniruzzaman Akash'S Blog >>>>> Download Full

      >>>>> Download LINK zU

      Delete
  2. : Consider a hypothetical 16-bit microprocessor having 16-bit instruction composed
    of two fields: The first 6 bits contain the opcode and rest of the bits is for address.
    a) How many total operations can be performed by this machine?
    b) How much total memory can be accessed by this machine?
    c) How many bits are needed for Program Counter and Instruction Register?
    d) Discuss the impact on system speed if the microprocessor bus has:
    a. A 10-bit local address bus and a 8-bit local data bus,
    b. A 5-bit local address bus and a 16-bit local data bus.

    can you answer thie problem?

    ReplyDelete
  3. 64 bit processor 64 bit instruction set
    2 bytes opcode
    16 bit adress bus
    32 bit data bus


    please answer
    1: how many cycles are needed
    2: directly addressable memory size

    Plz answer this question

    ReplyDelete
  4. Consider a hypothetical microprocessor having a 24-bit address bus and a 32-bit data bus. What is the maximum directly addressable memory capacity (in bytes)

    ReplyDelete
  5. Consider A Hypothetical 32-Bit Microprocessor Having 32-Bit Instructions: Solutions - Maniruzzaman Akash'S Blog >>>>> Download Now

    >>>>> Download Full

    Consider A Hypothetical 32-Bit Microprocessor Having 32-Bit Instructions: Solutions - Maniruzzaman Akash'S Blog >>>>> Download LINK

    >>>>> Download Now

    Consider A Hypothetical 32-Bit Microprocessor Having 32-Bit Instructions: Solutions - Maniruzzaman Akash'S Blog >>>>> Download Full

    >>>>> Download LINK

    ReplyDelete