Faculty of Engineering
Faculty of Engineering
1. Register Addressing
Group I : Addressing modes for
2. Immediate Addressing register and immediate data
3. Direct Addressing
5. Based Addressing
Group II : Addressing modes for
6. Indexed Addressing memory data
7. Based Index Addressing
8. String Addressing
8. String Addressing
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
8086 Microprocessor
Addressing Modes : Memory Access
Adder
6
8086 Microprocessor Group II : Addressing modes
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
Addressing Modes for memory data
(CL) ← (MA)
(CH) ← (MA +1)
8
8086 Microprocessor Group II : Addressing modes
Addressing Modes for memory data
(AL) ← (MA)
9
(AH) ← (MA + 1)
Assembly language
As microprocessor can only understand the machine
language so mnemonics are translated into machine
language either manually or by a program known as
assembler.
2. Arithmetic Instructions
3. Logical Instructions
11
8086 Microprocessor: Instruction Set
Data Transfer Instructions
Explain the operation of each data movement
instruction with applicable addressing modes.
Select the appropriate assembly language
instruction to accomplish a specific data
movement task.
These instructions are used to transfer data from
source to destination.
The operand can be a constant, memory location,
register or I/O port address.
8086 Microprocessor
Instruction Set
14
8086 Microprocessor: Instruction Set
Data Transfer Instructions
Mnemonics: MOV, XCHG, PUSH, POP, IN, OUT …