www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/12/23:37:31

From: "AndrewJ" <luminous-is AT home DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <3 DOT 0 DOT 6 DOT 32 DOT 20000412215644 DOT 007acb70 AT pop DOT crosswinds DOT net>
Subject: Re: AT&T inline assembler...
Lines: 19
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
Message-ID: <xIbJ4.181455$Hq3.4309785@news2.rdc1.on.home.com>
Date: Thu, 13 Apr 2000 04:05:49 GMT
NNTP-Posting-Host: 24.42.120.18
X-Complaints-To: abuse AT home DOT net
X-Trace: news2.rdc1.on.home.com 955598749 24.42.120.18 (Wed, 12 Apr 2000 21:05:49 PDT)
NNTP-Posting-Date: Wed, 12 Apr 2000 21:05:49 PDT
Organization: @Home Network Canada
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

> Hello, I have searched the FAQs and the mailing lists and have come up with
> nothing on links to the AT&T assembler programming method, how to do inline
> assembler with DJGPP, or how to use NASM with DJGPP.  Any help would be
> appreciated.  Thanks!

I can't help you with DJGPP's inline assembler or AT&T syntax assembler, but to
use NASM you just code up your assembler module and assemble it using the -f
coff option to output the appropriate object file format.  As far as details
such as parameter passing methods and such, I can't help you there either, but
I believe it uses the normal DOS 'C' method where all arguments are passed on
the stack from left to right with return values being placed in EAX.  Some of
the more learned people here can probably provide more information than that.

If you want a hard way to learn AT&T assembler, take a look at the library
source code package (DJLSR203ZIP)

AndrewJ


- Raw text -


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