aboutsummaryrefslogtreecommitdiff
path: root/src/ARMeilleure/State/RegisterConsts.cs
blob: b43f8d6463ac3b6473d9d04f869a145513e90a92 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
namespace ARMeilleure.State
{
    static class RegisterConsts
    {
        public const int IntRegsCount = 32;
        public const int VecRegsCount = 32;
        public const int FlagsCount = 32;
        public const int FpFlagsCount = 32;
        public const int IntAndVecRegsCount = IntRegsCount + VecRegsCount;
        public const int FpFlagsOffset = IntRegsCount + VecRegsCount + FlagsCount;
        public const int TotalCount = IntRegsCount + VecRegsCount + FlagsCount + FpFlagsCount;

        public const int ZeroIndex = 31;
    }
}