AInst.cs 585 B

1234567891011121314151617181920
  1. using System;
  2. namespace ChocolArm64.Instruction
  3. {
  4. struct AInst
  5. {
  6. public AInstInterpreter Interpreter { get; private set; }
  7. public AInstEmitter Emitter { get; private set; }
  8. public Type Type { get; private set; }
  9. public static AInst Undefined => new AInst(null, AInstEmit.Und, null);
  10. public AInst(AInstInterpreter Interpreter, AInstEmitter Emitter, Type Type)
  11. {
  12. this.Interpreter = Interpreter;
  13. this.Emitter = Emitter;
  14. this.Type = Type;
  15. }
  16. }
  17. }