* m68k-pinsn.c (print_insn_arg): Make branch offsets be signed.

This commit is contained in:
Stu Grossman 1992-04-24 14:45:53 +00:00
parent 7b42a5d9ff
commit 72b1aa3096
2 changed files with 5 additions and 1 deletions

View File

@ -1,3 +1,7 @@
Fri Apr 24 07:41:19 1992 Stu Grossman (grossman at cygnus.com)
* m68k-pinsn.c (print_insn_arg): Make branch offsets be signed.
Thu Apr 23 18:43:17 1992 Fred Fish (fnf@cygnus.com)
* tm-29k.h: Set DECR_PC_AFTER_BREAK to 0, as 29ks have nice

View File

@ -315,7 +315,7 @@ print_insn_arg (d, buffer, p, addr, stream)
if (place == 'b')
val = NEXTBYTE (p);
else if (place == 'B')
val = buffer[1];
val = ((char *)buffer)[1];
else if (place == 'w' || place == 'W')
val = NEXTWORD (p);
else if (place == 'l' || place == 'L')