aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Decoders/InstDescriptor.cs
blob: 29966d6dd14f35e5286633c349de8bd6ce4db59b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
using ARMeilleure.Instructions;

namespace ARMeilleure.Decoders
{
    struct InstDescriptor
    {
        public static InstDescriptor Undefined => new InstDescriptor(InstName.Und, InstEmit.Und);

        public InstName    Name    { get; }
        public InstEmitter Emitter { get; }

        public InstDescriptor(InstName name, InstEmitter emitter)
        {
            Name    = name;
            Emitter = emitter;
        }
    }
}