delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/08/07/15:01:48

From: "gary sekinger" <sekinger AT iname DOT com>
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: <lMHy1.823$8l2.1820498@news.sgi.net>
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

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


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019