1
0
Fork 0
mirror of https://github.com/Ryujinx/Ryujinx.git synced 2024-10-01 12:30:00 +02:00
Ryujinx/ChocolArm64/State/PState.cs

28 lines
364 B
C#
Raw Normal View History

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