Which of the following addressing modes is more appropriate for accessing…

2017

Which of the following addressing modes is more appropriate for accessing elements of an array?

Answer: A. Index modeThe correct option is A. Index mode is highly appropriate for accessing array elements. It calculates the effective address by adding a constant base address…

  1. A.

    Index mode

  2. B.

    Auto increment mode

  3. C.

    Displacement mode

  4. D.

    Register mode

Attempted by 568 students.

Show answer & explanation

Correct answer: A

The correct option is A. Index mode is highly appropriate for accessing array elements. It calculates the effective address by adding a constant base address (stored in an instruction field or register) to a variable offset held in an index register, allowing efficient indexing using loop variables.

Explore the full course: Iocl Engineers Officers Grade A Paper 2

Loading lesson…