逻辑地址物理地址计算
Q1) The value of Code Segment (CS) Register is 4042H and the value of different offsets is as follows:
BX: 2025H , IP: 0580H , DI: 4247H
Calculate the effective address of the memory location pointed by the CS register.
Q1)代码段(CS)寄存器的值为4042H,不同偏移量的值如下:
BX:2025H,IP:0580H,DI:4247H
计算CS寄存器指向的存储器位置的有效地址。
Ans:
答:
The offset of the CS Register is the IP register.
CS寄存器的偏移量是IP寄存器。
Therefore, the effective address of the memory location pointed by the CS register is calculated as follows:
因此,CS寄存器所指向的存储位置的有效地址的计算如下:
Effective address= Base address of CS register X 10H + Address of IP
有效地址= CS寄存器的基地址X 10 H + IP地址
= 4042H X 10H