Different types of addressing modes of an instruction - Computer Architecture and Design

Explain briefly six different types of addressing modes of an instruction.



The different types of instructions are as follows:

- Immediate Mode: As the name suggests the instruction in itself contains the operand.

- Register Mode: In this mode the operands of an instruction are placed in the registers which themselves are placed inside the CPU.

- Direct address mode: The address part of an instruction in this mode is the effective address.

- Indexed addressing mode: In this mode in order to obtain the effective address the contents of the index register is added to the instructions address part.

- Relative address mode: In this mode in order to find out the effective address the contents of the program counter are added to the address part of the instruction.
Post your comment