All Exams Test series for 1 year @ ₹349 only
Question

Match each addressing mode in List I with a data element or an element of a data structure (in a high-level language) in List II:
List IList II
P. Immediate1. Element of an array
Q. Indirect2. Pointer
R. Base with index3. Element of a record
S. Base with offset/displacement4. Constant

The correct answer is
P–4, Q–2, R–1, S–3

Addressing Mode Matching Guide

This solution explains the matching between different addressing modes (List I) and their corresponding data elements or structures (List II) commonly found in computer architecture and programming.

Addressing Mode Explanations

  • P. Immediate: This mode uses the operand value directly as part of the instruction. It directly matches with 4. Constant.
  • Q. Indirect: This mode uses a register or memory location that holds the address of the actual operand. This is the definition of a 2. Pointer.
  • R. Base with index: This mode calculates the effective address by summing a base address with an index value. This technique is primarily used for accessing an 1. Element of an array.
  • S. Base with offset/displacement: This mode computes the effective address by adding a base address to a fixed offset or displacement. This is commonly employed to access fields within a 3. Element of a record or structure.

Final Match Summary

The correct pairings derived from the explanations are:

  • P – 4 (Immediate – Constant)
  • Q – 2 (Indirect – Pointer)
  • R – 1 (Base with index – Element of an array)
  • S – 3 (Base with offset/displacement – Element of a record)

This results in the complete match: P–4, Q–2, R–1, S–3.

Was this answer helpful?

Important Questions from Addressing Modes

  1. How many bits are required to distinguish between a direct and an indirect address?

  2. Which of the following addressing modes is convenient to handle pointers?

  3. Which one of the following types of instructions is useful for initializing registers to assign a constant value?
  4. In which one of the following addressing modes, the effective address is equal to the address part of the instruction?
  5. Match the LIST-I with LIST-II
    LIST-ILIST-II
    A. Immediate addressing modeI. MOV A,@R0
    B. Indexed addressing modeII. MOV DPTR,#4521H
    C. Register addressing modeIII. MOVC A,@A+DPTR
    D. Register indirect addressing modeIV. MOV A,R0
    Choose the correct answer from the options given below:
Need Expert Advice?

Start Your Preparation with Prepp Mobile App

Download the app from Google Play & App Store
Download the app from Google Play & App Store
Prepp Mobile App