Cosmos/source2/Compiler/Cosmos.Compiler.Assembler.X86/SSEAndMMX2/_Infra/InstructionWithDestinationAndSourceAndPseudoOpcodes.cs

26 lines
783 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Cosmos.Compiler.Assembler.X86.SSE
{
public abstract class InstructionWithDestinationAndSourceAndPseudoOpcodes : InstructionWithDestinationAndSource
{
public byte pseudoOpcode
{
get;
set;
}
public override void WriteText(Assembler aAssembler, System.IO.TextWriter aOutput)
{
aOutput.Write(mMnemonic);
aOutput.Write(" ");
aOutput.Write(this.GetDestinationAsString());
aOutput.Write(", ");
aOutput.Write(this.GetSourceAsString());
aOutput.Write(", ");
aOutput.Write(this.pseudoOpcode);
}
}
}