aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/Decoders/OpCode32MemStEx.cs
blob: 180a9b5ac6b716fccaa3e34fff99858955770b6b (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;
        }
    }
}