Ryujinx/ARMeilleure/Decoders/OpCodeT16AluUx.cs

23 lines
645 B
C#
Raw Normal View History

2022-02-11 12:07:52 +00:00
namespace ARMeilleure.Decoders
{
class OpCodeT16AluUx : OpCodeT16, IOpCode32AluUx
{
public int Rm { get; }
public int Rd { get; }
public int Rn { get; }
2022-02-14 21:06:24 +00:00
public bool? SetFlags => false;
2022-02-11 12:07:52 +00:00
public int RotateBits => 0;
public bool Add => false;
2022-02-14 21:06:24 +00:00
public static new OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCodeT16AluUx(inst, address, opCode);
2022-02-11 12:07:52 +00:00
2022-02-14 21:06:24 +00:00
public OpCodeT16AluUx(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
2022-02-11 12:07:52 +00:00
{
Rd = (opCode >> 0) & 0x7;
Rm = (opCode >> 3) & 0x7;
}
}
2022-02-14 21:06:24 +00:00
}