2018-02-05 00:08:20 +01:00
|
|
|
using System;
|
|
|
|
|
|
|
|
namespace ChocolArm64.Instruction
|
|
|
|
{
|
|
|
|
struct AInst
|
|
|
|
{
|
2018-05-26 22:49:21 +02:00
|
|
|
public AInstInterpreter Interpreter { get; private set; }
|
|
|
|
public AInstEmitter Emitter { get; private set; }
|
|
|
|
public Type Type { get; private set; }
|
2018-02-05 00:08:20 +01:00
|
|
|
|
2018-05-26 22:49:21 +02:00
|
|
|
public static AInst Undefined => new AInst(null, AInstEmit.Und, null);
|
2018-02-05 00:08:20 +01:00
|
|
|
|
2018-05-26 22:49:21 +02:00
|
|
|
public AInst(AInstInterpreter Interpreter, AInstEmitter Emitter, Type Type)
|
2018-02-05 00:08:20 +01:00
|
|
|
{
|
2018-05-26 22:49:21 +02:00
|
|
|
this.Interpreter = Interpreter;
|
|
|
|
this.Emitter = Emitter;
|
|
|
|
this.Type = Type;
|
2018-02-05 00:08:20 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|