Mail Archives: djgpp/1997/10/22/12:32:02
Simon AT 2-cool DOT com wrote:
>
> Hello
>
> I want to compile asm file in RHIDE..
> It is looking for nasm.exe and I dont have that
> file nor I can find it in my archives.. what is the
> problem?
The extension .asm usually indicates Intel-style assembly language code,
and as such cannot be compiled by the normal DJGPP assembler, which uses
AT&T syntax. If you really mean to write AT&T code, you should give
your files the .S extension. If you are using Intel syntax, you can get
NASM from SimTel (I don't recall the exact URL). NASM is a freeware
assembler that can produce COFF object code (what DJGPP uses) from Intel
syntax assembly.
If you would like to learn AT&T syntax, or find out more information,
look in chapter 17 of the DJGPP Frequently Asked Questions List
(v2/faq210b.zip from SimTel or online at
http://www.delorie.com/djgpp/v2faq/), and check out Brennan's Guide to
Inline Assembly at http://www.rt66.com/~brennan/djgpp/.
hth
--
---------------------------------------------------------------------
| John M. Aldrich | "History does not record anywhere at |
| aka Fighteer I | any time a religion that has any |
| mailto:fighteer AT cs DOT com | rational basis." |
| http://www.cs.com/fighteer | - Lazarus Long |
---------------------------------------------------------------------
- Raw text -