[PATCH] x86: suppress emission of zero displacements in memoryoperands
Richard Henderson
rth@redhat.com
Fri May 6 19:35:00 GMT 2005
On Fri, May 06, 2005 at 02:56:52PM +0100, Dave Korn wrote:
> Nothing the user _explicitly_ specifies should ever be discarded IMO.
> What if someone wants to write self-modifying code that stores varying
> offsets into that field?
I agree, unfortunately the i386 assembler doesn't have the length
specifiers that the m68k assembler does. So if you really wanted
to write self-modifying code, you'd have to write 0x12345678 or
some other constant that forces the size encoding you need.
r~
More information about the Binutils
mailing list