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 inmemoryoperands


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


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