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

namespace ChocolArm64.State
{
    [Flags]
    enum PState
    {
        TBit = 5,
        EBit = 9,

        VBit = 28,
        CBit = 29,
        ZBit = 30,
        NBit = 31,

        TMask = 1 << TBit,
        EMask = 1 << EBit,

        VMask = 1 << VBit,
        CMask = 1 << CBit,
        ZMask = 1 << ZBit,
        NMask = 1 << NBit
    }
}