mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-15 03:21:15 +01:00
17 lines
437 B
C#
17 lines
437 B
C#
|
using ChocolArm64.Instruction;
|
||
|
|
||
|
namespace ChocolArm64.Decoder
|
||
|
{
|
||
|
class AOpCodeCsel : AOpCodeAlu, IAOpCodeCond
|
||
|
{
|
||
|
public int Rm { get; private set; }
|
||
|
|
||
|
public ACond Cond { get; private set; }
|
||
|
|
||
|
public AOpCodeCsel(AInst Inst, long Position, int OpCode) : base(Inst, Position, OpCode)
|
||
|
{
|
||
|
Rm = (OpCode >> 16) & 0x1f;
|
||
|
Cond = (ACond)((OpCode >> 12) & 0xf);
|
||
|
}
|
||
|
}
|
||
|
}
|