逻辑地址物理地址计算_8086微处理器中的物理地址计算问题

本文介绍了8086微处理器中逻辑地址到物理地址的计算问题。通过示例解释了如何根据CS、IP、SS、SP、BP和DS寄存器的值来确定有效内存地址。
摘要由CSDN通过智能技术生成

逻辑地址物理地址计算

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
  • 2
    点赞
  • 10
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值