PDA

View Full Version : ASM compiler?



Waldo2k2
07-13-2002, 10:06 AM
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.

rahaydenuk
07-13-2002, 10:26 AM
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,

VBprogrammer
07-13-2002, 10:28 AM
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.

dirkduck
07-13-2002, 01:54 PM
I use NASM, along with ALink as a linker.

Waldo2k2
07-13-2002, 11:11 PM
thanks for the input everyone

Waldo2k2
07-13-2002, 11:16 PM
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

Hillbillie
07-14-2002, 01:09 AM
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.

Shiro
07-14-2002, 03:07 AM
There are also a lot of online manuals for NASM. Like:

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

rahaydenuk
07-14-2002, 03:30 AM
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,

VBprogrammer
07-14-2002, 11:52 AM
Yeah, your problem is windows closes the dos box when the program terminates, use the command line to run the file.