GATE Assistant

Past questions › Computer Science and Information Technology › GATE 2020

GATE 2020 · CS · MCQ · 1 mark · Computer Organization and Architecture › ALU & Data Path

GATE 2020 Computer Science and Information Technology question: Consider the following data path diagram. Consider an instruction: R0 ← R1 + R2. The…

Consider the following data path diagram.

figure

Consider an instruction: R0 ← R1 + R2. The following steps are used to execute it over the given data path. Assume that PC is incremented appropriately. The subscripts r and w indicate read and write operations, respectively.

  1. R2, TEMP1, ALU, TEMP2
  2. R1, TEMP1
  3. PC, MAR, MEM
  4. TEMP2, R0
  5. MDR, IR

Which one of the following is the correct order of execution of the above steps?

  1. (A)

    2, 1, 4, 5, 3

  2. (B)

    1, 2, 4, 3, 5

  3. (C)

    3, 5, 2, 1, 4

  4. (D)

    3, 5, 1, 2, 4

Show answer

Official answer: C

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion