ASM compiler?

This is a discussion on ASM compiler? within the A Brief History of Cprogramming.com forums, part of the Community Boards category; In your opinion, which compiler should I use for Assembly? I've searched around, and turned out with hundreds of broken ...

  1. #1
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001

    ASM compiler?

    In your opinion, which compiler should I use for Assembly? I've searched around, and turned out with hundreds of broken links any suggestions/websites?
    thanks.
    PHP and XML
    Let's talk about SAX

  2. #2
    Registered User rahaydenuk's Avatar
    Join Date
    Jul 2002
    Posts
    69

    Re: ASM compiler?

    Originally posted by Waldo2k2
    In your opinion, which compiler should I use for Assembly? I've searched around, and turned out with hundreds of broken links any suggestions/websites?
    thanks.
    I've always preferred NASM over any of others, as it's the most low-level, and let's you get on and write pure ASM. It also produces DJGPP compatible output.

    See http://nasm.sourceforge.net for details.

    Regards,
    Richard Hayden. (rahaydenuk@yahoo.co.uk)
    Webmaster: http://www.dx-dev.com
    DXOS (My Operating System): http://www.dx-dev.com/dxos

    PGP: 0x779D0625

  3. #3
    Registered User VBprogrammer's Avatar
    Join Date
    Mar 2002
    Posts
    175
    Download NASM here - http://nasm.sourceforge.net/
    Download a Windows 32 assembler here - http://spiff.tripnet.se/~iczelion/tutorials.html

    NASM is pretty good for most things DOS and without an OS.
    VC++ 6

  4. #4
    Registered User dirkduck's Avatar
    Join Date
    Aug 2001
    Posts
    428
    I use NASM, along with ALink as a linker.

  5. #5
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    thanks for the input everyone
    PHP and XML
    Let's talk about SAX

  6. #6
    PC Fixer-Upper Waldo2k2's Avatar
    Join Date
    May 2002
    Posts
    2,001
    ok...downloaded and unzipped the binaries for nasm....i click on either of the exes and they pop up, spit out some words and exit....am i supposed to supply a source file in a command line argument or something? the exes unpacked are: nasmw.exe and ndisasmw.exe
    PHP and XML
    Let's talk about SAX

  7. #7
    Disagreeably Disagreeable
    Join Date
    Aug 2001
    Posts
    711
    Anything you want to know most likely will be found in the help files.

    >am i supposed to supply a source file in a command line argument or something?<

    Yep. Like most other compilers/assemblers, there's other options you can pass like what type of output format to use, to optimize, etc.

  8. #8
    ....
    Join Date
    Aug 2001
    Location
    Groningen (NL)
    Posts
    2,386
    There are also a lot of online manuals for NASM. Like:

    http://www.cs.colorado.edu/~main/man.../nasmdoc0.html

  9. #9
    Registered User rahaydenuk's Avatar
    Join Date
    Jul 2002
    Posts
    69
    Typing 'nasm -h' or 'nasmw -h', depending on whether you're using the Windows version or not, will list details on all of the command line options.

    Regards,
    Richard Hayden. (rahaydenuk@yahoo.co.uk)
    Webmaster: http://www.dx-dev.com
    DXOS (My Operating System): http://www.dx-dev.com/dxos

    PGP: 0x779D0625

  10. #10
    Registered User VBprogrammer's Avatar
    Join Date
    Mar 2002
    Posts
    175
    Yeah, your problem is windows closes the dos box when the program terminates, use the command line to run the file.
    VC++ 6

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. ASM to C language
    By TAZIN in forum C Programming
    Replies: 22
    Last Post: 06-03-2009, 07:29 AM
  2. Dev C++ Compiler, Indentation?
    By Zeusbwr in forum C++ Programming
    Replies: 3
    Last Post: 10-21-2004, 07:13 AM
  3. lcc win32 compiler download problems
    By GanglyLamb in forum A Brief History of Cprogramming.com
    Replies: 5
    Last Post: 08-01-2004, 08:39 PM
  4. True ASM vs. Fake ASM ????
    By DavidP in forum A Brief History of Cprogramming.com
    Replies: 7
    Last Post: 04-02-2003, 04:28 AM
  5. Inline asm - I love it!
    By wavering in forum C Programming
    Replies: 2
    Last Post: 01-08-2002, 02:19 PM

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