aboutsummaryrefslogtreecommitdiff
path: root/target-m68k/translate.c
diff options
context:
space:
mode:
Diffstat (limited to 'target-m68k/translate.c')
-rw-r--r--target-m68k/translate.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/target-m68k/translate.c b/target-m68k/translate.c
index 52f38e4c0c..7c91760278 100644
--- a/target-m68k/translate.c
+++ b/target-m68k/translate.c
@@ -1929,7 +1929,10 @@ DISAS_INSN(shift_reg)
DISAS_INSN(ff1)
{
- cpu_abort(NULL, "Unimplemented insn: ff1");
+ int reg;
+ reg = DREG(insn, 0);
+ gen_logic_cc(s, reg);
+ gen_op_ff1(reg, reg);
}
static int gen_get_sr(DisasContext *s)