From: "gary sekinger" Newsgroups: comp.os.msdos.djgpp References: <199808060600 DOT HAA25119 AT sable DOT ox DOT ac DOT uk> Subject: Re: asm questions Lines: 35 Message-ID: Date: Fri, 07 Aug 1998 18:33:53 GMT NNTP-Posting-Host: m21-vp06.sgi.net NNTP-Posting-Date: Fri, 07 Aug 1998 14:33:53 EDT Organization: Stargate Industries, LLC. To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk I'd love to read the tutorial but this link isn't valid: http://users.ox.ac.uk/asmfuncs.txt what is the the correct link? --grs George Foot wrote in message <199808060600 DOT HAA25119 AT sable DOT ox DOT ac DOT uk>... On 6 Aug 98 at 0:47, TIm Kubista wrote: > In DJgpp, how can i compile a program that i wrote in asm?? Did you write it in AT&T format, in a .s or .S file, with the appropriate style? If so, you just pass it to the compiler as if it were a .c file. Use .S files if you want it to be preprocessed (so you can use #include, #define, etc) first. If you didn't do all of the above, but are still using AT&T format, you might like to look at a mini tutorial I wrote about writing assembly language modules in djgpp, at: http://users.ox.ac.uk/asmfuncs.txt It explains things like calling conventions, debugging information, and stack frames. If you're using Intel format then you need to either switch to AT&T format, or use NASM to compile your code. I don't know anything about NASM though. -- george DOT foot AT merton DOT oxford DOT ac DOT uk