Page 1 of 1

install ?

Posted: Sun Nov 03, 2002 12:00 am
by satheesh
how to i am install TASM & NASM compiler
how to compile my ASM program plz help any body

satheesh
[email protected]

RE:install ?

Posted: Mon Nov 04, 2002 12:00 am
by carbonBased
With all due respect, if you're just getting into assembly language programming, I really wouldn't recommend attempting to develop an operating system.

However, as per your question; nasm is installed simply by unzipping the archive, and posssibly compiling (did you get the source archive?  If so... uhm... Read The DOCS!  "make").

I haven't used TASM in quite a while, although I still have a _registered_ version of 4.0, which came with its own installation program.  I'm assuming all other versions would as well (ie, just type "install" would probably suffice).

Assembling is a simple matter of:
tasm file.asm -o file.obj
or
nasm file.asm -o file.[ext]
where .ext can be any supported output format (binary, elf, coff, etc).  Make sure you set that format with... uhm... -f, I believe.  Again, read the docs dude.  All this information is available in the zip's... how do you think the rest of us did it?

Which assembler do you have, or do you have both?  Nasm is a considerable better assembly then the free version of tasm floating around, in my opinion.  However, I mean no disrespect to TASM... I love that assembler, and if you can get a new version (ie, pay for it), it's worth the money.  Borland doesn't make bad products! :)

Jeff

RE:install ?

Posted: Mon Nov 11, 2002 12:00 am
by Anonymous
>However, as per your question; nasm is installed simply by unzipping the archive, and posssibly compiling

there are ready-to-run binaries on the sourceforge site

>Nasm is a considerable better assembly then the free version of tasm
  floating around, in my opinion.

agreed, but I don't think there's a "free" version of Borland's TASM -- unless you mean warez.
it's still commercial software. there's another TASM ("Table ASseMbler") which is free, I think

MASM is free but you gotta download windows SDK and dig it out of the archives
http://users.easystreet.com/jkirwan/pctools.html