This is the mail archive of the binutils@sources.redhat.com 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] x86: suppress emission of zero displacements in memoryoperands


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~


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