Skip to content

UGC NET CS 2019Computer System Architecture › Central Processing UnitVerified

UGC NET CS 2019 PYQ: An instruction is stored at location 500 with its address field at location 501. The address field has the…

An instruction is stored at location 500 with its address field at location 501. The address field has the value 400. A processor register $R_1$ contains the number 200. Match the addressing mode $\text{(List – I)}$ given below with effective address $\text{(List-II)}$ for the given instruction:

$$\begin{array}{llll} & \textbf{List I} && \textbf{List II} \\ \text{(a)} & \text{Direct} & \text{(i)} & 200 \\ \text{(b)} & \text{Register indirect} & \text{(ii)} & 902 \\ \text{(c)} & \text{Index with } R_1 \text{ as the index register} & \text{(iii)} & 400 \\ \text{(d)} & \text{Relative} & \text{(iv)} & 600 \\ \end{array}$$

Choose the correct option from those given below:

  1. A
    $\text{(a)-(iii), (b)-(i), (c) -(iv), (d)-(ii)}$
    Correct answer
  2. B
    $\text{(a)-(i), (b)-(ii), (c) -(iii), (d)-(iv)}$
  3. C
    $\text{(a)-(iv), (b)-(ii), (c) -(iii), (d)-(i)}$
  4. D
    $\text{(a)-(iv), (b)-(iii), (c) -(ii), (d)-(i)}$

Answer

(A) $\text{(a)-(iii), (b)-(i), (c) -(iv), (d)-(ii)}$

Approach

Compute the effective address for each addressing mode using the given instruction location, address field and register value.

Reviewed by UGC IQ Editorial Team.