Ryujinx-git/ChocolArm64/State/PState.cs

24 lines
321 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
{
VBit = 28,
CBit = 29,
ZBit = 30,
NBit = 31,
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
}
}