Hi,
I am learning ASM and have encountered a problem.
I have the following statements. When debugging I am seeing that the value in AL is not being inserted as 02h. On the other hand if I change "mov al, [myNumber]" to "mov al, 02h", I get the desired value.
Can any one please help?
.model small
.stack
.data
myNumber db 2
.code
jmp start
start:
mov al, [myNumber]
mov ax,4c00h
int 21h
end start
Thanks in advance,