University of Salahaddin College of Engineering Software & Informatics Dep

You might also like

Download as pdf or txt
Download as pdf or txt
You are on page 1of 8

University of Salahaddin

College of Engineering
Software & Informatics Dep.

COMPUTER ARCHITECTURE
2 N D S TA G E

A S S I S TA N T L E C T U R E R : E S I L S E M I R K H U R S H E D

[ Lec8]
2020 – 2019
Base-plus-index addressing mode
The contents of a base register (BX or BP) is
added to the contents of an index register (SI or
DI), the resulting value is a pointer to location
where data resides.

MOV AX,[BX + SI]


• MOV DX,[BX + DI]
• DS=0100H, BX=1000H and DI=0010H
• memory address 02010H is accessed because
Based-Indexed Relative Addressing Mode
• 8-bit or 16-bit bit instruction operand is added to
the contents of a base register (BX or BP) and
index register (SI or DI), the resulting value is a
pointer to location where data resides.
Summary of Addressing mode
H.W
Show the contents of the related memory
locations after the execution of this instruction :
MOV [BP][SI]+10,DX
If: DS=2000, SS=3000,CS=1000, SI=4000,
BP=7000, DX= 1299 (All hex).

You might also like