This is the mail archive of the crossgcc@cygnus.com mailing list for the crossgcc project.


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

Re: MIPS gas problems


Ian-

Thanks for your reply.
 
> The 4010 support was contributed by Jeff Spiegel <jeffs@lsil.com>.  I
> have no documentation on the 4010, so I just trusted what he gave me.

I saw that in the release notes, but it definitely does not agree 
with LSI Logic 4010 documentation. Thus, in my view it is wrong. Is 
he still there?


> Using $0 doesn't work because the MIPS16 doesn't support $0.  You'll
> have better luck if you use a register which exists on the MIPS16: $2
> through $7, or $16 and $17.  Other registers are available for
> specific instructions.

I was given incorrect information here. I was told that the 
MIPS16 assembly language referred to the registers by their logical 
names ($0 through $7) instead of their underlying, translated 
register names ($16, $17, $2:$7). Obviously, this is not the case, 
and it is noted as such in a footnote to a table in the LSI Logic 
documentation that I had missed. This is working fine now.

-Ken


Kenneth F. Greenberg, President
California Advanced Software Tools, Inc.
Los Gatos, CA, USA
http://www.calast.com/ken