什么是段落(当涉及内存时)
我觉得问一些看起来应该很容易查找的问题很愚蠢,但正如您可能猜到的那样,搜索段落会得到很多与我想知道的内容无关的结果。
过去几天我一直在学习汇编(编写一个小型引导加载程序,诸如此类的练习),并且我看到了一些对称为段落的内存块的引用。我有一个遥远的记忆,一个段落是两个词,但我真的不确定。段落到底是什么?它的意义是什么?
I feel silly for asking something that seems like it should be so easy to look up, but as you might guess, searching for paragraph gets a lot results that have nothing to do with what I want to know.
I've been learning assembly these past few days (writing a tiny bootloader, that sort of practice stuff) and I've seen a few references to chunks of memory called a paragraph. I have a distant memory that a paragraph is two words, but I'm really not sure. What exactly is a paragraph and what is its significance?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
一个段落是16个字节。它主要(如果不是唯一的话)与 x86 实模式相关,在该模式中,它是当您将段寄存器递增/递减 1 时获得的两个地址之间的距离。
A paragraph is 16 bytes. It's relevant primarily (if not exclusively) in x86 real mode, where it's the distance between two addresses you get when you increment/decrement a segment register by one.