mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2025-03-19 16:40:17 +00:00
22 lines
765 B
C#
22 lines
765 B
C#
|
namespace ARMeilleure.Decoders
|
|||
|
{
|
|||
|
class OpCodeT16AluRegHigh : OpCodeT16, IOpCode32AluReg
|
|||
|
{
|
|||
|
public int Rm { get; }
|
|||
|
public int Rd { get; }
|
|||
|
public int Rn { get; }
|
|||
|
|
|||
|
public bool SetFlags { get; }
|
|||
|
|
|||
|
public static new OpCode Create(InstDescriptor inst, ulong address, int opCode, bool inITBlock) => new OpCodeT16AluRegHigh(inst, address, opCode, inITBlock);
|
|||
|
|
|||
|
public OpCodeT16AluRegHigh(InstDescriptor inst, ulong address, int opCode, bool inITBlock) : base(inst, address, opCode, inITBlock)
|
|||
|
{
|
|||
|
Rd = ((opCode >> 0) & 0x7) | ((opCode >> 4) & 0x8);
|
|||
|
Rn = ((opCode >> 0) & 0x7) | ((opCode >> 4) & 0x8);
|
|||
|
Rm = (opCode >> 3) & 0xf;
|
|||
|
|
|||
|
SetFlags = false;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|