diff options
Diffstat (limited to 'ARMeilleure/Instructions/InstEmitMemoryEx32.cs')
-rw-r--r-- | ARMeilleure/Instructions/InstEmitMemoryEx32.cs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ARMeilleure/Instructions/InstEmitMemoryEx32.cs b/ARMeilleure/Instructions/InstEmitMemoryEx32.cs index c2326cde..c0b6fc39 100644 --- a/ARMeilleure/Instructions/InstEmitMemoryEx32.cs +++ b/ARMeilleure/Instructions/InstEmitMemoryEx32.cs @@ -172,13 +172,13 @@ namespace ARMeilleure.Instructions context.BranchIfTrue(lblBigEndian, GetFlag(PState.EFlag)); SetIntA32(context, op.Rt, valueLow); - SetIntA32(context, op.Rt | 1, valueHigh); + SetIntA32(context, op.Rt2, valueHigh); context.Branch(lblEnd); context.MarkLabel(lblBigEndian); - SetIntA32(context, op.Rt | 1, valueLow); + SetIntA32(context, op.Rt2, valueLow); SetIntA32(context, op.Rt, valueHigh); context.MarkLabel(lblEnd); @@ -195,7 +195,7 @@ namespace ARMeilleure.Instructions // Split the result into 2 words (based on endianness) Operand lo = context.ZeroExtend32(OperandType.I64, GetIntA32(context, op.Rt)); - Operand hi = context.ZeroExtend32(OperandType.I64, GetIntA32(context, op.Rt | 1)); + Operand hi = context.ZeroExtend32(OperandType.I64, GetIntA32(context, op.Rt2)); Operand lblBigEndian = Label(); Operand lblEnd = Label(); |