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

        public OpCode32MemImm(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
        {
            Immediate = opCode & 0xfff;
        }
    }
}