Message-ID: <35CBD379.BCC6ADDD@erols.com> Date: Sat, 08 Aug 1998 00:26:34 -0400 From: TIm Kubista MIME-Version: 1.0 To: "djgpp AT delorie DOT com" Subject: Re: asm questions References: <199808060600 DOT HAA25119 AT sable DOT ox DOT ac DOT uk> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Precedence: bulk the link is http://users.ox.ac.uk/~mert0407/asmfuncs.txt gary sekinger wrote: > 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