[PATCH] x86: suppress emission of zero displacements inmemoryoperands

DJ Delorie dj@redhat.com
Fri May 6 16:55:00 GMT 2005


> Oh well, it seems a shame from the
> future-proofing-clean-design-and-maintainability point of view

Go back to the "self modifying code" part.  At that point, you've
already blown most of the benefits of maintainable code ;-)

> 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.....

  There was a program to do that job, an "optimizing assembler", but
  Mel refused to use it.

  "You never know where it's going to put things", he explained, "so
  you'd have to use separate constants".



More information about the Binutils mailing list