This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: PATCH: Fix RIP handling for Intel mode
On Mon, Sep 17, 2007 at 10:43:54AM +0100, Jan Beulich wrote:
> Please revert this patch if you committed it already: The syntax you're trying to
> make gas accept is not being accepted by masm. In the below (32-bit) opcodes,
> all those that are commented (masm-style ;) get rejected by masm 7.00, 7.10,
> and 8.00 (didn't check any others).
>
> mov eax,[eax]
> mov eax,x[eax]
> mov eax,x+[eax]
> ; mov eax,x-[eax]
> mov eax,x+8[eax]
> ; mov eax,x-8[eax]
> mov eax,x[-8+eax]
> mov eax,x[eax-8]
> mov eax,x+8[eax+edx]
> ; mov eax,x-8[eax+edx]
> mov eax,x[-8+eax+edx]
> mov eax,x[eax+edx-8]
>
> Jan
>
Reverted.
H.J.