This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: %dil in x86 inline asm
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Phil Endecott <spam_from_gcc at chezphil dot org>
- Cc: gcc at gcc dot gnu dot org
- Date: Wed, 25 May 2005 16:35:35 +0200
- Subject: Re: %dil in x86 inline asm
- References: <42947DFC.6050407@chezphil.org>
* Phil Endecott:
> I've found bug 10153 and its duplicates which seem to be describing
> essentially the same thing, but say that the input is invalid because it
> uses "r" rather than "q". I don't know enough about x86 to understand
> this; presumably only certain registers can be used with this
> instruction, or something.
>
The "q" registers form a proper subset of the "r" registers, precisely
those for which your assembler statement seems valid (the "a", 'b",
"c", "d" registers).
Questions of this kind sould be sent to the gcc-help mailing list.