views:

126

answers:

2

Hello,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 :-)

+2  A: 

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

bcat
+2  A: 

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.

Pascal Cuoq