ryujinx/ChocolArm64/State/PState.cs

28 lines
364 B
C#
Raw Normal View History

2018-02-04 23:08:20 +00:00
using System;
namespace ChocolArm64.State
{
[Flags]
enum PState
2018-02-04 23:08:20 +00:00
{
TBit = 5,
2018-02-04 23:08:20 +00:00
VBit = 28,
CBit = 29,
ZBit = 30,
NBit = 31,
T = 1 << TBit,
2018-02-04 23:08:20 +00:00
V = 1 << VBit,
C = 1 << CBit,
Z = 1 << ZBit,
N = 1 << NBit,
Nz = N | Z,
Cv = C | V,
2018-02-04 23:08:20 +00:00
Nzcv = Nz | Cv
2018-02-04 23:08:20 +00:00
}
}