* arm-opc.h (arm_opcodes): Use generic rule %5?hb instead of %h.
authorRichard Earnshaw <richard.earnshaw@arm.com>
Sat, 19 Jan 2002 12:27:24 +0000 (12:27 +0000)
committerRichard Earnshaw <richard.earnshaw@arm.com>
Sat, 19 Jan 2002 12:27:24 +0000 (12:27 +0000)
* arm-dis.c (print_insn_arm): Don't handle 'h' case.

opcodes/ChangeLog
opcodes/arm-dis.c
opcodes/arm-opc.h

index 37fcea5bebcef576e5454f410024ccd97d3f4998..3caef39bd180aa2402587866b9163799754a3cf0 100644 (file)
@@ -1,3 +1,8 @@
+2002-01-19  Richard Earnshaw  <rearnsha@arm.com>
+
+       * arm-opc.h (arm_opcodes): Use generic rule %5?hb instead of %h.
+       * arm-dis.c (print_insn_arm): Don't handle 'h' case.
+
 2002-01-18  Keith Walker  <keith.walker@arm.com>
 
        * arm-opc.h (arm_opcodes): Add bxj instruction.
index b2807c5325ad22a0ae445de2e3d8082e454e9f60..7e9b3309008473243ffab5e54c110a40183185a0 100644 (file)
@@ -390,13 +390,6 @@ print_insn_arm (pc, info, given)
                        func (stream, "t");
                      break;
 
-                   case 'h':
-                     if ((given & 0x00000020) == 0x00000020)
-                       func (stream, "h");
-                      else
-                        func (stream, "b");
-                     break;
-
                    case 'A':
                      func (stream, "[%s", arm_regnames [(given >> 16) & 0xf]);
                      if ((given & 0x01000000) != 0)
index 34d3b309fe89d1dce216fb1f62481e5d31594c9b..85f611d1a003d1a5c96629ed48335bcf61437cc7 100644 (file)
@@ -51,7 +51,6 @@ struct thumb_opcode
    %<bitnum>?ab                print a if bit is one else print b
    %p                  print 'p' iff bits 12-15 are 15
    %t                  print 't' iff bit 21 set and bit 24 clear
-   %h                   print 'h' iff bit 5 set, else print 'b'
    %o                  print operand2 (immediate or register + shift)
    %a                  print address for ldr/str instruction
    %s                   print address for ldr/str halfword/signextend instruction
@@ -146,8 +145,8 @@ static struct arm_opcode arm_opcodes[] =
     {0x0c500000, 0x0ff00000, "mrrc%c\t%8-11d, %4-7d, %12-15r, %16-19r, cr%0-3d"},
 
     /* ARM Instructions.  */
-    {0x00000090, 0x0e100090, "str%c%6's%h\t%12-15r, %s"},
-    {0x00100090, 0x0e100090, "ldr%c%6's%h\t%12-15r, %s"},
+    {0x00000090, 0x0e100090, "str%c%6's%5?hb\t%12-15r, %s"},
+    {0x00100090, 0x0e100090, "ldr%c%6's%5?hb\t%12-15r, %s"},
     {0x00000000, 0x0de00000, "and%c%20's\t%12-15r, %16-19r, %o"},
     {0x00200000, 0x0de00000, "eor%c%20's\t%12-15r, %16-19r, %o"},
     {0x00400000, 0x0de00000, "sub%c%20's\t%12-15r, %16-19r, %o"},
This page took 0.028868 seconds and 4 git commands to generate.