aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Decoders/OpCodeMemEx64.cs
blob: 39935eb36e42a700b17ca2085592e434a9ac62ca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
using ChocolArm64.Instructions;

namespace ChocolArm64.Decoders
{
    class OpCodeMemEx64 : OpCodeMem64
    {
        public int Rt2 { get; private set; }
        public int Rs  { get; private set; }

        public OpCodeMemEx64(Inst inst, long position, int opCode) : base(inst, position, opCode)
        {
            Rt2 = (opCode >> 10) & 0x1f;
            Rs  = (opCode >> 16) & 0x1f;
        }
    }
}