Which addressing mode is necessary to implement pointers in a processor?
Answers
Answered by
6
Addressing modes are an aspect of the instruction set architecture in most central processing unit designs. The various addressing modes that are defined in a given instruction set architecture define how machine language instructions in that architecture identify the operand of each instruction.
Answered by
3
Answer: Indirect Addressing mode
Explanation:
In Indirect Addressing mode, Instruction contains the address of Effective Address(M-->EA-->operand), so it is used for pointer implementation.
Index Addressing mode is used for array implementation because array can be accessed by changing the index value in instruction.
For program relocation, relative addressing mode is used, but we can implement relocation using Base Addressing mode by changing value in Base.
Similar questions