summaryrefslogtreecommitdiffstats
path: root/target-arm
diff options
context:
space:
mode:
authorbellard2005-11-06 20:36:29 +0100
committerbellard2005-11-06 20:36:29 +0100
commit2531fc7bc02f1ae1ddc5e313e5e6d7f9bf5f9225 (patch)
tree225c49539768eca677f7bfb9327c4d589bebf368 /target-arm
parentsuppressed unneeded options - added isapc machine (diff)
downloadqemu-2531fc7bc02f1ae1ddc5e313e5e6d7f9bf5f9225.tar.gz
qemu-2531fc7bc02f1ae1ddc5e313e5e6d7f9bf5f9225.tar.xz
qemu-2531fc7bc02f1ae1ddc5e313e5e6d7f9bf5f9225.zip
thumb BLX insn fix (Paul Brook)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1607 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'target-arm')
-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 {