Port-vax archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Building current



On 2013-04-07 21:42, Mouse wrote:
You said the ashq ..., -1, ... did disassemble with not sign extended
constant,

Right.  The .s file has $-1 for that operand and the instruction stream
generated has 8f ff ff ff ff 00 00 00 00, which is immediate mode with
a value of 00000000ffffffff.

In my eyes that definitely looks like a gas bug. Why would gas generate 8f ff ff ff ff 00 00 00 00 for the immediate value -1 for a quad? That is not -1. That's a zero-extended 32-bit -1 into a 64-bit value. Do gas regard the immediate value as unsigned?

        Johnny

--
Johnny Billquist                  || "I'm on a bus
                                  ||  on a psychedelic trip
email: bqt%softjar.se@localhost             ||  Reading murder books
pdp is alive!                     ||  tryin' to stay hip" - B. Idol


Home | Main Index | Thread Index | Old Index