mirror of
https://github.com/ryujinx-mirror/ryujinx.git
synced 2024-11-25 00:40:13 +01:00
20 lines
502 B
C#
20 lines
502 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; private set; }
|
||
|
|
||
|
public OpCodeT16AluImm8(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
|
||
|
{
|
||
|
Immediate = (opCode >> 0) & 0xff;
|
||
|
_rdn = (opCode >> 8) & 0x7;
|
||
|
}
|
||
|
}
|
||
|
}
|