; little_endian.asm
; Little endian storage type on x86 platform.
.586P
.MODEL FLAT, STDCALL
.STACK 100h ; Stack size 256 bytes
.DATA
byte0 BYTE 0EEh, 0FFh
word2 WORD 1234h
var4 DWORD 56789ABCh
var8 DWORD 0
.CODE
_start:
mov eax, OFFSET word2
mov [var8], eax
ret ; Exit program
PUBLIC _start ; Make entry point public
END