aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Decoders/OpCode32Exception.cs
blob: b4edcc100c9c4a879a16acbb4daf69ea25c2ec0e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
namespace ARMeilleure.Decoders
{
    class OpCode32Exception : OpCode32, IOpCode32Exception
    {
        public int Id { get; }

        public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCode32Exception(inst, address, opCode);

        public OpCode32Exception(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
        {
            Id = opCode & 0xFFFFFF;
        }
    }
}