Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

right

ASM Newb Tasm Question - How to make .exe files?

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

Ok with my TASM compiler, I''ve gotten as far as compiling an .obj file from an .asm file with the command line. How do I compile an .exe file?

Share this post


Link to post
Share on other sites
Advertisement
Guest Anonymous Poster
I dont know about TASM, but some assemblers have the option to go straight to an EXE.

Share this post


Link to post
Share on other sites
Ok I have the linker working, but when I try to link any .obj files, it says "No entry point". Jeez now what?

Share this post


Link to post
Share on other sites
You need to define an entry point. _main or main might be the default (or it might be startup, entry etc.), or you should be able to specify the entrypoint in the linker options.

The entrypoint is just another label in your code, e.g.:


_main:
mov ax,bx
ret


It is the first code label jumped to when the your program starts.

You'll need to look in your linkers docs to find out the default or how to specify your own.



[edited by - JuNC on September 23, 2003 7:58:18 AM]

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

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

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!