aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/Decoders/OpCodeSimdExt.cs
blob: 0a3359e13e8fd9b9570a12f67904585d7f90c08f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
namespace ARMeilleure.Decoders
{
    class OpCodeSimdExt : OpCodeSimdReg
    {
        public int Imm4 { get; }

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

        public OpCodeSimdExt(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
        {
            Imm4 = (opCode >> 11) & 0xf;
        }
    }
}