Esto es solo una curiosida ampliando los datos de la wikipedia.
https://es.wikipedia.org/wiki/Endianness
En ASM.
; Little-Endian ó Big-Endian
; Juan fary.
format PE Console 4.0
entry start
include 'win32ax.inc'
section '.data' data readable writeable
numero dw 1
little_endian db 'Little-Endian!',0
big_endian db 'Big-Endian!',0
section '.code' code readable writeable executable
start:
mov al, byte[numero]
cmp al,1
jne Big
invoke MessageBoxA,0,little_endian,0,MB_OK
ret
Big:
invoke MessageBoxA,0,big_endian,0,MB_OK
ret
section '.idata' import data readable writeable
library User32,'User32.dll'
import User32,\
MessageBoxA,'MessageBoxA'
saludos.