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

namespace ChocolArm64.Decoders
{
    class OpCodeCsel64 : OpCodeAlu64, IOpCodeCond64
    {
        public int Rm { get; private set; }

        public Cond Cond { get; private set; }

        public OpCodeCsel64(Inst inst, long position, int opCode) : base(inst, position, opCode)
        {
            Rm   =         (opCode >> 16) & 0x1f;
            Cond = (Cond)((opCode >> 12) & 0xf);
        }
    }
}