From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: ASM Date: Sun, 19 Oct 1997 16:55:34 +0000 Organization: Two pounds of chaos and a pinch of salt Lines: 32 Message-ID: <344A3B86.2310@cs.com> References: <877031557 DOT 10545 AT dejanews DOT com> Reply-To: fighteer AT cs DOT com NNTP-Posting-Host: ppp206.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk 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 | ---------------------------------------------------------------------