mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-18 12:55:54 +01:00
27 lines
720 B
C#
27 lines
720 B
C#
|
namespace ARMeilleure.Decoders
|
||
|
{
|
||
|
class OpCodeBfm : OpCodeAlu
|
||
|
{
|
||
|
public long WMask { get; private set; }
|
||
|
public long TMask { get; private set; }
|
||
|
public int Pos { get; private set; }
|
||
|
public int Shift { get; private set; }
|
||
|
|
||
|
public OpCodeBfm(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
|
||
|
{
|
||
|
var bm = DecoderHelper.DecodeBitMask(opCode, false);
|
||
|
|
||
|
if (bm.IsUndefined)
|
||
|
{
|
||
|
Instruction = InstDescriptor.Undefined;
|
||
|
|
||
|
return;
|
||
|
}
|
||
|
|
||
|
WMask = bm.WMask;
|
||
|
TMask = bm.TMask;
|
||
|
Pos = bm.Pos;
|
||
|
Shift = bm.Shift;
|
||
|
}
|
||
|
}
|
||
|
}
|