aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/State/APState.cs
blob: aaf0ff0ce1c18355fcf937a113d3d3c4fb56ecde (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
using System;

namespace ChocolArm64.State
{
    [Flags]
    enum APState
    {
        VBit = 28,
        CBit = 29,
        ZBit = 30,
        NBit = 31,

        V = 1 << VBit,
        C = 1 << CBit,
        Z = 1 << ZBit,
        N = 1 << NBit,

        NZ = N | Z,
        CV = C | V,

        NZCV = NZ | CV
    }
}