1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-11-23 20:52:06 +00:00
Ryujinx/ChocolArm64/Decoder/AOpCodeMem.cs

19 lines
562 B
C#
Raw Normal View History

2018-02-04 23:08:20 +00:00
using ChocolArm64.Instruction;
namespace ChocolArm64.Decoder
{
class AOpCodeMem : AOpCode
{
public int Rt { get; protected set; }
public int Rn { get; protected set; }
public int Size { get; protected set; }
public bool Extend64 { get; protected set; }
2018-02-04 23:08:20 +00:00
public AOpCodeMem(AInst Inst, long Position, int OpCode) : base(Inst, Position, OpCode)
2018-02-04 23:08:20 +00:00
{
Rt = (OpCode >> 0) & 0x1f;
Rn = (OpCode >> 5) & 0x1f;
Size = (OpCode >> 30) & 0x3;
}
}
}