[SH]: prepending $ to register names

Nick Clifton nickc@redhat.com
Fri Sep 30 15:05:00 GMT 2005


Hi Khem,

> I have a question regrading SH assembly. Is it required to have '$' 
> prepended to register names?.

At the moment: "No".

> There was some discussion about it in the following URL.
> http://sourceforge.net/mailarchive/forum.php?forum_id=5348&max_rows=25&style=nested&viewmonth=200011 
> but the patch posted there is not applied in binutils

I would be prepared to accept a variant of that patch whereby requiring 
a "$" register prefix was controlled by a GAS command line switch, 
(which defaults to off).  That way the current behaviour can be 
preserved, but the more useful behaviour (of requiring the prefix) can 
be enabled if the user so desires.

Cheers
   Nick




More information about the Binutils mailing list