×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Just beginning Assembly Language

Just beginning Assembly Language

Just beginning Assembly Language

(OP)
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

RE: Just beginning Assembly Language

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.



A plain black box
Don't sit down. It's time to dig another one.

RE: Just beginning Assembly Language

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

RE: Just beginning Assembly Language

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!"

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close