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:
balrog 2008-04-16 23:17:02 +00:00
parent aec454d23a
commit 422ebf6979
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}