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: [RFC/RFA] Proper mnemonics for VIA PadLock (i386)instructions


>>> Thorsten Glaser <tg@66h.42h.de> 13.04.05 12:42:35 >>>
>Alan Modra dixit:
>
>>a high likelihood of breaking other valid assembly.  The gas app.c code
>>has a nasty habit of completely removing whitespace once past the
>>mnemonic of an instruction, and it can get confused.  Something like
>>
>> addr16 mov -2,%eax
>>
>>might fail if '-' is a valid mnemonic char.
>
>Can't gas be fixed, then? Sounds like the "obvious" thing to do to me.
>
>Alternatively, we'd need to make a way for a dash to be only
>recognised as part of a mnemonic if followed by a letter.

That wouldn't help either:

	.equiv two, 2
	movl -two(%ebx), %eax

would still fail.


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