aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Decoders/OpCodeException.cs
blob: 9781c543bdee16bf233b760e2e009e085291f90a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
namespace ARMeilleure.Decoders
{
    class OpCodeException : OpCode
    {
        public int Id { get; private set; }

        public OpCodeException(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
        {
            Id = (opCode >> 5) & 0xffff;
        }
    }
}