summaryrefslogtreecommitdiff
path: root/src/arch/arm/v7/opdefs/blx_A8826.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/arm/v7/opdefs/blx_A8826.d')
-rw-r--r--src/arch/arm/v7/opdefs/blx_A8826.d43
1 files changed, 18 insertions, 25 deletions
diff --git a/src/arch/arm/v7/opdefs/blx_A8826.d b/src/arch/arm/v7/opdefs/blx_A8826.d
index bc26867..29719fa 100644
--- a/src/arch/arm/v7/opdefs/blx_A8826.d
+++ b/src/arch/arm/v7/opdefs/blx_A8826.d
@@ -2,7 +2,7 @@
/* Chrysalide - Outil d'analyse de fichiers binaires
* ##FILE## - traduction d'instructions ARMv7
*
- * Copyright (C) 2014 Cyrille Bagard
+ * Copyright (C) 2015 Cyrille Bagard
*
* This file is part of Chrysalide.
*
@@ -23,46 +23,39 @@
@title BLX (register)
-@encoding(t1) {
+@desc Branch with Link and Exchange (register) calls a subroutine at an address and instruction set specified by a register.
- @half 0 1 0 0 0 1 1 1 1 Rm(4) 0 0 0
+@encoding (t1) {
- @syntax <Rm>
+ @half 0 1 0 0 0 1 1 1 1 Rm(4) 0 0 0
- @conv {
+ @syntax <reg_M>
- Rm = Register(Rm)
+ @conv {
- }
+ reg_M = Register(Rm)
- @rules {
-
- //if m == 15 then UNPREDICTABLE;
- //if InITBlock() && !LastInITBlock() then UNPREDICTABLE;
- //chk_call SetInsFlag(AIF_RETURN_POINT)
-
- }
+ }
}
-@encoding(A1) {
+@encoding (A1) {
- @word cond(4) 0 0 0 1 0 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 Rm(4)
+ @word cond(4) 0 0 0 1 0 0 1 0 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 Rm(4)
- @syntax {c} <Rm>
+ @syntax <reg_M>
- @conv {
+ @conv {
- c = Condition(cond)
- Rm = Register(Rm)
+ reg_M = Register(Rm)
- }
+ }
- @rules {
+ @rules {
- //if m == 15 then UNPREDICTABLE;
- //chk_call SetInsFlag(AIF_RETURN_POINT)
+ chk_call StoreCondition(cond)
- }
+ }
}
+