blob: eee63640510755b6132eb385ea1cbd3e109ee35e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
namespace ARMeilleure.Decoders
{
class OpCodeException : OpCode
{
public int Id { get; }
public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCodeException(inst, address, opCode);
public OpCodeException(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
{
Id = (opCode >> 5) & 0xffff;
}
}
}
|