diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2014-12-16 21:13:42 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2014-12-16 21:13:42 (GMT) |
commit | 04dfbc68e7cd5036017f097a67ba5f0288ddace0 (patch) | |
tree | 2cf10137c3c47c1c0877c67b48f7aeb86d9cbfcb /src/arch/arm/v7/opdefs | |
parent | a1c2bc0c3b6f4b4fda9c50beeb09a1f699419e2a (diff) |
Created operands for resolving symbols in disassembly code.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@442 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/arch/arm/v7/opdefs')
-rw-r--r-- | src/arch/arm/v7/opdefs/bl_A8825.d | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/arch/arm/v7/opdefs/bl_A8825.d b/src/arch/arm/v7/opdefs/bl_A8825.d index c9ef5d0..dc9c922 100644 --- a/src/arch/arm/v7/opdefs/bl_A8825.d +++ b/src/arch/arm/v7/opdefs/bl_A8825.d @@ -25,7 +25,7 @@ @encoding(T1) { - @word 1 1 1 1 0 S(1) imm10H(10) 1 1 J1(1) 1 J2(1) imm10L(10) H(1) + @word 1 1 1 1 0 S(1) imm10(10) 1 1 J1(1) 1 J2(1) imm11(11) @syntax <imm32> @@ -33,7 +33,7 @@ I1 = NOT(J1 EOR S) I2 = NOT(J2 EOR S) - imm32 = SignExtend(S:I1:I2:imm10H:imm10L:'00', s, 32) + imm32 = SignExtend(S:I1:I2:imm10:imm11:'0', S, 32) } @@ -41,15 +41,15 @@ @encoding(T2) { - @word 1 1 1 1 0 S(1) imm10(10) 1 1 J1(1) 0 J2(1) imm11(11) + @word 1 1 1 1 0 S(1) imm10H(10) 1 1 J1(1) 0 J2(1) imm10L(10) H(1) - @syntax <imm32> + @syntax "blx" <imm32> @conv { I1 = NOT(J1 EOR S) I2 = NOT(J2 EOR S) - imm32 = SignExtend(S:I1:I2:imm10:imm11:'0', S, 32) + imm32 = SignExtend(S:I1:I2:imm10H:imm10L:'00', S, 32) } @@ -73,7 +73,7 @@ @word cond(4) 1 0 1 H(1) imm24(24) - @syntax <imm32> + @syntax "blx" <imm32> @conv { |