Last Updated : 22 Nov, 2018

Match the following List-I: Name of addressing mode (AM) with List-II: their best application.

List-I List-II
(a) PC relative AM (i) best suitable for program relocation at run time
(b) Base register AM (ii) best suitable for accessing linear array element.
(c) Base indexed AM (iii) best suitable for writing position independent code.
(d) Auto indexed AM (iv) used to access random array element.

(A) (a) – (i), (b) – (ii), (c) – (iii), (d) – (iv)
(B) (a) – (i), (b) – (iii), (c) – (iv), (d) – (ii)
(C) (a) – (iii), (b) – (i), (c) – (ii), (d) – (iv)
(D) (a) – (iii), (b) – (i), (c) – (iv), (d) – (ii)


Answer: (B)

Explanation: PC relative addressing mode is best suitable for program relocation at runtime.
Base register AM is best suitable for writing position independent code.
Base indexed AM is used to access the random array element.
Auto indexed AM is best suitable for accessing the linear array element.

So, option (B) is correct.

Quiz of this Question


Share your thoughts in the comments