mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-09 07:58:32 +00:00
25 lines
698 B
C#
25 lines
698 B
C#
|
namespace ARMeilleure.Decoders
|
|||
|
{
|
|||
|
class OpCodeT16AluImmZero : OpCodeT16, IOpCode32AluImm
|
|||
|
{
|
|||
|
public int Rd { get; }
|
|||
|
public int Rn { get; }
|
|||
|
|
|||
|
public bool? SetFlags => null;
|
|||
|
|
|||
|
public int Immediate { get; }
|
|||
|
|
|||
|
public bool IsRotated { get; }
|
|||
|
|
|||
|
public static new OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCodeT16AluImmZero(inst, address, opCode);
|
|||
|
|
|||
|
public OpCodeT16AluImmZero(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
|
|||
|
{
|
|||
|
Rd = (opCode >> 0) & 0x7;
|
|||
|
Rn = (opCode >> 3) & 0x7;
|
|||
|
Immediate = 0;
|
|||
|
IsRotated = false;
|
|||
|
}
|
|||
|
}
|
|||
|
}
|