mirror of
https://github.com/GreemDev/Ryujinx.git
synced 2024-11-16 22:37:08 +01:00
20 lines
507 B
C#
20 lines
507 B
C#
|
using ChocolArm64.Instruction;
|
||
|
|
||
|
namespace ChocolArm64.Decoder
|
||
|
{
|
||
|
class AOpCodeBImmTest : AOpCodeBImm
|
||
|
{
|
||
|
public int Rt { get; private set; }
|
||
|
public int Pos { get; private set; }
|
||
|
|
||
|
public AOpCodeBImmTest(AInst Inst, long Position, int OpCode) : base(Inst, Position)
|
||
|
{
|
||
|
Rt = OpCode & 0x1f;
|
||
|
|
||
|
Imm = Position + ADecoderHelper.DecodeImmS14_2(OpCode);
|
||
|
|
||
|
Pos = (OpCode >> 19) & 0x1f;
|
||
|
Pos |= (OpCode >> 26) & 0x20;
|
||
|
}
|
||
|
}
|
||
|
}
|