1 Answers
Option 1 : Implicit addressing mode
Implicit addressing mode:
In this addressing mode, the definition of the instruction itself specifies the operands implicitly. It is also called an implied addressing mode.
Example: CMA, RLC, RRC, etc.
Direct addressing mode:
In this addressing mode, the address field of the instruction contains the effective address of the operand. Only one reference to memory is required to fetch the operand. It is also called an absolute addressing mode.
Example: ADD X → It will increment the value stored in the accumulator by the value stored at memory location X.
AC ← AC +
Indirect addressing mode:
In this addressing mode, the address field of the instruction specifies the address of the memory location that contains the effective address of the operand. Two references to memory are required to fetch the operand.
Example: ADD X → It will increment the value stored in the accumulator by the value stored at the memory location specified by X.
AC ← AC + ]
Immediate addressing mode:
In this addressing mode, the operand is specified in the instruction explicitly. Instead of the address field, an operand field is present that contains the operand. Examples: ADD 10→It will increment the value stored in the accumulator by 10.