Correct Answer - Option 4 : PC relative addressing
Concept:
PC relative addressing mode:
The effective memory address is obtained by computing an offset from the current PC. No matter where the code is loaded in memory, the offsets are always the same so the code needs no modification. In this addressing, there is absolutely no change in code needed.
Therefore the answer is Option 4 i.e, PC relative Addressing
Important Point:
Addressing modes of 8085:
Immediate addressing mode:
In immediate addressing mode, the source operand is always data. If the data is 8-bit, then the instruction will be of 2 bytes, if the data is of 16-bit then the instruction will be of 3 bytes.
Register addressing mode:
In register addressing mode, the data to be operated is available inside the register(s) and register(s) is(are) operands. Therefore, the operation is performed within various registers of the microprocessor.
Direct addressing mode:
Indirect addressing mode, the data to be operated is available inside a memory location and that memory location is directly specified as an operand. The operand is directly available in the instruction itself.
Register indirect addressing mode:
In register indirect addressing mode, the data to be operated is available inside a memory location and that memory location is indirectly specified by a register pair.
Implied/Implicit addressing mode:
In implied/implicit addressing mode the operand is hidden and the data to be operated is available in the instruction itself.