hello,please help me with code DEBUG create .com

Started by fernando, May 21, 2005, 02:18:31 AM

Previous topic - Next topic

fernando

help, friends

this is my code

####:0100 mov cx,100
####:0103 movdl,0
####:0105 mov ah,2
####:0107 int 21
####:0109 inc dl
####:010B loop 105
####:010D int 20
####:010F

this show: CODE ASCII
using DEBUG.exe  ,, i want doing changes for do,,,

1º show  ABCDE012345abcde
2º  do pítido(speaker pc)

thanks you

oscaracad@hotmail.com

AeroASM

Quote from: fernando on May 21, 2005, 02:18:31 AM
1º show ABCDE012345abcde
2º do pítido(speaker pc)

1. You have two options: you can find out the ASCII code for each letter and output it  using int 21 ah = 2, or you can print the whole string at once with int 21 ah = 9

2. This depends on whether you are in real dos mode or you are in windows command.com or cmd.exe.