I am new to ASM. I have question regarding how data saved in memory.
Here is my ASM 16 bit code
;db.com
.model small
.code
org 100h
start:
jmp proses
A db '123'
B dw 0abcdh
proses:
int 20h
end start
Then I try to debug with -d
command
The above picture shown that A
variable in correct order in hexa value, but B
variable in CD
then AB
.
My question is why data in A
variable saved differently with B
variable can you please explain me?