GeeksforGeeks » Multiple Choice Questions
A GATE 2011 question about Computer Architecture
(5 posts)-
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 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 -
Based indexed Addressing, as the register R2 will serve as the index and 20 will be the Base address.. :)
-
based indexed addressing
-
base indexed addressing.
-
Base Index Addressing.. as the Content of register R2 will serve as the index and 20 will be the Base address.
Reply
You must log in to post.