mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-08 03:48:34 +00:00
17 lines
464 B
C#
17 lines
464 B
C#
|
namespace ARMeilleure.Decoders
|
|||
|
{
|
|||
|
class OpCode32MemRsImm : OpCode32Mem
|
|||
|
{
|
|||
|
public int Rm { get; private set; }
|
|||
|
public ShiftType ShiftType { get; private set; }
|
|||
|
|
|||
|
public OpCode32MemRsImm(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
|
|||
|
{
|
|||
|
Rm = (opCode >> 0) & 0xf;
|
|||
|
Immediate = (opCode >> 7) & 0x1f;
|
|||
|
|
|||
|
ShiftType = (ShiftType)((opCode >> 5) & 3);
|
|||
|
}
|
|||
|
}
|
|||
|
}
|