Match the following: List I a. Indexed Addressing b. Direct Addressing c.…
2018
Match the following:
List I
a. Indexed Addressing
b. Direct Addressing
c. Register Addressing
d. Base access Indexed Addressing
List II
i. is not used when an operand is moved from memory into a register or from a register to memory
ii. Memory address is computed by adding up two registers plus an (optional) offset
iii. Addressing memory by giving a register plus a content offset
iv. can only be used to global variables whose address is known at compiler time
- A.
ii,i,iv,iii
- B.
ii,iv,i,iii
- C.
iii,iv,i,ii
- D.
iii,iv,i,ii
Attempted by 72 students.
Show answer & explanation
Correct answer: C
This question requires matching addressing modes with their definitions. Indexed Addressing calculates memory addresses using a register plus an offset, which corresponds to iii. Direct Addressing specifies the exact address directly, typically for global variables known at compile time, matching iv. Register Addressing operates primarily within registers and does not handle memory transfers directly in the context of address calculation, fitting i. Base Indexed Addressing computes addresses using two registers plus an offset, aligning with ii. The correct matching is a-iii, b-iv, c-i, d-ii.
A video solution is available for this question — log in and enroll to watch it.