One of the best "beginner's" tools is Debug (shipped with most Microsoft OS's since, I believe, DOS version 2). The interface is pretty primitive but you can write and compile small assembly programs with it... and it's FREE (if you don't count the cost of the operating system).
Help is almost non-existent but you can find ample documentation and programming examples on the Internet. This little program has been around almost since the beginning of time and it is probably the best way for a beginner to get a feel for the calls before he decides to move on to MASM or TASM.
Best of luck, and don't hurt yourself or your computer during the learning process.
[sig]<p> <br><a href=mailto: > </a><br><a href=
i'm a beginner and unable to write out the following assembly-language program. I have to use the command MASM ASSIGN1, and link the program useing the command LINK ASSIGN1. The Output from this will be executable file ASSIGN1.EXE
Question Is;
(A) the user types a digit and the program displays the smaller 9 and twice that digit followed by a new line.
(B) The user types two letters and if either of them is Y the program displays the word YES followed by a new line, otherwise it diplays NO followed by a new line
write your assembly program using a text editor and save as 'ASSIGN1.ASM'
then at the DOS prompt 'MASM ASSIGN1.ASM' will create an object file 'ASSIGN1.OBJ'
'LINK ASSIGN1.ASM' will create and exe file from the obj file.
once an exe file have been created you can run the file by typing 'ASSIGN1.EXE'
file extensions ('.ASM','.OBJ' '.EXE') are not neccessary for MASM & LINK but i have added for clarity. Your text editor will require extension.
you need to learn how the operating system provides user input and output for programs. There should be plenty of examples that came with MASM.
"People who have nothing to say, say it too loud and have little knowledge. It's the quiet ones you need to worry about!"
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.