Cosmos/source/Indy.IL2CPU/Assembler/OpCodeAttribute.cs
kudzu_cp 2ebfcde162
2008-09-22 00:08:39 +00:00

17 lines
505 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace Indy.IL2CPU.Assembler {
[AttributeUsage(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
public class OpCodeAttribute : Attribute {
public readonly uint OpCode;
public readonly string Mnemonic;
public OpCodeAttribute(uint aOpCode, string aMnemonic) {
OpCode = aOpCode;
Mnemonic = aMnemonic;
}
}
}