diff options
Diffstat (limited to 'ARMeilleure/Instructions/InstEmitMemory32.cs')
-rw-r--r-- | ARMeilleure/Instructions/InstEmitMemory32.cs | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/ARMeilleure/Instructions/InstEmitMemory32.cs b/ARMeilleure/Instructions/InstEmitMemory32.cs index e15f6a5b..17ec97aa 100644 --- a/ARMeilleure/Instructions/InstEmitMemory32.cs +++ b/ARMeilleure/Instructions/InstEmitMemory32.cs @@ -204,15 +204,15 @@ namespace ARMeilleure.Instructions context.BranchIfTrue(lblBigEndian, GetFlag(PState.EFlag)); - Load(op.Rt, 0, WordSizeLog2); - Load(op.Rt | 1, 4, WordSizeLog2); + Load(op.Rt, 0, WordSizeLog2); + Load(op.Rt2, 4, WordSizeLog2); context.Branch(lblEnd); context.MarkLabel(lblBigEndian); - Load(op.Rt | 1, 0, WordSizeLog2); - Load(op.Rt, 4, WordSizeLog2); + Load(op.Rt2, 0, WordSizeLog2); + Load(op.Rt, 4, WordSizeLog2); context.MarkLabel(lblEnd); } @@ -237,15 +237,15 @@ namespace ARMeilleure.Instructions context.BranchIfTrue(lblBigEndian, GetFlag(PState.EFlag)); - Store(op.Rt, 0, WordSizeLog2); - Store(op.Rt | 1, 4, WordSizeLog2); + Store(op.Rt, 0, WordSizeLog2); + Store(op.Rt2, 4, WordSizeLog2); context.Branch(lblEnd); context.MarkLabel(lblBigEndian); - Store(op.Rt | 1, 0, WordSizeLog2); - Store(op.Rt, 4, WordSizeLog2); + Store(op.Rt2, 0, WordSizeLog2); + Store(op.Rt, 4, WordSizeLog2); context.MarkLabel(lblEnd); } |