aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Decoder/AOpCodeMemEx.cs
blob: 3a28cfd73a969d4f28364698e7af9a1dd6ad854f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using ChocolArm64.Instruction;

namespace ChocolArm64.Decoder
{
    class AOpCodeMemEx : AOpCodeMem
    {
        public int Rt2 { get; private set; }
        public int Rs  { get; private set; }

        public AOpCodeMemEx(AInst Inst, long Position, int OpCode) : base(Inst, Position, OpCode)
        {
            Rt2 = (OpCode >> 10) & 0x1f;
            Rs  = (OpCode >> 16) & 0x1f;
        }
    }
}