Professional Documents
Culture Documents
PG3 Addressingmodesof8086
PG3 Addressingmodesof8086
8. String Addressing
2
8086 Microprocessor Group I : Addressing modes for register
and immediate data
1. Register Addressing
In immediate addressing mode, an 8-bit or 16-bit
2. Immediate Addressing data is specified as part of the instruction
3. Direct Addressing
Example:
4. Register Indirect Addressing
MOV DL, 08H
5. Based Addressing
The 8-bit data (08H) given in the instruction is
6. Indexed Addressing moved to DL
8. String Addressing
MOV AX, 0A9FH
9. Direct I/O port Addressing
The 16-bit data (0A9FH) given in the instruction is
10. Indirect I/O port Addressing
moved to AX register
11. Relative Addressing
(AX) 0A9FH
12. Implied Addressing
3
8086 Microprocessor
5
8086 Microprocessor Group II : Addressing modes for
memory data
1. Register Addressing
2. Immediate Addressing
Here, the effective address of the memory
3. Direct Addressing
location at which the data operand is stored is
4. Register Indirect Addressing given in the instruction.
12. Implied Addressing This addressing mode is called direct because the
displacement of the operand from the segment
base is specified directly in the instruction.
7
8086 Microprocessor Group II : Addressing modes for
memory data
(CL) (MA)
(CH) (MA +1)
8
8086 Microprocessor Group II : Addressing modes for
memory data
(AL) (MA)
(AH) (MA + 1) 9
8086 Microprocessor Group II : Addressing modes for
memory data
(CL) (MA)
(CH) (MA + 1)
10
8086 Microprocessor Group II : Addressing modes for
memory data
11
8086 Microprocessor Group II : Addressing modes for
memory data
1. Register Addressing
2. Immediate Addressing
14
8086 Microprocessor Group IV : Implied
Addressing mode
1. Register Addressing
2. Immediate Addressing
3. Direct Addressing
5. Based Addressing
6. Indexed Addressing
Instructions using this mode have no operands.
The instruction itself will specify the data to be
7. Based Index Addressing
operated by the instruction.
8. String Addressing
Example: CLC
9. Direct I/O port Addressing
This clears the carry flag to zero.
10. Indirect I/O port Addressing
15