Comp201TH Unit 3 Lecture 2 Addressing Modes
Comp201TH Unit 3 Lecture 2 Addressing Modes
COMP201Th
Unit: 3
Programming the Basic Computer
Lecture: 2
Addressing Modes
The term addressing modes refers to the way in which the operand of an
instruction is specified. The addressing mode specifies a rule for interpreting or
modifying the address field of the instruction before the operand is actually
executed.
Thus, the different ways of specifying the location of an operand in an
instruction are called as addressing modes:
1. Implied/ Implicit Addressing Mode
2. Stack addressing Mode
3. Immediate Addressing Mode
4. Direct Addressing Mode
5. Indirect Addressing Mode
6. Register Direct Addressing Mode
7. Register Indirect Addressing Mode
8. Relative Addressing Mode
9. Indexed Addressing Mode
10. Base Register Addressing Mode
11. Auto-increment Addressing Mode
12. Auto-decrement Addressing Mode
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 as absolute
addressing mode.
Indirect Addressing Mode: In this addressing mode, the address field of the
instruction specifies the address of memory location that contains the effective
address of the operand. Two references to memory are required to fetch the
operand.