/ src / ARMeilleure / State / RegisterConsts.cs
RegisterConsts.cs
 1  namespace ARMeilleure.State
 2  {
 3      static class RegisterConsts
 4      {
 5          public const int IntRegsCount = 32;
 6          public const int VecRegsCount = 32;
 7          public const int FlagsCount = 32;
 8          public const int FpFlagsCount = 32;
 9          public const int IntAndVecRegsCount = IntRegsCount + VecRegsCount;
10          public const int FpFlagsOffset = IntRegsCount + VecRegsCount + FlagsCount;
11          public const int TotalCount = IntRegsCount + VecRegsCount + FlagsCount + FpFlagsCount;
12  
13          public const int ZeroIndex = 31;
14      }
15  }