The GATE Grind

GATE 2011 CS (CS1) – Question 31

Computer Organization and Architecture · Instruction Set and Addressing Modes · 1 mark · Multiple choice

LW R1,20(R2) loads a 32-bit word at address 20+contents(R2) into R1. Which offered addressing mode does it use?

  1. Immediate
  2. Register
  3. Register indirect scaled
  4. Base indexed

Practise this question in The GATE Grind →

Show answer and explanation

Correct answer: (D) Base indexed

Explanation

The effective memory address adds a constant displacement to a base register. This is the displacement/base-relative form grouped under “base indexed” in the options, D. The source operand is memory, so it is not immediate or register addressing; no scaled-index multiplication occurs.

More Instruction Set and Addressing Modes questions

All Instruction Set and Addressing Modes questions →