Professional Documents
Culture Documents
Addressing Modes of 8086: Prepared & Presented By-Rajvir Singh
Addressing Modes of 8086: Prepared & Presented By-Rajvir Singh
The different ways in which a processor can access data are called
addressing modes
8086 accesses code bytes using contents of CS & IP register 8086 accesses stack using contents of SS & SP register
Accessing memory
Segment register
+
16-bit offset
BX or BP
Segment register is DS or
E.g. MOV AX, 4[BX] E.G. PUSH CX
SS
d. Indexed addressing
Effective address is sum of
SI or DI
Segment register is DS
E.g. MOV AX, 4[SI]
f. String addressing
Used when string related instructions are executed Uses index registers SI register points to the first byte or word of the source string DI register points to the first byte or word of the destination
4. Port addressing
Two I/O port addressing modes can be used