delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/09/08/07:25:41

From: broeker AT acp3bf DOT knirsch DOT de (Hans-Bernhard Broeker)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ASM dans DJGPP
Date: 8 Sep 1999 13:13:08 +0200
Organization: RWTH Aachen, III. physikalisches Institut B
Lines: 49
Message-ID: <7r5gc4$7s5@acp3bf.knirsch.de>
References: <7r3epu$8cg$1 AT wanadoo DOT fr> <37D579D6 DOT 2430AF94 AT hmc DOT edu>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 936789193 8011 137.226.32.75 (8 Sep 1999 11:13:13 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 8 Sep 1999 11:13:13 GMT
X-Newsreader: TIN [version 1.2 PL2]
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Nate Eldredge (neldredge AT hmc DOT edu) wrote:
> 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.

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

As usual, Babelfish's result is rather horrible :-( I'll apply my
rusted knowledge of French (13 years since my last lesson at
school...) and make a proper translation from it...

> 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 

In 'real' English, it'd be:

	Can you compile ASM commands called in a C++ source with Nasm
	in DJGPP? The ASM used by DJGPP is too bizarre for me.

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

By my understanding, it isn't. "appeller" is "to call" in the sense of
"give a name" (and maybe others). "Call me Ishmael" would be
"appellez-moi Ishmael", in Frensh.

The answer, in (what my rusty memory thinks is) French, would be:

Oui, c'est possible. On peut écrire des routines complètes utilisant
NASM, et il est possible de les utiliser dans des logiciels produits
avec DJGPP. Mais il n'est pas possible d´écrire des routines "inline"
avec NASM. Ces routines doivent être mettez _dans_ l'ASM produits par
GCC, donc ils doivent être ecrit en GCC ASM (alias AT&T).

('validated' and 'tuned' by Babelfish to at least contain no spelling
errors or major grammatical nonsense :-)

For cross-check of the content of my answer, I state that NASM *can*
be used for writing stand-alone ASM routines, but not for inline
assembly. The latter may not strictly be true, given the rumoured
existence of a NASM-generating gcc version, but I didn't mention that
in the French part.



-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


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