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
Answer: C. X-2, Y-3, Z-1 — Indirect addressing uses an address field that points to another memory location containing the effective address, so it is commonly associated with pointers.…
- A.
X-3, Y-2, Z-1
- B.
X-1, Y-3, Z-2
- C.
X-2, Y-3, Z-1
- D.
X-3, Y-1, Z-2
Attempted by 127 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: Iocl Engineers Officers Grade A Paper 2