Professional Documents
Culture Documents
Microprocessor
8086/8088
Prof. Fayez F. M. El-Sousy
Department of Electrical Engineering
College of Engineering
Salman bin Abdulaziz University
Al-Kharj, Saudi Arabia
Prof. Fayez F. M. El-Sousy
8-bit
8-bit
OPERAND
1 to 2 byte
MOV [BP+SI], AL
MOV [BP+2], AL
Base Relative-Plus-Index
Addressing Mode
The base relative-plus-index addressing mode is similar to the
base-plus-index addressing mode, but adds a displacement
besides using a base register and an index register to form the
memory address.
This type of addressing mode often addresses a two-dimensional
array of memory data.
The data in a segment of memory are addressed by adding the
displacement to the contents of a base and an index register (BP,
BX, DI, or SI).
Examples:
MOV [BX+DI+1], AX ; move contents of AX into
DS:BX+DI+1
Physical Address = DSx10 + BX+DI+1H
MOV AX, [BX+SI+10] ; move contents of the DS:BX+SI+10
into AX
Prof. Fayez
F. M. El-Sousy Address = DSx10 + BX+SI+10H
Physical
Base Relative-Plus-Index
Addressing Mode
MOV AH, [BP+DI+3]
MOV [BP+SI+6], AL
Base Relative-Plus-Index
Addressing Mode
CS
Offset Register
IP
DS
ES
SS