This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: more than 10 operands in `asm'
- To: egcs-bugs at cygnus dot com
- Subject: Re: more than 10 operands in `asm'
- From: David Whitten <whitten at netcom dot com>
- Date: Thu, 5 Nov 1998 06:51:15 -0800 (PST)
- Cc: sam at inf dot enst dot fr (Samuel Tardieu)
>
> On 4/11, Jeffrey A Law wrote:
> |
> | > Why have an arbitrary limitation that really blocks people and could
> | > trivially be removed?
> |
> | Because stuff like %10 would have a different meaning after the change.
> |
>
> Why? We can still use %0 .. %9, and then %{10}, %{11}, etc. (provided %{
> has no meaning, if it has one we can choose another symbol). %10 would
> still mean %1 followed by zero, and won't break existing code.
> Sam
> --
> Samuel Tardieu -- sam@inf.enst.fr
>
I have little or no knowledge of the real issues involved here, but I
certainly would be not be in favor of %10 meaning %1 followed by 0.
This rule, while consistent, is so non-obvious, that I would consider
it a true impediment to a newbie or someone quickly scanning unfamiliar
code. If you need more than 10 operands in 'Asm', could %a %b etc be used?
Mostly clueless- Dave