mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-09 08:18:34 +00:00
f468db7602
* Implement Thumb (32-bit) memory (ordered), multiply and bitfield instructions * Remove public from interface * Fix T32 BL immediate and implement signed and unsigned extend instructions
31 lines
922 B
C#
31 lines
922 B
C#
namespace ARMeilleure.Decoders
|
|
{
|
|
class OpCode32AluUmull : OpCode32, IOpCode32AluUmull
|
|
{
|
|
public int RdLo { get; }
|
|
public int RdHi { get; }
|
|
public int Rn { get; }
|
|
public int Rm { get; }
|
|
|
|
public bool NHigh { get; }
|
|
public bool MHigh { get; }
|
|
|
|
public bool? SetFlags { get; }
|
|
|
|
public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCode32AluUmull(inst, address, opCode);
|
|
|
|
public OpCode32AluUmull(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
|
|
{
|
|
RdLo = (opCode >> 12) & 0xf;
|
|
RdHi = (opCode >> 16) & 0xf;
|
|
Rm = (opCode >> 8) & 0xf;
|
|
Rn = (opCode >> 0) & 0xf;
|
|
|
|
NHigh = ((opCode >> 5) & 0x1) == 1;
|
|
MHigh = ((opCode >> 6) & 0x1) == 1;
|
|
|
|
SetFlags = ((opCode >> 20) & 0x1) != 0;
|
|
}
|
|
}
|
|
}
|