2001-07-13 Philip Blundell <philb@gnu.org>
authorPhil Blundell <philb@gnu.org>
Mon, 16 Jul 2001 19:04:31 +0000 (19:04 +0000)
committerPhil Blundell <philb@gnu.org>
Mon, 16 Jul 2001 19:04:31 +0000 (19:04 +0000)
* arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR.

opcodes/ChangeLog
opcodes/arm-dis.c

index be15b43673777fdc4a0d69165da80df97bf4abdd..8c81cf88ce622d5749b86cbe73d18868154ef3bb 100644 (file)
@@ -1,3 +1,7 @@
+2001-07-13  Philip Blundell  <philb@gnu.org>
+
+       * arm-dis.c (print_insn_arm): Use decimal for offsets in LDR/STR.
+
 2001-07-12  Jeff Johnston  <jjohnstn@redhat.com>
 
         * cgen-asm.in: Include "xregex.h" always to enable the libiberty
index 9d280a17b79581d9768d81d7e8f91d0da389f796..a36dd1ab7587f27462b36b8e4e1af9d0f598cc94 100644 (file)
@@ -201,7 +201,7 @@ print_insn_arm (pc, info, given)
                                offset = - offset;
                          
                              /* pre-indexed */
-                             func (stream, ", #%x]", offset);
+                             func (stream, ", #%d]", offset);
 
                              offset += pc + 8;
 
@@ -215,7 +215,7 @@ print_insn_arm (pc, info, given)
                          else
                            {
                              /* Post indexed.  */
-                             func (stream, "], #%x", offset);
+                             func (stream, "], #%d", offset);
 
                              offset = pc + 8;  /* ie ignore the offset.  */
                            }
@@ -280,7 +280,7 @@ print_insn_arm (pc, info, given)
                          if ((given & 0x00800000) == 0)
                            offset = -offset;
                          
-                         func (stream, "[pc, #%x]\t; ", offset);
+                         func (stream, "[pc, #%d]\t; ", offset);
                          
                          (*info->print_address_func)
                            (offset + pc + 8, info);