Lect 3: Instruction Set and Addressing Modes
Lect 3: Instruction Set and Addressing Modes
Addressing Modes
386 Instruction Set (3.4)
Basic + Basic +
Basic
Extended Extended+
Instruction
Instruction 80386 specific
Set
Set Instruction
Set
Real Mode
386 Instruction Set (3.4)
Address Memory
Instruction
80386 Content
0000 IP
MPU
0100 CS 01000 8B MOV AX, BX
DS 01001 C3
SS 01002 XX
ES
FS
GS
XXXX
ABCD AX
ABCD BX
CX
DX
SP
BP
SI
DI
Immediate Addressing
Address Memory
Instruction
80386 Content
0000 IP
MPU
0100 CS 01000 B0 MOV AL, 15H
DS 01001 15
SS 01002 XX
ES
FS
GS
15
XX AX
BX
CX
DX
SP
BP
SI
DI
Direct Addressing
XX AX
1000 BX Array of data
CX 05234 BE +
DX 05235
Element 1
SP Displacement
BP Element 0
2000 SI
DI
16-bit Memory Operand Addressing
AX
AX
CS BX
SS CX BX 1
CX
DS DX 2 8 bit displacement
PA : DX
ES SP
BP 4 32 - bit displacement
FS BP 8
SI
GS SI
DI DI
32-bit Memory Operand Addressing Modes