Professional Documents
Culture Documents
Assignment # 1
.
What is the function of this fragment of code ?
7. The following registers are used as offsets. Assuming the default segment is used to get the logical
address, give the segment register associated with each offset.
a) BP
b) DI
c) IP
d) SI
e) SP
f) BX
8. Assume that the registers have the following values (in Hex) and that CS=1A45H, DS=2A45, SS=3A45,
SI=4000, DI=5000, BX=1F49, BP=700, AX=25FF, CX=8AF91 and DX=1299. Calculate the physical
address of the memory where the operand is stored and the contents of the memory location in each of
the following addressing examples :
Page 2