aboutsummaryrefslogtreecommitdiff
path: root/ChocolArm64/Decoders/OpCodeSimdFcond64.cs
diff options
context:
space:
mode:
Diffstat (limited to 'ChocolArm64/Decoders/OpCodeSimdFcond64.cs')
-rw-r--r--ChocolArm64/Decoders/OpCodeSimdFcond64.cs17
1 files changed, 17 insertions, 0 deletions
diff --git a/ChocolArm64/Decoders/OpCodeSimdFcond64.cs b/ChocolArm64/Decoders/OpCodeSimdFcond64.cs
new file mode 100644
index 00000000..b0f1c0eb
--- /dev/null
+++ b/ChocolArm64/Decoders/OpCodeSimdFcond64.cs
@@ -0,0 +1,17 @@
+using ChocolArm64.Instructions;
+
+namespace ChocolArm64.Decoders
+{
+ class OpCodeSimdFcond64 : OpCodeSimdReg64, IOpCodeCond64
+ {
+ public int Nzcv { get; private set; }
+
+ public Cond Cond { get; private set; }
+
+ public OpCodeSimdFcond64(Inst inst, long position, int opCode) : base(inst, position, opCode)
+ {
+ Nzcv = (opCode >> 0) & 0xf;
+ Cond = (Cond)((opCode >> 12) & 0xf);
+ }
+ }
+} \ No newline at end of file