This is the mail archive of the
binutils@sourceware.cygnus.com
mailing list for the binutils project.
Re: PATCH GAS numbers with radix in suffix
- To: DJ Delorie <dj at delorie dot com>
- Subject: Re: PATCH GAS numbers with radix in suffix
- From: Timothy Wall <twall at domesolutions dot com>
- Date: Mon, 07 Feb 2000 13:37:48 -0500
- CC: binutils at sourceware dot cygnus dot com, nickc at cygnus dot com
- Organization: Dome Solutions
- References: <389F0902.3760E3DD@domesolutions.com> <200002071809.NAA21847@envy.delorie.com>
'T' for base ten is not included. No suffix (or prefix) is assumed to be
base 10. Those of you who have a different number of fingers and toes
may complain about the default.
Leading zeros are not required. A leading zero without a suffix is still
interpreted as octal.
Prefixes take precedence over suffixes.
Case is ignored on suffixes.
This is basically an extension of the suffixes allowed by MRI mode, so
the same general rules will apply. I'll add the notes to internal.texi.
DJ Delorie wrote:
> What about `T' for base 10?
>
> The examples only show numbers with leading zeros. Does it work with
> other leading digits?
>
> What happens with numbers like 0x1b ?
>
> Is case ignored for these suffixes?