* hppa-dis.c (print_insn_hppa): Add cases for '.', '~'. '$'. and '!'
authorJeff Law <law@redhat.com>
Sat, 28 Aug 1999 06:45:18 +0000 (06:45 +0000)
committerJeff Law <law@redhat.com>
Sat, 28 Aug 1999 06:45:18 +0000 (06:45 +0000)
opcodes/ChangeLog
opcodes/hppa-dis.c

index 6efe11510bed3dfb6f41c265577928122a894562..1eb76f04e9ac034d38f19a86a217fb2d977e91df 100644 (file)
@@ -1,5 +1,7 @@
 Sat Aug 28 00:27:24 1999  Jerry Quinn <jquinn@nortelnetworks.com>
 
+       * hppa-dis.c (print_insn_hppa): Add cases for '.', '~'. '$'. and '!'
+
        * hppa-dis.c (print_insn_hppa):  Look at next arg instead of bits
        to decide to print a space.
 
index 2e68f347411b6ee9a3b100a38752e2704c6d3589..f73fa9f99f27541c827eda8656c73984f7d9ad62 100644 (file)
@@ -614,10 +614,22 @@ print_insn_hppa (memaddr, info)
                     of address.  */
                  fput_const (extract_17 (insn), info);
                  break;
+               case '.':
+                 (*info->fprintf_func) (info->stream, "%d",
+                                   GET_FIELD (insn, 24, 25));
+                 break;
                case 'p':
                  (*info->fprintf_func) (info->stream, "%d",
                                    31 - GET_FIELD (insn, 22, 26));
                  break;
+               case '~':
+                 {
+                   int num;
+                   num = GET_FIELD (insn, 20, 20) << 5;
+                   num |= GET_FIELD (insn, 22, 26);
+                   (*info->fprintf_func) (info->stream, "%d", 63 - num);
+                   break;
+                 }
                case 'P':
                  (*info->fprintf_func) (info->stream, "%d",
                                    GET_FIELD (insn, 22, 26));
@@ -626,6 +638,9 @@ print_insn_hppa (memaddr, info)
                  (*info->fprintf_func) (info->stream, "%d",
                                    32 - GET_FIELD (insn, 27, 31));
                  break;
+               case '$':
+                 fput_const (GET_FIELD (insn, 20, 28), info);
+                 break;
                case 'A':
                  fput_const (GET_FIELD (insn, 6, 18), info);
                  break;
This page took 0.02626 seconds and 4 git commands to generate.