aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--opcodes/ChangeLog5
-rw-r--r--opcodes/m32r-dis.c1
2 files changed, 6 insertions, 0 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 9dc4941..bc1c89e 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,3 +1,8 @@
+Thu Jan 15 10:32:06 1998 Nick Clifton <nickc@cygnus.com>
+
+ * m32r-dis.c (print_insn): Only look for parallel 16 bit
+ instructions on a 32 bit boundary.
+
Wed Jan 14 17:37:03 1998 Nick Clifton <nickc@cygnus.com>
* m32r-asm.in: Generated file imported from cgen.
diff --git a/opcodes/m32r-dis.c b/opcodes/m32r-dis.c
index d320d53..05555b2 100644
--- a/opcodes/m32r-dis.c
+++ b/opcodes/m32r-dis.c
@@ -259,6 +259,7 @@ print_insn (pc, info, buf, buflen)
/* Special case - a 32 bit instruction which is actually two 16 bit instructions
being executed in parallel. */
if (buflen == 32
+ && (pc & 0x3) == 0
&& ((insn_value & 0x80008000) == 0x00008000))
{
if (info->endian == BFD_ENDIAN_BIG)