Sign in to follow this  

Assembly language

This topic is 4303 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
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

This topic is 4303 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.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this