Match each addressing mode in with a data element or an element of a data structure (in a high-level language) in :
GATE CSE 2026CO & Architecture › Machine Instructions & Addressing ModesVerified
GATE CSE 2026 PYQ: Match each addressing mode in List I \textbf{List I} List I with a data element or an element of a data…
- A
- BCorrect answer
- C
- D
Answer
(B) P − 4 , Q − 2 , R − 1 , S − 3 \mathrm{P}-4, \mathrm{Q}-2, \mathrm{R}-1, \mathrm{~S}-3 P − 4 , Q − 2 , R − 1 , S − 3
Approach
Reason about what each addressing mode stores in the instruction and how the effective address is formed, then map each mode to the high-level construct that behaves the same way: a literal embedded in code (constant), a stored address that must be dereferenced (pointer), a base plus a variable index (array subscripting), and a base plus a fixed displacement (record field / struct offset).
The correct matching is Immediate-Constant, Indirect-Pointer, Base with index-Element of an array, Base with offset-Element of a record, i.e. P-4, Q-2, R-1, S-3, which is option B. This agrees with the dominant community answer.
Reviewed by GateIQ Editorial Team: IIT & IISc Alumni.