Question 8850 – Theory-of-Computation
March 25, 2024Question 3082 – Environment
March 25, 2024Question 6327 – UGC NET CS 2017 Nov- paper-3
Which of the following addressing mode is best suited to access elements of an array of contiguous memory locations ?
Correct Answer: A
Question 4 Explanation:
Index mode:
The address of the operand is obtained by adding to the contents of the general register (called index register) a constant value. The number of the index register and the constant value are included in the instruction code.
→ Index Mode is used to access an array whose elements are in successive memory locations (or) contiguous memory locations.
The address of the operand is obtained by adding to the contents of the general register (called index register) a constant value. The number of the index register and the constant value are included in the instruction code.
→ Index Mode is used to access an array whose elements are in successive memory locations (or) contiguous memory locations.
Indexed addressing mode
Base Register addressing mode
Relative address mode
Displacement mode
Subscribe
Login
0 Comments