我可以获得有关实模式分段的一些信息吗

发布于 2024-11-17 07:59:32 字数 310 浏览 2 评论 0原文

我一直在尝试理解分段内存,并且在这个网站上看到了这个声明:网站。第一句话是最令我困惑的。

“有趣的是,虽然段的大小为 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

勿忘心安 2024-11-24 07:59:32

这是一个令人困惑的说法。它真正的意思是,段寄存器中的值的行为就好像它后面有 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文