I am really new to assembly programming and i am learning to experiment with the few things i am learning by myself and class. So, my goal is to display a number stored in a register. When i run the program, it displays the character value of the number, so if i were to display the number itself how would i do that. Here is my code, please kindly suggest me where i made my mistake. Until now we have been taught the move instructions and few other basic things in assembly.
#fasm#
mov ah,2
mov bh,66
add bh,1
mov dl,bh
int 21h
int 20h
You can use win32 api (example below). I would suggest you to search for Iczelion tutorials. They're in MASM. FASM Iczelion examples are here.