GATE CS 2011 · Question 21 · Computer Organization and Architecture · Multiple choice (MCQ) · 1 mark · −1/3 for a wrong answer
Consider a hypothetical processor with an instruction of type LW R1, 20(R2), which during execution reads a 32-bit word from memory and stores it in a 32-bit register R1. The effective address of the memory location is obtained by the addition of a constant 20 and the contents of register R2. Which of the following best reflects the addressing mode implemented by this instruction for the operand in memory?
- (A) Immediate Addressing
- (B) Register Addressing
- (C) Register Indirect Scaled Addressing
- (D) Base Indexed Addressing
Answer
Answer (D)
Answer from the official GATE CS 2011 answer key.
The step-by-step solution, where available, is part of GATE CS Pro. See what Pro includes