Cosmos/source/Indy.IL2CPU.Assembler/OpCodeAttribute.cs
mterwoord_cp 4f1bf676e8
2007-09-03 17:12:38 +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;
}
}
}