[PATCH] x86: suppress emission of zero displacements inmemoryoperands
Dave Korn
dave.korn@artimi.com
Fri May 6 16:50:00 GMT 2005
----Original Message----
>From: DJ Delorie
>Sent: 06 May 2005 17:41
>> What if someone wants to write self-modifying code that stores
>> varying offsets into that field?
>
> Being one of those people, the answer is "use .byte".
>
> We don't trust assemblers (or linkers) to be dumb any more.
Oh well, it seems a shame from the
future-proofing-clean-design-and-maintainability point of view to have to
hard code opcode values as hex constants in your program when you have a
handy assembler right there that could do the work for you.....
cheers,
DaveK
--
Can't think of a witty .sigline today....
More information about the Binutils
mailing list