|
-
October 1st, 2003, 11:21 PM
#1
Assembler and String output
I am working on a project and am really confused on how to output a series of strings. Here is the spec:
We are supposed to have a prompt that asks the user "Enter your name" then the user enters a string. When the user hits enter, the program displays "Hello(string), Do you like ASM? (Y/N)?" When the user presses Y, the program returns "You are one smart dude!" and return control to DOS. If the user presses N, then the program returns "Then take an art class" and return control to DOS.
Asking the question and having the program force y/n characters force to lowercase is easy. Displaying the yes and no conditions are easy. However, I am having trouble finding snippets on how to get the program to accept a string, output a string that says "Hello(inputted string) Do you like assembler?" into one output for the user to choose y or n.
Any help would be appreciated.
edit: I am learning using the 8088 instruction set and registers using TASM 1.1.
And Yes, I am Googling as we speak. :P
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|