From: "Andrew Crabtree" Newsgroups: comp.os.msdos.djgpp Subject: Re: including NASM files? Date: Mon, 18 May 1998 07:35:32 -0700 Organization: Hewlett-Packard, Roseville Lines: 27 Message-ID: <6jpgvi$ihs$1@rosenews.rose.hp.com> References: <6jp0n3$b2v$1 AT news DOT metronet DOT de> NNTP-Posting-Host: ros51675cra.rose.hp.com To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Lennart Marien wrote in message <6jp0n3$b2v$1 AT news DOT metronet DOT de>... >How can I access the macros defined in the NASM >file? Do you mean macros or functions? Functions you access just like you would any external. In nasm (assuming c), be sure to prepend an underscore to definition (.c hello = .nsm _hello). >(short example or URL or DOC would >be very nice) Believe or not the NASM maintainers thought of this and included sample source with the distribution. >And the second: >Certainly my NASM file has to be 32 Bit? (this was edited to show the relevant stuff) c:\djgpp\temp> nasm -help usage: nasm [-o outfile] [-f format] [-l listfile] [options...] filename or nasm -r for version info valid output formats for -f are (`*' denotes default): * bin flat-form binary files (e.g. DOS .COM, .SYS) coff COFF (i386) object files (e.g. DJGPP for DOS)