delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2002/03/01/12:15:04

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: extended asm problems (bug???)
Date: 1 Mar 2002 17:12:28 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 21
Message-ID: <a5ocps$bol$1@nets3.rz.RWTH-Aachen.DE>
References: <3c7faa96$1 AT news DOT qgraph DOT com>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1015002748 12053 137.226.32.75 (1 Mar 2002 17:12:28 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 1 Mar 2002 17:12:28 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Michael Sisco <michael DOT sisco AT qtiworld DOT com> wrote:

> What is the definitive text on using extended asm with DJGPP?

The GCC documentation of course.  If all else fails, the GCC source
code.

In your problem 1), e.g., I would strongly suspect you got the "g"
constraint wrong there, but only a look into the GCC docs will tell.

> 3) Hopefully simple: We have been unable to use any labels within an __asm__
> block other than numbers(i.e. 0:, 1:, 23:). Is this a real limitation, or
> are we missing something?

Even it were a limitation, it's not a very important one.  No extended
asm block should ever be large enough to need non-numeric labels and
local references to those.  If it ever gets that large, it definitely
had better be in a separate, assembly-only source file, as a function.
-- 
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