Suppose, DS= 1000 H, BX= 1200 H, DI= 20 H, Oxyzen= 20H. Then, calculate the physical address of the source for the following instruction in real mode:
MOV DX, Oxyzen[BX+ DI].
CPU makes a calculation of physical address by multiplying the segment register by 10h and adding disp to it:
Physical Address = DS*10h + disp = 1000h*10h + disp
disp = Oxyzen + BX + DI = 0020h + 1200h + 0020h
Physical Address = 10000h + 0020h + 1200h + 0020h = 11240h
Answer: 11240h
Comments
Leave a comment