mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-28 22:23:23 +01:00
2f16491712
* Get rid of Reflection.Emit dependency on CPU and Shader projects * Remove useless private sets * Missed those due to the alignment
22 lines
No EOL
626 B
C#
22 lines
No EOL
626 B
C#
namespace ARMeilleure.Decoders
|
|
{
|
|
class OpCodeT16AluImm8 : OpCodeT16, IOpCode32Alu
|
|
{
|
|
private int _rdn;
|
|
|
|
public int Rd => _rdn;
|
|
public int Rn => _rdn;
|
|
|
|
public bool SetFlags => false;
|
|
|
|
public int Immediate { get; }
|
|
|
|
public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCodeT16AluImm8(inst, address, opCode);
|
|
|
|
public OpCodeT16AluImm8(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
|
|
{
|
|
Immediate = (opCode >> 0) & 0xff;
|
|
_rdn = (opCode >> 8) & 0x7;
|
|
}
|
|
}
|
|
} |