AM33: SP-based offsets are zero-extended

Jeffrey A Law law@cygnus.com
Sat Apr 1 06:25:00 GMT 2000


  In message <orn1nej50a.fsf@zecarneiro.lsd.ic.unicamp.br>you write:
  > --=-=-=
  > 
  > Unlike other registers-based offsets, that are sign-expected, SP-based
  > offsets are zero-extended to 32 bits, so they must be unsigned.
  > Here's a patch that fixes this bug.  Ok to install?
  > 
  > 
  > --=-=-=
  > Content-Type: text/x-patch
  > Content-Disposition: inline; filename=am33-fix-opcodes.patch
  > 
  > Index: opcodes/ChangeLog
  > from  Alexandre Oliva  <aoliva@cygnus.com>
  > 	
  > 	* m10300-opc.c: SP-based offsets are always unsigned.
This is fine.  Can you please install a regression test into the assembler
for this bug?

Sorry I never caught this one.  I had it right for the mn103, but not any
of the am33 extensions.  Ugh.

jeff



More information about the Binutils mailing list