aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Instruction/AInst.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ChocolArm64/Instruction/AInst.cs')
-rw-r--r--ChocolArm64/Instruction/AInst.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/ChocolArm64/Instruction/AInst.cs b/ChocolArm64/Instruction/AInst.cs
new file mode 100644
index 00000000..cab597d6
--- /dev/null
+++ b/ChocolArm64/Instruction/AInst.cs
@@ -0,0 +1,18 @@
+using System;
+
+namespace ChocolArm64.Instruction
+{
+ struct AInst
+ {
+ public AInstEmitter Emitter { get; private set; }
+ public Type Type { get; private set; }
+
+ public static AInst Undefined => new AInst(AInstEmit.Und, null);
+
+ public AInst(AInstEmitter Emitter, Type Type)
+ {
+ this.Emitter = Emitter;
+ this.Type = Type;
+ }
+ }
+} \ No newline at end of file