This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: Add a warning for some problematic MIPS constants


On Wed, 19 Sep 2007, Daniel Jacobowitz wrote:

> The cases I'm trying to warn about are instructions that do not have a
> clear explicit width.  For instance, "li" and "dli" are obvious, but
> bne and sltu are not.  If you write "bne $4,0x80000000,label" gas
> zero extends the constant, and Diab sign extends it.

 So is there a way to express 2147483648 as a hexadecimal number with this 
macro with that Diab tool?

  Maciej


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