我可以获得有关实模式分段的一些信息吗
我一直在尝试理解分段内存,并且在这个网站上看到了这个声明:网站。第一句话是最令我困惑的。
“有趣的是,虽然段的大小为 64KB,但它们在内存中间隔 16 个字节。如果您了解段所采取的过程,那么这对您来说应该很有意义。由于段寄存器的内容构成物理地址的 16 个高位,因此它始终可以被 16 整除,并且其最低 4 位设置为零。”
我不明白 64KB 段如何仅间隔 16 个字节......
I have been trying to understand segmented memory and I came across this statement on this website: website. The first sentence is the most confusing to me..
"Interesting to note is the fact that although segments are 64KB in size, they are spaced 16 bytes apart in memory. This should make perfect sense to you if you understand the procedure taken by the processor when it calculates physical addresses in real-mode. Since the content of a segment register forms the 16 high-order bits of a physical address, it is always divisible by 16 and has its lowest four bits set to zero."
I don't understand how 64KB segments are spaced only 16 bytes apart...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是一个令人困惑的说法。它真正的意思是,段寄存器中的值的行为就好像它后面有 4 个零位;即段地址0345H对应物理地址03450H。
It is a confusing statement. What it's really saying is that the value in a segment register behaves as if there are 4 zero bits after it; that is, a segment address 0345H corresponds to the physical address 03450H.