5

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

starblue
  • 55,348
  • 14
  • 97
  • 151
Tal
  • 303
  • 1
  • 6
  • 11

2 Answers2

4

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

bcat
  • 8,833
  • 3
  • 35
  • 41
3

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
  • 79,187
  • 7
  • 161
  • 281