简体   繁体   English

MOV BX,[SI] - ASM问题

[英]MOV BX,[SI] - ASM question

I'm studying ASM 8086 theoretically on highschool. 我正在高中学习ASM 8086。
And when I do this: 当我这样做时:
MOV BX,[SI]
is SI+1 going to BH or BL? 是SI + 1进入BH还是BL?
Thank you :-) 谢谢 :-)

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

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. 我认为你的问题是关于x86的字节序 ,答案是它是little-endian:地址SI的字节转到BL。 The byte at SI+1 goes to BH. SI + 1处的字节转到BH。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM