aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/Decoders/OpCode32Exception.cs
blob: 51a535e43f1d9ce56c228338b0b74d838a2d4a63 (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;
        }
    }
}