2018-02-05 00:08:20 +01:00
|
|
|
using ChocolArm64.Instruction;
|
|
|
|
|
|
|
|
namespace ChocolArm64.Decoder
|
|
|
|
{
|
|
|
|
class AOpCodeMem : AOpCode
|
|
|
|
{
|
2018-02-15 05:32:25 +01:00
|
|
|
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-05 00:08:20 +01:00
|
|
|
|
2018-02-10 18:20:46 +01:00
|
|
|
public AOpCodeMem(AInst Inst, long Position, int OpCode) : base(Inst, Position, OpCode)
|
2018-02-05 00:08:20 +01:00
|
|
|
{
|
|
|
|
Rt = (OpCode >> 0) & 0x1f;
|
|
|
|
Rn = (OpCode >> 5) & 0x1f;
|
|
|
|
Size = (OpCode >> 30) & 0x3;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|