StreakPeaked· Practice

ExamsGATETechnical

A partial datapath of a processor is given in the figure, where RA, RB, and RZ are 32-bit registers. Which option(s) is/are CORRECT related to arithmetic operations using the datapath as shown?

  1. The datapath can implement arithmetic operations involving two registers.
  2. The datapath can implement arithmetic operations involving one register and one immediate value.
  3. The datapath can implement arithmetic operations involving two immediate values.
  4. The datapath can only implement arithmetic operations involving one register and one immediate value.

Correct answer: The datapath can implement arithmetic operations involving two registers.

Solution

The datapath supports arithmetic operations using values read from two registers, so register-register operations are possible. The other choices require immediate-value support or make an overly restrictive claim that is not implied by the datapath.

Related GATE Technical questions

⚔️ Practice GATE Technical free + battle 1v1 →