* h8300-dis.c (bfd_h8_disassemble): Don't set plen for
authorJeff Law <law@redhat.com>
Thu, 11 Jul 1996 17:58:43 +0000 (17:58 +0000)
committerJeff Law <law@redhat.com>
Thu, 11 Jul 1996 17:58:43 +0000 (17:58 +0000)
        3bit immediate operands.
So we disassemble bXXX #IMM,@ADDRESS insns correctly.

opcodes/ChangeLog
opcodes/h8300-dis.c

index 423d9ee..4daebc5 100644 (file)
@@ -1,3 +1,8 @@
+Thu Jul 11 11:58:44 1996  Jeffrey A Law  (law@cygnus.com)
+
+       * h8300-dis.c (bfd_h8_disassemble): Don't set plen for
+       3bit immediate operands.
+
 Tue Jul  9 10:55:20 1996  Ian Lance Taylor  <ian@cygnus.com>
 
        * Released binutils 2.7.
index 2cf880e..3ba4d8b 100644 (file)
@@ -243,7 +243,6 @@ bfd_h8_disassemble (addr, info, mode)
                }
              else if (looking_for & L_3)
                {
-                 plen = 3;
                  bit = thisnib;
                }
              else if (looking_for & L_2)