mirror of
https://github.com/danbulant/Cosmos
synced 2026-05-19 20:39:01 +00:00
17 lines
505 B
C#
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;
|
|
}
|
|
}
|
|
}
|