summaryrefslogtreecommitdiff
path: root/plugins/arm/v7/opdefs
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/arm/v7/opdefs')
-rw-r--r--plugins/arm/v7/opdefs/A8827_bx.d4
-rw-r--r--plugins/arm/v7/opdefs/A8828_bxj.d14
2 files changed, 17 insertions, 1 deletions
diff --git a/plugins/arm/v7/opdefs/A8827_bx.d b/plugins/arm/v7/opdefs/A8827_bx.d
index 64ad628..337728f 100644
--- a/plugins/arm/v7/opdefs/A8827_bx.d
+++ b/plugins/arm/v7/opdefs/A8827_bx.d
@@ -52,6 +52,7 @@
@hooks {
fetch = help_fetching_with_instruction_bx_from_thumb
+ link = handle_armv7_conditional_branch_from_register
}
@@ -83,7 +84,8 @@
@hooks {
- fetch = help_fetching_with_instruction_bx_from_thumb
+ fetch = help_fetching_with_instruction_bx_from_arm
+ link = handle_armv7_conditional_branch_from_register
}
diff --git a/plugins/arm/v7/opdefs/A8828_bxj.d b/plugins/arm/v7/opdefs/A8828_bxj.d
index 7c6ddb5..f3a1bb7 100644
--- a/plugins/arm/v7/opdefs/A8828_bxj.d
+++ b/plugins/arm/v7/opdefs/A8828_bxj.d
@@ -49,6 +49,13 @@
}
+ @hooks {
+
+ fetch = help_fetching_with_instruction_bx_from_thumb
+ link = handle_armv7_conditional_branch_from_register
+
+ }
+
}
@encoding (A1) {
@@ -75,5 +82,12 @@
}
+ @hooks {
+
+ fetch = help_fetching_with_instruction_bx_from_arm
+ link = handle_armv7_conditional_branch_from_register
+
+ }
+
}