Cosmos/source2/IL2PCU/Cosmos.IL2CPU.X86/X86/SSEAndMMX2/AddSS.cs
2009-09-06 16:59:43 +00:00

23 lines
688 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Cosmos.IL2CPU.X86.SSE
{
[OpCode( "addss" )]
public class AddSS : InstructionWithDestinationAndSource
{
public static void InitializeEncodingData( Instruction.InstructionData aData )
{
aData.EncodingOptions.Add( new InstructionData.InstructionEncodingOption
{
OpCode = new byte[] { 0x0F, 0x58 },
NeedsModRMByte = true,
InitialModRMByteValue = 0x08,
DestinationMemory = true,
ReverseRegisters = true
} );
}
}
}