View Single Post
Old Nov 28th, 2004, 11:23 AM   #1
lepricaun
Hobbyist Programmer
 
lepricaun's Avatar
 
Join Date: Aug 2004
Location: The Netherlands
Posts: 111
Rep Power: 5 lepricaun is on a distinguished road
hi all,

i'm having trouble printing numbers to the screen:

.model small
.stack
.data
.code 

start:

mov ah,02h
mov dl, 48
int 21h

mov ax,4c00h
mov int 21h

end start
this code will print the character '0' to the screen, but how i can i let my code print the contents of dl (48) to the screen instead?

thanks in advance,

Kind regards
__________________
http://www.white-scorpion.nl
lepricaun is offline   Reply With Quote