Inst.cs 372 B

123456789101112131415161718
  1. using System;
  2. namespace ChocolArm64.Instructions
  3. {
  4. struct Inst
  5. {
  6. public InstEmitter Emitter { get; }
  7. public Type Type { get; }
  8. public static Inst Undefined => new Inst(InstEmit.Und, null);
  9. public Inst(InstEmitter emitter, Type type)
  10. {
  11. Emitter = emitter;
  12. Type = type;
  13. }
  14. }
  15. }