aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/State/FPState.cs
blob: 027272eeebddc6f1ec6a2e522bc56e9bbbffa224 (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
25
26
27
28
29
30
31
namespace ARMeilleure.State
{
    public enum FPState
    {
        // FPSR Flags.
        IocFlag = 0,
        DzcFlag = 1,
        OfcFlag = 2,
        UfcFlag = 3,
        IxcFlag = 4,
        IdcFlag = 7,
        QcFlag = 27,
        VFlag = 28,
        CFlag = 29,
        ZFlag = 30,
        NFlag = 31,

        // FPCR Flags.
        IoeFlag = 8,
        DzeFlag = 9,
        OfeFlag = 10,
        UfeFlag = 11,
        IxeFlag = 12,
        IdeFlag = 15,
        RMode0Flag = 22,
        RMode1Flag = 23,
        FzFlag = 24,
        DnFlag = 25,
        AhpFlag = 26,
    }
}