diff --git a/source/Tests/MathTest/Lost/JIT/AMD64/ProcessorInstruction.cs b/source/Tests/MathTest/Lost/JIT/AMD64/ProcessorInstruction.cs index a7cd044e8..ea79272f0 100644 --- a/source/Tests/MathTest/Lost/JIT/AMD64/ProcessorInstruction.cs +++ b/source/Tests/MathTest/Lost/JIT/AMD64/ProcessorInstruction.cs @@ -241,6 +241,10 @@ namespace Lost.JIT.AMD64 { destStream.WriteByte(ModRM(3, dest, source)); } + public static void WriteOperands(GeneralPurposeRegister reg, MemoryOperand memory, Stream destStream) + { + WriteOperand(reg.Register.GetIndex(), memory, destStream); + } static byte Binary(int value) { int result = 0;