mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-11-16 01:55:27 +00: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;
|
||
|
}
|
||
|
}
|
||
|
}
|