MOV BX,[SI] - ASM 问题

发布于 2024-08-31 11:09:39 字数 99 浏览 3 评论 0 原文

我在高中时正在理论上学习 ASM 8086。
当我这样做时:
MOV BX,[SI]
SI+1是去BH还是BL?
谢谢你:-)

I'm studying ASM 8086 theoretically on highschool.
And when I do this:

MOV BX,[SI]

is SI+1 going to BH or BL?

Thank you :-)

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

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

发布评论

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

评论(2

在你怀里撒娇 2024-09-07 11:09:39

内存位置 SI + 1 处的字节将存储在寄存器 BH 中,因为 x86 是 小端

The byte at memory location SI + 1 will be stored in the register BH because x86 is little endian.

丘比特射中我 2024-09-07 11:09:39

我认为你的问题是关于 x86 的 endianness ,答案是它很小 - endian:地址 SI 处的字节转到 BL。 SI+1 处的字节进入 BH。

I think your question is about the endianness of x86, and the answer is that it is little-endian: the byte at address SI goes to BL. The byte at SI+1 goes to BH.

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