mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-14 05:46:41 +00:00
21 lines
No EOL
532 B
C#
21 lines
No EOL
532 B
C#
using ChocolArm64.Instruction;
|
|
using ChocolArm64.State;
|
|
|
|
namespace ChocolArm64.Decoder
|
|
{
|
|
class AOpCodeBImmCmp : AOpCodeBImm
|
|
{
|
|
public int Rt { get; private set; }
|
|
|
|
public AOpCodeBImmCmp(AInst Inst, long Position, int OpCode) : base(Inst, Position, OpCode)
|
|
{
|
|
Rt = OpCode & 0x1f;
|
|
|
|
Imm = Position + ADecoderHelper.DecodeImmS19_2(OpCode);
|
|
|
|
RegisterSize = (OpCode >> 31) != 0
|
|
? ARegisterSize.Int64
|
|
: ARegisterSize.Int32;
|
|
}
|
|
}
|
|
} |