x86 - Defining labels in .com files before the code itself -
x1 dw 7 x2 dw 6 org 100h mov ax,[x1] mov bx,[x2] call calc_mod (calcs modolu) mov ah,4ch int 21h
and executed .com file , got weird results, because have defined labels before actual code? allowed?
thanks!
being 20 years built .com, may wrong don't believe start @ 0x100, that's .exe.
so without jmp 0x100 @ 0x0000 you'll wierd results..
regards,
//t
Comments
Post a Comment