This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
Re: GCC can't count operands.
- To: law at cygnus dot com
- Subject: Re: GCC can't count operands.
- From: Tony Mantler <eek at escape dot ca>
- Date: Fri, 24 Mar 2000 21:17:55 -0600
- Cc: Alexandre Oliva <aoliva at cygnus dot com>, gcc-bugs at gcc dot gnu dot org
- Organisation: Judean People's Front; Department of Whips, Chains, Thumb-Screws, Six Tons of Whipping Cream, the Entire Soprano Section of the Mormon Tabernacle Choir and Guest Apperances of Eva Peron aka Eric Conspiracy Secret Laboratories
- References: Your message of Fri, 24 Mar 2000 19:48:45 CST. <v04003a04b501c75d2824@[24.66.67.189]>
At 8:53 PM -0600 3/24/2000, Jeffrey A Law wrote:
> In message <v04003a04b501c75d2824@[24.66.67.189]>you write:
> >
> > Parsing "%[0-9]+" doesn't strike me as being a terribly difficult.
>But %10 already has a meaning -- output operand 1 followed by the digit zero.
So in other words you coded yourselves into a corner by not defining a sane
and maintainable syntax. Good job. :P
I suppose there's lots of weird syntax quirks that prevent using a single
hex digit for the register name too.
I'd still like to know what addressing mode is used for "Register direct
with immediate base-10 digits tacked onto the end" though.
Cheers - Tony :)
--
Tony Mantler Renaissance Nerd Extraordinaire eek@escape.ca
Winnipeg, Manitoba, Canada http://www.escape.ca/~eek