mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-27 14:02:19 +00:00
19 lines
600 B
C#
19 lines
600 B
C#
namespace Cosmos.Assembler.x86
|
|
{
|
|
[Cosmos.Assembler.OpCode("movzx")]
|
|
public class MoveZeroExtend : InstructionWithDestinationAndSource
|
|
{
|
|
|
|
public override void WriteText(Cosmos.Assembler.Assembler aAssembler, System.IO.TextWriter aOutput)
|
|
{
|
|
aOutput.Write(mMnemonic);
|
|
if (!DestinationEmpty)
|
|
{
|
|
aOutput.Write(" ");
|
|
aOutput.Write(this.GetDestinationAsString());
|
|
aOutput.Write(", ");
|
|
aOutput.Write(this.GetSourceAsString());
|
|
}
|
|
}
|
|
}
|
|
}
|