* h8300-dis.c (bfd_h8_disassemble): "abs" is implicitly two
authorJeff Law <law@redhat.com>
Thu, 11 Jul 1996 18:46:41 +0000 (18:46 +0000)
committerJeff Law <law@redhat.com>
Thu, 11 Jul 1996 18:46:41 +0000 (18:46 +0000)
        if the next arg is marked with SRC_IN_DST.  Gross.
Gross hack so that shift-by-two insns are disassembled correctly.

opcodes/ChangeLog
opcodes/h8300-dis.c

index a6af4aca079de0f199de5090784c68ba4c38d810..7c913cde0929cfa41a5ad1c6d2ca0410a08d0deb 100644 (file)
@@ -1,5 +1,8 @@
 Thu Jul 11 11:58:44 1996  Jeffrey A Law  (law@cygnus.com)
-       
+
+       * h8300-dis.c (bfd_h8_disassemble): "abs" is implicitly two
+       if the next arg is marked with SRC_IN_DST.  Gross.
+
        * h8300-dis.c (bfd_h8_disassemble): Print "exr" when
        we're looking for and find EXR.
 
index 7481019252d85e727e23abf6885229294a97cb01..659ead83671cd111452b2715800bae0b001bc2a1 100644 (file)
@@ -287,6 +287,10 @@ bfd_h8_disassemble (addr, info, mode)
                          }
                        else if (x & (IMM|KBIT|DBIT))
                          {
+                           /* Bletch.  For shal #2,er0 and friends.  */
+                           if (*(args+1) & SRC_IN_DST)
+                             abs = 2;
+
                            fprintf (stream, "#0x%x", (unsigned) abs);
                          }
                        else if (x & REG)
This page took 0.029052 seconds and 4 git commands to generate.