Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Just beginning Assembly Language

Status
Not open for further replies.

swilliams

Programmer
Aug 23, 2000
583
0
0
BM
Hello,
Can anyone tell me what I need installed on my computer to 1. write, 2. run and 3. package Assembly programs.

I am a complete beginner in Assembly Language, and so the more descriptive any answers are the better.

Thanks in advance,

Simon [sig][/sig]
 
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= plain black box</a><br>Don't sit down. It's time to dig another one.[/sig]
 
Hi,

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.
&quot;People who have nothing to say, say it too loud and have little knowledge. It's the quiet ones you need to worry about!&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top