Ryujinx/ARMeilleure/Decoders/OpCodeT16BReg.cs

15 lines
486 B
C#
Raw Normal View History

2022-02-10 17:16:25 +00:00
namespace ARMeilleure.Decoders
{
class OpCodeT16BReg : OpCodeT16, IOpCode32BReg
{
public int Rm { get; }
public new static OpCode Create(InstDescriptor inst, ulong address, int opCode, bool inITBlock) => new OpCodeT16BReg(inst, address, opCode, inITBlock);
public OpCodeT16BReg(InstDescriptor inst, ulong address, int opCode, bool inITBlock) : base(inst, address, opCode, inITBlock)
{
Rm = (opCode >> 3) & 0xf;
}
}
}