2022-08-25 02:59:34 -07:00
|
|
|
namespace ARMeilleure.Decoders
|
|
|
|
{
|
|
|
|
class OpCodeT32MemLdEx : OpCodeT32, IOpCode32MemEx
|
|
|
|
{
|
|
|
|
public int Rd => 0;
|
|
|
|
public int Rt { get; }
|
2022-09-10 18:51:00 -07:00
|
|
|
public int Rt2 { get; }
|
2022-08-25 02:59:34 -07:00
|
|
|
public int Rn { get; }
|
|
|
|
|
|
|
|
public bool WBack => false;
|
|
|
|
public bool IsLoad => true;
|
|
|
|
public bool Index => false;
|
|
|
|
public bool Add => false;
|
|
|
|
|
|
|
|
public int Immediate => 0;
|
|
|
|
|
|
|
|
public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCodeT32MemLdEx(inst, address, opCode);
|
|
|
|
|
|
|
|
public OpCodeT32MemLdEx(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
|
|
|
|
{
|
2022-09-10 18:51:00 -07:00
|
|
|
Rt2 = (opCode >> 8) & 0xf;
|
2022-08-25 02:59:34 -07:00
|
|
|
Rt = (opCode >> 12) & 0xf;
|
|
|
|
Rn = (opCode >> 16) & 0xf;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|