diff options
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 { |