* h8300-dis.c (bfd_h8_disassemble): We don't have a match
authorJeff Law <law@redhat.com>
Thu, 11 Jul 1996 18:24:59 +0000 (18:24 +0000)
committerJeff Law <law@redhat.com>
Thu, 11 Jul 1996 18:24:59 +0000 (18:24 +0000)
        if we're looking for KBIT and we don't find it.
So we don't disassemble "inc" instructions as "adds" instructions.

opcodes/ChangeLog
opcodes/h8300-dis.c

index 27dc16d6200e10a3f97ed227aa0da61906a84027..e1cdd6c7f28ad63b8b30b84c08fa8fade256564d 100644 (file)
@@ -1,4 +1,7 @@
 Thu Jul 11 11:58:44 1996  Jeffrey A Law  (law@cygnus.com)
+       
+       * h8300-dis.c (bfd_h8_disassemble): We don't have a match
+       if we're looking for KBIT and we don't find it.
 
        * h8300-dis.c (bfd_h8_disassemble): Mask off unwanted bits
        for L_3 and L_2.
index 959cb754f53613f5c5ddffdb8084a69b0fd96e5a..975aba114d4b598b7925f5670ea26ce387aad96f 100644 (file)
@@ -234,6 +234,8 @@ bfd_h8_disassemble (addr, info, mode)
                    case 0:
                      abs = 1;
                      break;
+                   default:
+                     goto fail;
                    }
                }
              else if (looking_for & L_8)