* 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 423d9ee3bc352e17c2303b5e1041993a02b163c6..4daebc53d9c4188ee8c4dbc38a0f50bcf3af8a7a 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 2cf880edc3f829d0496464f85f9ab15a7eabb1d4..3ba4d8ba18018422cca3e4b206f10ff778c47384 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)