mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-12-05 08:17:25 +00:00
20 lines
No EOL
623 B
C#
20 lines
No EOL
623 B
C#
using ChocolArm64.Instruction;
|
|
|
|
namespace ChocolArm64.Decoder
|
|
{
|
|
class AOpCodeMemReg : AOpCodeMem
|
|
{
|
|
public bool Shift { get; private set; }
|
|
public int Rm { get; private set; }
|
|
|
|
public AIntType IntType { get; private set; }
|
|
|
|
public AOpCodeMemReg(AInst Inst, long Position, int OpCode) : base(Inst, Position, OpCode)
|
|
{
|
|
Shift = ((OpCode >> 12) & 0x1) != 0;
|
|
IntType = (AIntType)((OpCode >> 13) & 0x7);
|
|
Rm = (OpCode >> 16) & 0x1f;
|
|
Extend64 = ((OpCode >> 22) & 0x3) == 2;
|
|
}
|
|
}
|
|
} |