mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-11-24 11:52:03 +00:00
18 lines
No EOL
454 B
C#
18 lines
No EOL
454 B
C#
using ChocolArm64.Instruction;
|
|
|
|
namespace ChocolArm64.Decoder
|
|
{
|
|
class AOpCodeAdr : AOpCode
|
|
{
|
|
public int Rd { get; private set; }
|
|
public long Imm { get; private set; }
|
|
|
|
public AOpCodeAdr(AInst Inst, long Position, int OpCode) : base(Inst, Position, OpCode)
|
|
{
|
|
Rd = OpCode & 0x1f;
|
|
|
|
Imm = ADecoderHelper.DecodeImmS19_2(OpCode);
|
|
Imm |= ((long)OpCode >> 29) & 3;
|
|
}
|
|
}
|
|
} |