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