aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-06 19:36:29 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-11-06 19:36:29 +0000
commit2531fc7bc02f1ae1ddc5e313e5e6d7f9bf5f9225 (patch)
tree225c49539768eca677f7bfb9327c4d589bebf368
parent3dbbdc25557314f3338edd11b4569e4d6af600bf (diff)
thumb BLX insn fix (Paul Brook)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1607 c046a42c-6fe2-441c-8c8c-71466251a162
-rw-r--r--target-arm/translate.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/target-arm/translate.c b/target-arm/translate.c
index f954de3f7d..96e7fd2919 100644
--- a/target-arm/translate.c
+++ b/target-arm/translate.c
@@ -2035,7 +2035,7 @@ static void disas_thumb_insn(DisasContext *s)
gen_movl_reg_T1(s, 14);
val += offset << 1;
- if (insn & (1 << 11)) {
+ if (insn & (1 << 12)) {
/* bl */
gen_jmp(s, val);
} else {