aboutsummaryrefslogtreecommitdiff
path: root/ARMeilleure/Decoders/OpCode32MemStEx.cs
blob: dcf93b2244603677643cf50b7ef2196b2ae0b7f7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace ARMeilleure.Decoders
{
    class OpCode32MemStEx : OpCode32Mem, IOpCode32MemEx
    {
        public int Rd { get; }

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

        public OpCode32MemStEx(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
        {
            Rd = (opCode >> 12) & 0xf;
            Rt = (opCode >> 0) & 0xf;
        }
    }
}