18 lines
430 B
C#
18 lines
430 B
C#
|
using ARMeilleure.Instructions;
|
||
|
|
||
|
namespace ARMeilleure.Decoders
|
||
|
{
|
||
|
struct InstDescriptor
|
||
|
{
|
||
|
public static InstDescriptor Undefined => new InstDescriptor(InstName.Und, null);
|
||
|
|
||
|
public InstName Name { get; }
|
||
|
public InstEmitter Emitter { get; }
|
||
|
|
||
|
public InstDescriptor(InstName name, InstEmitter emitter)
|
||
|
{
|
||
|
Name = name;
|
||
|
Emitter = emitter;
|
||
|
}
|
||
|
}
|
||
|
}
|