Cosmos/source2/Cosmos.Assembler.x86/Out.cs
kudzu_cp b0cb66f739
2012-01-23 22:17:21 +00:00

16 lines
No EOL
509 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Cosmos.Compiler.Assembler.X86 {
[Cosmos.Assembler.OpCode("out")]
public class Out : InstructionWithDestinationAndSize {
public override void WriteText( Cosmos.Assembler.Assembler aAssembler, System.IO.TextWriter aOutput )
{
aOutput.Write(mMnemonic);
aOutput.Write(" DX, ");
aOutput.Write(this.GetDestinationAsString());
}
}
}