Masm

This is a discussion on Masm within the Tech Board forums, part of the Community Boards category; I'm just starting with masm, and I'm confused (already, ha). I run MASM.EXE test.asm and it creates test.obj. How do ...

  1. #1
    The Defective GRAPE Lurker's Avatar
    Join Date
    Feb 2003
    Posts
    949

    Masm

    I'm just starting with masm, and I'm confused (already, ha). I run MASM.EXE test.asm and it creates test.obj. How do I turn this into test.exe? Thanks, hopefully I won't have any other idiotic questions .
    Do not make direct eye contact with me.

  2. #2
    Registered User
    Join Date
    Jan 2003
    Posts
    648
    Now you need to link (using a linker, duh) that object file along with all the libraries/objects it uses and then it will create an executable.

  3. #3
    The Defective GRAPE Lurker's Avatar
    Join Date
    Feb 2003
    Posts
    949
    Sorry for the stupidity, but what program does that ?
    Do not make direct eye contact with me.

  4. #4
    Me -=SoKrA=-'s Avatar
    Join Date
    Oct 2002
    Location
    Europe
    Posts
    448
    I beleive gcc will to the trick with some flags turned on, though I can't remeber which ones.
    The linker in GCC is ld (I think), but the name will change depending on your compiler.
    SoKrA-BTS "Judge not the program I made, but the one I've yet to code"
    I say what I say, I mean what I mean.
    IDE: emacs + make + gcc and proud of it.

  5. #5
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    http://win32assembly.online.fr/

    That link will allow you to download a "masm package" with just about all you need to create full blown apps in masm

    And the tutorials on the same site will show you how to use the tools

  6. #6
    Registered User
    Join Date
    Jan 2004
    Posts
    37
    Look for a program called link.exe. It is your linker.

  7. #7
    Even death may die... Dante Shamest's Avatar
    Join Date
    Apr 2003
    Location
    Malaysia
    Posts
    970
    This question would probably have better responses at the MASM forum.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Converting MINI-BASIC in MASM over to C++?
    By Paul Panks in forum Projects and Job Recruitment
    Replies: 405
    Last Post: 07-04-2009, 05:41 PM
  2. Masm Help!
    By anirban in forum Tech Board
    Replies: 3
    Last Post: 05-30-2007, 12:05 PM
  3. VC++ 6 & MASM (eek)
    By cboard_member in forum C++ Programming
    Replies: 2
    Last Post: 07-16-2005, 10:00 AM
  4. MASM 7, wont compile.
    By Xei in forum Windows Programming
    Replies: 3
    Last Post: 01-16-2003, 03:23 PM
  5. MASM 16-Bit?
    By Brian in forum A Brief History of Cprogramming.com
    Replies: 3
    Last Post: 03-03-2002, 11:11 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21