Compute the physical address for the specified operand in each of the following instructions;
Question:
Q2) Compute the physical address for the specified operand in each of the following instructions;
The register contnts and variable are as follows: (CS)= 0A00H, (DS)= 0B00H, (SS)= 0D00H, (SI)= 0FF0H, (DI)= 00B0H, (BP)= 00EAH, (IP)= 0000H , (BX)= 2500H, (SP)= 1800H.
Source operand of the instruction MOV DL, [SP+200H]
Source operand of the instruction MOV AL, [BP+SI+400H]
Destination operand of the instruction MOV [DI+SP], AX
Compute the physical address for the specified operand in each of the following instructions;The register contnts and variable are as follows: (CS)= 0A00H, (DS)= 0B00H, (SS)= 0D00H, (SI)= 0FF0H, (DI)= 00B0H, (BP)= 00EAH, (IP)= 0000H , (BX)= 2500H, (SP)= 1800H. Source operand of the instruction MOV DL, [SP+200H]Source operand of the instruction MOV AL, [BP+SI+400H] Destination operand of the instruction MOV [DI+SP], AX1. Answer
Source operand of the instruction MOV DL, [SP+200H]
MOV DL, [SP+200H]
Source address = 1800H + 200H
= 1A00H
Source operand of the instruction MOV AL, [BP+SI+400H]
MOV AL, [BP+SI+400H]
Source address = 00EAH + 0FF0H + 400H
= 14DAH
Answer
Destination operand of the instruction MOV [DI+SP], AX
MOV [DI+SP], AX
Destination address = 00B0H + 1800H
= 18B0H