Consider the following data path of a CPU The ALU, the bus and all the…

PYQ GATE 2005

Consider the following data path of a CPU

CPU datapath with IR, PC, MAR, MDR, GPRs, S and T registers, ALU, and one bus

The ALU, the bus and all the registers in the data path are of identical size. All operations including incrementation of the PC and the GPRs are to be carried out in the ALU. Two clock cycles are needed for memory read operation - the first one for loading address in the MAR and the next one for loading data from the memory bus into the MDR.

The instruction "add R0, R1" has the register transfer interpretation R0 <= R0 + R1. The minimum number of clock cycles needed for execution cycle of this instruction is

  1. A.

    2

  2. B.

    3

  3. C.

    4

  4. D.

    5

Attempted by 4 students.

Sign up free to check your answer

Sign up free

Explore the full course: Zero To Hero

Loading lesson…