Hi, I'm new to 80x86 Assembler...
My question is very simple one: how should i print number on screen?
I used the following code to print ascii data:
mov ah,09h ;load code of print function
lea dx, Var ;load address of variable to be printed
int 21h ;DOS call
..........................
Var db 'SOME_DATA','$'
When i needed to define numeric data, i changed this to:
Var db 4 ; an integer to be printed
and used the same sequence to print as it was with the string data. But program printed out only unreadable set of ascii characters
What's wrong with my code?
Also,how i could print data stored in one of the registers?
Thank you in advance