aboutsummaryrefslogtreecommitdiff
path: root/Ryujinx/Cpu/State/APState.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Ryujinx/Cpu/State/APState.cs')
-rw-r--r--Ryujinx/Cpu/State/APState.cs23
1 files changed, 23 insertions, 0 deletions
diff --git a/Ryujinx/Cpu/State/APState.cs b/Ryujinx/Cpu/State/APState.cs
new file mode 100644
index 00000000..f55431a6
--- /dev/null
+++ b/Ryujinx/Cpu/State/APState.cs
@@ -0,0 +1,23 @@
+using System;
+
+namespace ChocolArm64.State
+{
+ [Flags]
+ public enum APState
+ {
+ 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,
+
+ NZCV = NZ | CV
+ }
+} \ No newline at end of file