i am new to asm and emu86. i wrote the folowing code
org 100h
;variabls
var1 dw 21
;start of the program
main:
mov ax,var1
however when i am emulate ax stores the value a100h
i am expecting to ax to be 21 but instead ax stores the value 0xa100.
what did i do wrong?
i declared var1 to be equal 21 and moved it to ax. but somehow ax equal 0xa100