Last Updated : 22 Nov, 2018

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

codes:

(a) (b) (c) (d)
(1) (i) (ii) (iii) (iv)
(2) (ii) (iii) (iv) (i)
(3) (i) (iv) (iii) (ii)
(4) (i) (iii) (iv) (ii)



(A) 1
(B) 2
(C) 3
(D) 4


Answer: (D)

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 (D) is correct.
Ans – 1-3-4-2


Quiz of this Question


Share your thoughts in the comments