mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-23 21:02:03 +00:00
9cb57fb4bb
* Change naming convention for Ryujinx project * Change naming convention for ChocolArm64 project * Fix NaN * Remove unneeded this. from Ryujinx project * Adjust naming from new PRs * Name changes based on feedback * How did this get removed? * Rebasing fix * Change FP enum case * Remove prefix from ChocolArm64 classes - Part 1 * Remove prefix from ChocolArm64 classes - Part 2 * Fix alignment from last commit's renaming * Rename namespaces * Rename stragglers * Fix alignment * Rename OpCode class * Missed a few * Adjust alignment
24 lines
No EOL
757 B
C#
24 lines
No EOL
757 B
C#
using ChocolArm64.Instructions;
|
|
|
|
namespace ChocolArm64.Decoders
|
|
{
|
|
class OpCodeSystem64 : OpCode64
|
|
{
|
|
public int Rt { get; private set; }
|
|
public int Op2 { get; private set; }
|
|
public int CRm { get; private set; }
|
|
public int CRn { get; private set; }
|
|
public int Op1 { get; private set; }
|
|
public int Op0 { get; private set; }
|
|
|
|
public OpCodeSystem64(Inst inst, long position, int opCode) : base(inst, position, opCode)
|
|
{
|
|
Rt = (opCode >> 0) & 0x1f;
|
|
Op2 = (opCode >> 5) & 0x7;
|
|
CRm = (opCode >> 8) & 0xf;
|
|
CRn = (opCode >> 12) & 0xf;
|
|
Op1 = (opCode >> 16) & 0x7;
|
|
Op0 = ((opCode >> 19) & 0x1) | 2;
|
|
}
|
|
}
|
|
} |