quicksilver_1931
February 8th, 2006, 09:35 PM
hi, can someone please help me in my program. I'm new to the debug.com environment and our prof are lame in teaching it.
I would like to create a program where i can input a string(like my name) (Please enter your name) and the output would be (hello (my name) )
here is the code that i make, but i feel like something is missing, kindly please help me.
a200
db 0d,0a,"Please enter your name: $"
a300
db 0d,0a,"Hello $"
a100
mov ah,09
mov dx,200
int 21
mov ah,0a
int 21
mov ah,09
mov dx,300
int 21
int 20
i want the program to be:
Please enter your name: mark
Hello mark!
*I know something is missing in the string input but i don't know what.. Help please...
I would like to create a program where i can input a string(like my name) (Please enter your name) and the output would be (hello (my name) )
here is the code that i make, but i feel like something is missing, kindly please help me.
a200
db 0d,0a,"Please enter your name: $"
a300
db 0d,0a,"Hello $"
a100
mov ah,09
mov dx,200
int 21
mov ah,0a
int 21
mov ah,09
mov dx,300
int 21
int 20
i want the program to be:
Please enter your name: mark
Hello mark!
*I know something is missing in the string input but i don't know what.. Help please...