aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/Decoders/InstDescriptor.cs
blob: c35c754a970eddf27c60d65f7dae4e163e655df5 (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
{
    readonly struct InstDescriptor
    {
        public static InstDescriptor Undefined => new(InstName.Und, InstEmit.Und);

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

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