mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-25 16:05:47 +00:00
21 lines
627 B
C#
21 lines
627 B
C#
|
namespace ARMeilleure.Decoders
|
|||
|
{
|
|||
|
class OpCodeT16AddSubReg : OpCodeT16, IOpCode32AluReg
|
|||
|
{
|
|||
|
public int Rm { get; }
|
|||
|
public int Rd { get; }
|
|||
|
public int Rn { get; }
|
|||
|
|
|||
|
public bool? SetFlags => null;
|
|||
|
|
|||
|
public static new OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCodeT16AddSubReg(inst, address, opCode);
|
|||
|
|
|||
|
public OpCodeT16AddSubReg(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
|
|||
|
{
|
|||
|
Rd = (opCode >> 0) & 0x7;
|
|||
|
Rn = (opCode >> 3) & 0x7;
|
|||
|
Rm = (opCode >> 6) & 0x7;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|