aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-09-24 17:41:04 +0000
committerIan Lance Taylor <ian@airs.com>1997-09-24 17:41:04 +0000
commit8ebe0ec1bb9a9706f3df3cd0666cf51f7b2e9087 (patch)
tree8f112e71eadaaf62b3be2009b2693a417b586bc8
parent900f895c8e3f561b6f8b0047fd8065aeda32a002 (diff)
downloadgdb-8ebe0ec1bb9a9706f3df3cd0666cf51f7b2e9087.zip
gdb-8ebe0ec1bb9a9706f3df3cd0666cf51f7b2e9087.tar.gz
gdb-8ebe0ec1bb9a9706f3df3cd0666cf51f7b2e9087.tar.bz2
* m68k-opc.c: Accept tst{b,w,l} with immediate operands on cpu32.
-rw-r--r--opcodes/ChangeLog2
-rw-r--r--opcodes/m68k-opc.c6
2 files changed, 5 insertions, 3 deletions
diff --git a/opcodes/ChangeLog b/opcodes/ChangeLog
index 511f4a6..af96f45 100644
--- a/opcodes/ChangeLog
+++ b/opcodes/ChangeLog
@@ -1,5 +1,7 @@
Wed Sep 24 11:29:35 1997 Ian Lance Taylor <ian@cygnus.com>
+ * m68k-opc.c: Accept tst{b,w,l} with immediate operands on cpu32.
+
* m68k-opc.c: Correct movew of an immediate operand to %sr or %ccr
for mcf5200.
diff --git a/opcodes/m68k-opc.c b/opcodes/m68k-opc.c
index 08b5d26..00a1052 100644
--- a/opcodes/m68k-opc.c
+++ b/opcodes/m68k-opc.c
@@ -1858,11 +1858,11 @@ TBL("tblunb", "tblunw", "tblunl", 0, 0),
{"trapv", one(0047166), one(0177777), "", m68000up },
-{"tstb", one(0045000), one(0177700), ";b", m68020up | mcf5200 },
+{"tstb", one(0045000), one(0177700), ";b", m68020up|cpu32|mcf5200 },
{"tstb", one(0045000), one(0177700), "@b", m68000up },
-{"tstw", one(0045100), one(0177700), "*w", m68020up | mcf5200 },
+{"tstw", one(0045100), one(0177700), "*w", m68020up|cpu32|mcf5200 },
{"tstw", one(0045100), one(0177700), "@w", m68000up },
-{"tstl", one(0045200), one(0177700), "*l", m68020up | mcf5200 },
+{"tstl", one(0045200), one(0177700), "*l", m68020up|cpu32|mcf5200 },
{"tstl", one(0045200), one(0177700), "@l", m68000up },
{"unlk", one(0047130), one(0177770), "As", m68000up | mcf5200 },