ryujinx/Ryujinx/Cpu/Decoder/AOpCodeBImmCmp.cs

16 lines
382 B
C#
Raw Normal View History

2018-02-04 18:08:20 -05:00
using ChocolArm64.Instruction;
namespace ChocolArm64.Decoder
{
class AOpCodeBImmCmp : AOpCodeBImm
{
public int Rt { get; private set; }
public AOpCodeBImmCmp(AInst Inst, long Position, int OpCode) : base(Inst, Position, OpCode)
2018-02-04 18:08:20 -05:00
{
Rt = OpCode & 0x1f;
Imm = Position + ADecoderHelper.DecodeImmS19_2(OpCode);
}
}
}