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: PATCH: PR gas/10637: x86 assembler failed to handle [addr] in Intel mode


>>> "H.J. Lu" <hjl.tools@gmail.com> 15.09.09 15:46 >>>
>I will take a look.
>
>Please tell me which version masm you used. Mine doesn't
>take [] as immediate.

I used 8.00.50727.42, 7.10.3077, and 7.00.9466 - which all give the
same result.

>Binutils 2.15 doesn't give any warning. And the warning says

Sure - as I said, I had added this earlier due to the ambiguity (many
people, including me, assuming that [] would mean a memory
reference unconditionally, when it really doesn't in some cases,
namely when used with plain numbers).

>y.s:3: Warning: Treating `[0xEE000F0]' as memory reference
>
>What does it mean?

??? It means what is says - that the operand is being treated as a memory
reference (rather than an immediate, as which it would be taken by masm).

Jan


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