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