aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Decoders/OpCodeSimdFcond64.cs
blob: 47de231c2e3b45d4bc5a74c7ef4cc064dd45a8c8 (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 OpCodeSimdFcond64 : OpCodeSimdReg64, IOpCodeCond64
    {
        public int Nzcv { get; private set; }

        public Condition Cond { get; private set; }

        public OpCodeSimdFcond64(Inst inst, long position, int opCode) : base(inst, position, opCode)
        {
            Nzcv =             (opCode >>  0) & 0xf;
            Cond = (Condition)((opCode >> 12) & 0xf);
        }
    }
}