• retagged by
12,477 views
47 47 votes

Which is the most appropriate match for the items in the first column with the items in the second column:$$\begin{array}{|cl|cl|} \hline \text{X.} &\text{Indirect Addressing} &  \text{I.} &\text{Array implementation} \\\hline
\text{Y.} &\text{Indexed Addressing} & \text{II.} &\text{Writing relocatable code}  \\\hline 
\text {Z.} &\text{Base Register Addressing}  & \text{III.} &\text{Passing array as parameter}\\\hline  \end{array}$$

  1. (X, III), (Y, I), (Z, II)
  2. (X, II), (Y, III), (Z, I)
  3. (X, III), (Y, II), (Z, I)
  4. (X, I), (Y, III), (Z, II)

2 Answers

Best answer
75 75 votes

(A) is the answer.

Array implementation can use Indexed addressing.

While passing array as parameter we can make use of a pointer (as in (C)) and hence can use Indirect addressing.

Base Register addressing can be used to write relocatable code by changing the content of Base Register.

• edited by
4 4 votes

In Indirect Addressing mode, Instruction contain address of Effective Address(M-->EA-->operand), So it is used for pointer implementation.

In Index Addressing mode used for array implementation because we can access array by changing the index value in instruction.

For program relocation best addressing mode is relative addressing mode, but we can implement relocation using Base Addressing mode by changing value in Base

Answer:
Position:
Show:

Related questions

42 42 votes
3 answers 3 answers
12.5k
12.5k views
Misbah Ghaya asked Nov 27, 2016
12,486 views
Match the pairs in the following questions:$$\begin{array}{|ll|ll|}\hline \text{(A)} & \text{Base addressing} & \text{(p)} & \text{Reentranecy} \\\hline \text{(B)} & \te...
10 10 votes
3 answers 3 answers
4.2k
4.2k views
sh!va asked May 7, 2017
4,188 views
The most appropriate matching for the following pairs :$\begin{array}{clcl} \text{X.} & \text{Indirect Addressing} & \text{i.} & \text{Loop} \\ \text{Y.} & \text{Immedi...
38 38 votes
2 answers 2 answers
11.2k
11.2k views
Kathleen asked Sep 22, 2014
11,180 views
Match each of the high level language statements given on the left hand side with the most natural addressing mode from those listed on the right hand side.$$\begin{array...
39 39 votes
4 answers 4 answers
12.6k
12.6k views
Kathleen asked Sep 14, 2014
12,568 views
The most appropriate matching for the following pairs$$\begin{array}{ll} \text{X: Indirect addressing} & \text{1: Loops } \\ \text{Y: Immediate addressing } & \text{2: P...