Cosmos/source/Compiler/Indy.IL2CPU.Assembler/Define.cs

23 lines
No EOL
538 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Indy.IL2CPU.Assembler {
[OpCode("%define")]
public class Define: Instruction, IDefine {
public string Symbol {
get;
set;
}
public Define(string aSymbol) {
Symbol = aSymbol;
}
public override void WriteText(Assembler aAssembler, System.IO.TextWriter aOutput)
{
aOutput.Write(this.GetAsText());
}
}
}