Jump to content
  • Advertisement
Sign in to follow this  
tjweb92

Assembly language

This topic is 4459 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I just learned the basics of assembly language like the basic commands but have one small problem. How do you tell your computer that it is asembly language. My computer teacher says to save the file as .exe but i don't know if that will work. Please help.

Share this post


Link to post
Share on other sites
Advertisement
The OS cannot directly understand assembly language, so you need an assembler. Nasm is pretty good, from what I have seen. Although, it is worth noting that various things will be different between different assemblers.

Share this post


Link to post
Share on other sites
A) Either you misunderstood your CS instructor OR
B) He should be fired this instant. Is he over 75? Might be a slightly valid excuse.

Here are a few links I found in 10 seconds on google (remember its your friend):
http://webster.cs.ucr.edu/
http://en.wikipedia.org/wiki/Assembly_language (see External Links too)

Hope that helps.

Oh, btw, you need a compiler to compile your assembly code into something the computer can use.

Mike

Share this post


Link to post
Share on other sites
You will need to compile your asm code using a suitable assembler like nasm, this will compile the source code into and executable for you.

You can't save a sourcefile of asm commands as an executable (i.e. .exe ) and expect it to do anything, it will need to be compiled.

EDIT: beaten again :)

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

Participate in the game development conversation and more when you create an account on GameDev.net!

Sign me up!