aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Instruction/AInst.cs
blob: 74093536143936360aa064c4b5cf094fa1ec9c58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;

namespace ChocolArm64.Instruction
{
    struct AInst
    {
        public AInstInterpreter Interpreter { get; private set; }
        public AInstEmitter     Emitter     { get; private set; }
        public Type             Type        { get; private set; }

        public static AInst Undefined => new AInst(null, AInstEmit.Und, null);

        public AInst(AInstInterpreter Interpreter, AInstEmitter Emitter, Type Type)
        {
            this.Interpreter = Interpreter;
            this.Emitter     = Emitter;
            this.Type        = Type;
        }
    }
}