* h8300-dis.c (bfd_h8_disassemble): We don't have a match

if we're looking for KBIT and we don't find it.
So we don't disassemble "inc" instructions as "adds" instructions.
This commit is contained in:
Jeff Law 1996-07-11 18:24:59 +00:00
parent 2757047686
commit 81fc72a71a
2 changed files with 5 additions and 0 deletions

View 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.

View 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)