Hi,
I have a problem with using variables in assembly.
I´m new to assembly and I am trying to use Roby´s programming tutorial: http://geocities.com/SiliconValley/Park/3230/x86asm/asml1001.html
The problem is that when I have declared a variable and try to move it. For example:
ideal
p286n
model tiny
codeseg
org 100h
var1 dw 2244h
entry:
jmp start
start:
mov bx, [var1]
mov ax, 4c00h
int 21h
end entry
And then debug it. It seems like the variable is blank: 0000
Am I missing something, is there no problem or is it something completely different?
Hope you can help thanks :)