aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/Decoders/OpCode32SimdMovn.cs
blob: 576e12cc079c5ba9bb55869c4336b9ee79144f6d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
namespace ARMeilleure.Decoders
{
    class OpCode32SimdMovn : OpCode32Simd
    {
        public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCode32SimdMovn(inst, address, opCode, false);
        public new static OpCode CreateT32(InstDescriptor inst, ulong address, int opCode) => new OpCode32SimdMovn(inst, address, opCode, true);

        public OpCode32SimdMovn(InstDescriptor inst, ulong address, int opCode, bool isThumb) : base(inst, address, opCode, isThumb)
        {
            Size = (opCode >> 18) & 0x3;
        }
    }
}