diff options
author | merry <git@mary.rs> | 2022-03-04 22:05:08 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-04 23:05:08 +0100 |
commit | bd9ac0fdaadd233e778a872c48f7f628b5a68c93 (patch) | |
tree | 223f2c24430fb2643f70b423f87b8f0274e36f08 /ARMeilleure/Instructions/InstEmitFlow32.cs | |
parent | ac21abbb9d23432879b1026eb5bc48ad3d4583d8 (diff) |
T32: Implement B, B.cond, BL, BLX (#3155)1.1.57
* Decoders: Make IsThumb a function of OpCode32
* OpCode32: Fix GetPc
* T32: Implement B, B.cond, BL, BLX
* rm usings
Diffstat (limited to 'ARMeilleure/Instructions/InstEmitFlow32.cs')
-rw-r--r-- | ARMeilleure/Instructions/InstEmitFlow32.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ARMeilleure/Instructions/InstEmitFlow32.cs b/ARMeilleure/Instructions/InstEmitFlow32.cs index 2b052505..064aeb36 100644 --- a/ARMeilleure/Instructions/InstEmitFlow32.cs +++ b/ARMeilleure/Instructions/InstEmitFlow32.cs @@ -34,7 +34,7 @@ namespace ARMeilleure.Instructions uint pc = op.GetPc(); - bool isThumb = IsThumb(context.CurrOp); + bool isThumb = ((OpCode32)context.CurrOp).IsThumb(); uint currentPc = isThumb ? pc | 1 @@ -61,7 +61,7 @@ namespace ARMeilleure.Instructions Operand addr = context.Copy(GetIntA32(context, op.Rm)); Operand bitOne = context.BitwiseAnd(addr, Const(1)); - bool isThumb = IsThumb(context.CurrOp); + bool isThumb = ((OpCode32)context.CurrOp).IsThumb(); uint currentPc = isThumb ? (pc - 2) | 1 |