From 8ebe0ec1bb9a9706f3df3cd0666cf51f7b2e9087 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 24 Sep 1997 17:41:04 +0000 Subject: [PATCH] * m68k-opc.c: Accept tst{b,w,l} with immediate operands on cpu32. --- opcodes/ChangeLog | 2 ++ opcodes/m68k-opc.c | 6 +++--- 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 + * 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 }, -- 2.7.4