added addss and movss sse instructions

This commit is contained in:
smremde_cp 2008-08-08 14:23:30 +00:00
parent 6dd10c1b8f
commit 6a90e8aee1
2 changed files with 42 additions and 0 deletions

View file

@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Indy.IL2CPU.Assembler.X86.SSE {
[OpCode(0xFFFFFFFF, "addss")]
public class AddSS: Instruction {
private string mDestination;
private string mSource;
public AddSS(string aDestination, string aSource)
{
mDestination = aDestination;
mSource = aSource;
}
public override string ToString() {
return "addss " + mDestination + ", " + mSource;
}
}
}

View file

@ -0,0 +1,21 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Indy.IL2CPU.Assembler.X86.SSE {
[OpCode(0xFFFFFFFF, "movss")]
public class MovSS : Instruction
{
private string mDestination;
private string mSource;
public MovSS(string aDestination, string aSource) {
mDestination = aDestination;
mSource = aSource;
}
public override string ToString() {
return "movss " + mDestination + ", " + mSource;
}
}
}