Cosmos/source2/Compiler/Cosmos.Compiler.Assembler.X86/x87/FXStore.cs

20 lines
657 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Cosmos.Compiler.Assembler.X86.x87 {
[OpCode("fxrstor")]
public class FXStore : InstructionWithDestination
{
public static void InitializeEncodingData(Instruction.InstructionData aData) {
aData.EncodingOptions.Add(new InstructionData.InstructionEncodingOption {
OpCode = new byte[] { 0x0F, 0xAE },
NeedsModRMByte=true,
InitialModRMByteValue=0x08,
DestinationMemory = true,
ReverseRegisters=true
});
}
}
}