Cosmos/source/Indy.IL2CPU/Assembler/IfDefined.cs
2008-11-01 12:49:18 +00:00

22 lines
No EOL
482 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Indy.IL2CPU.Assembler {
[OpCode(0xFFFFFFFF, "%ifdef")]
public class IfDefined: Instruction {
public string Symbol {
get;
set;
}
public IfDefined(string aSymbol) {
Symbol = aSymbol;
}
public override string ToString() {
return "%ifdef " + Symbol;
}
}
}