Split main project into core,graphics and chocolarm4 subproject (#29)
This commit is contained in:
19
ChocolArm64/Decoder/AOpCodeMem.cs
Normal file
19
ChocolArm64/Decoder/AOpCodeMem.cs
Normal file
@ -0,0 +1,19 @@
|
||||
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; }
|
||||
|
||||
public AOpCodeMem(AInst Inst, long Position, int OpCode) : base(Inst, Position, OpCode)
|
||||
{
|
||||
Rt = (OpCode >> 0) & 0x1f;
|
||||
Rn = (OpCode >> 5) & 0x1f;
|
||||
Size = (OpCode >> 30) & 0x3;
|
||||
}
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user