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