The most appropriate matching for the following pairs is: X: Indirect…

2000

The most appropriate matching for the following pairs is:

X: Indirect addressing -> 1: Loops
Y: Immediate addressing -> 2: Pointers
Z: Auto-decrement addressing -> 3: Constants

  1. A.

    X-3, Y-2, Z-1

  2. B.

    X-1, Y-3, Z-2

  3. C.

    X-2, Y-3, Z-1

  4. D.

    X-3, Y-1, Z-2

Attempted by 31 students.

Show answer & explanation

Correct answer: C

Indirect addressing uses an address field that points to another memory location containing the effective address, so it is commonly associated with pointers. Immediate addressing places the operand value directly in the instruction, so it is associated with constants. Auto-decrement addressing updates an address register by decrementing it automatically, which is useful while iterating through data, so it matches loops. Therefore X-2, Y-3, Z-1 is the correct matching.

Explore the full course: Gate Guidance By Sanchit Sir