mirror of https://gitee.com/openkylin/qemu.git
Save the exact SWI return address in Thumb mode.
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@4217 c046a42c-6fe2-441c-8c8c-71466251a162
This commit is contained in:
parent
aec454d23a
commit
422ebf6979
|
@ -8492,7 +8492,7 @@ static void disas_thumb_insn(CPUState *env, DisasContext *s)
|
|||
if (cond == 0xf) {
|
||||
/* swi */
|
||||
gen_set_condexec(s);
|
||||
gen_set_pc_im(s->pc | 1);
|
||||
gen_set_pc_im(s->pc);
|
||||
s->is_jmp = DISAS_SWI;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue