mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-12-15 11:31:16 +01:00
17 lines
484 B
C#
17 lines
484 B
C#
|
namespace ARMeilleure.Decoders
|
||
|
{
|
||
|
class OpCode32Mrs : OpCode32
|
||
|
{
|
||
|
public bool R { get; }
|
||
|
public int Rd { get; }
|
||
|
|
||
|
public new static OpCode Create(InstDescriptor inst, ulong address, int opCode) => new OpCode32Mrs(inst, address, opCode);
|
||
|
|
||
|
public OpCode32Mrs(InstDescriptor inst, ulong address, int opCode) : base(inst, address, opCode)
|
||
|
{
|
||
|
R = ((opCode >> 22) & 1) != 0;
|
||
|
Rd = (opCode >> 12) & 0xf;
|
||
|
}
|
||
|
}
|
||
|
}
|