This is the mail archive of the binutils@sourceware.cygnus.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: PATCH GAS numbers with radix in suffix


'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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]