Anda di halaman 1dari 1

INTRODUCTION TO 8086

ADDRESSING MODES

THEORY

Addressing Modes:

Immediate
Direct
Register Direct
Register Indirect
Base+ Index
Base Relative
Base Relative+ Index

1. Immediate:
One of the operand is immediate address
i.e. MOV AX, 26H
Here 26H is the immediate address.

2. Direct:
One of the operands address is given.
i.e. MOV CL, [1920H]
Here direct address is given.

3. Register Direct:
In this direct registers are used.
Eg. ADD BX, BX

4. Register Indirect:
One of them is a register and the other is a pointer or an index register.
Eg. MOV BX, [DI]
MOV CX, [SI]

5. Base+ Index:
Here we have a base address and an index is added to it and the total represents the
final address.
Eg. MOV DX, [BX+DI]
6. Base Relative:
Here instead of an index, we use a number.
Eg. MOV DX, [BX+0003H]

7. Base relative+ Index:


Here, we use both the above concepts.
Eg. MOV DX, [BX+SI+0003H]