aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Instructions/Inst.cs
blob: de9ec18b7af63c40fdc6016f1abafb40b87dbb38 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using System;

namespace ChocolArm64.Instructions
{
    struct Inst
    {
        public InstEmitter Emitter { get; }
        public Type        Type    { get; }

        public static Inst Undefined => new Inst(InstEmit.Und, null);

        public Inst(InstEmitter emitter, Type type)
        {
            Emitter = emitter;
            Type    = type;
        }
    }
}