mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2024-12-23 16:55:35 +00:00
target-m68k: add bkpt instruction
Backports commit 71600eda7cc48f03ea306bc69ed7e52ef1d9dd91 from qemu
This commit is contained in:
parent
22be035e60
commit
59d6a1a744
|
@ -1664,6 +1664,11 @@ DISAS_INSN(swap)
|
||||||
gen_logic_cc(s, reg, OS_LONG);
|
gen_logic_cc(s, reg, OS_LONG);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
DISAS_INSN(bkpt)
|
||||||
|
{
|
||||||
|
gen_exception(s, s->pc - 2, EXCP_DEBUG);
|
||||||
|
}
|
||||||
|
|
||||||
DISAS_INSN(pea)
|
DISAS_INSN(pea)
|
||||||
{
|
{
|
||||||
TCGContext *tcg_ctx = s->uc->tcg_ctx;
|
TCGContext *tcg_ctx = s->uc->tcg_ctx;
|
||||||
|
@ -3133,6 +3138,7 @@ void register_m68k_insns (CPUM68KState *env)
|
||||||
INSN(move_to_sr, 46c0, ffc0, CF_ISA_A);
|
INSN(move_to_sr, 46c0, ffc0, CF_ISA_A);
|
||||||
BASE(pea, 4840, ffc0);
|
BASE(pea, 4840, ffc0);
|
||||||
BASE(swap, 4840, fff8);
|
BASE(swap, 4840, fff8);
|
||||||
|
INSN(bkpt, 4848, fff8, BKPT);
|
||||||
BASE(movem, 48c0, fbc0);
|
BASE(movem, 48c0, fbc0);
|
||||||
BASE(ext, 4880, fff8);
|
BASE(ext, 4880, fff8);
|
||||||
BASE(ext, 48c0, fff8);
|
BASE(ext, 48c0, fff8);
|
||||||
|
|
Loading…
Reference in a new issue