delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/07/19:24:02

From: Nate Eldredge <neldredge AT hmc DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ASM dans DJGPP
Date: Tue, 07 Sep 1999 13:47:18 -0700
Organization: Harvey Mudd College
Lines: 47
Message-ID: <37D579D6.2430AF94@hmc.edu>
References: <7r3epu$8cg$1 AT wanadoo DOT fr>
NNTP-Posting-Host: mercury.st.hmc.edu
Mime-Version: 1.0
X-Trace: nntp1.interworld.net 936737243 65861 134.173.45.219 (7 Sep 1999 20:47:23 GMT)
X-Complaints-To: usenet AT nntp1 DOT interworld DOT net
NNTP-Posting-Date: 7 Sep 1999 20:47:23 GMT
X-Mailer: Mozilla 4.08 [en] (X11; I; Linux 2.2.12pre4 i586)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Mathieu.LAROYE wrote:
> 
> Peut t'on compiler les commande ASM appellée dans un source C++ avec Nasm
> sur DJGPP.
> Car l'ASM de DJGPP est assez bizard.
> A+
> Mathieu

Well, I don't speak French, but here's what Babelfish
(http://babelfish.altavista.digital.com) made of that:

Can you one compile command ASM appellée in a C++ source with Nasm on
DJGPP. Because the ASM of DJGPP is enough bizard. A+ Mathieu 

I assume from context "appellée" = "inline".

And my response:

Not practically.  There is a project to let NASM be used as GCC's back
end, but it doesn't work completely.  So if you want to use inline
assembler, you're essentially stuck with GAS and the AT&T syntax for
now.

You can, of course, write entire functions with NASM and link them in
afterward.

And my response translated into French by Babelfish (beware, French
speakers, it's probably incomprehensible, hilarious, or both):

Et ma réponse traduite en Français par Babelfish (prenez garde, les
haut-parleurs français, il est probablement incompréhensible, hilare, ou
tous deux): 

Pas pratiquement. Il y a un projet laissent NASM être utilisé car GCC's
soutiennent l'extrémité, mais cela ne fonctionne pas complètement. Ainsi
si vous voulez utiliser l'assembleur intégré, vous êtes essentiellement
coincés avec le GAZ et la syntaxe d'cAt&t pour maintenant.

Vous pouvez, naturellement, écrire des fonctions entières avec NASM et
les joindre dedans après. 

(Hmm... I tried retranslating it and it makes partial sense, but only
partial mind you.  :)
-- 

Nate Eldredge
neldredge AT hmc DOT edu

- Raw text -


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