about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-02-18 13:24:17 +0100
committerptitSeb <sebastien.chev@gmail.com>2023-02-18 13:24:17 +0100
commit2e59b56f1691227e4a93ac1c2dd844adcc6334cd (patch)
treed928e3b619cf765f66765a2d62b8e28b9075c3b7 /src
parentd9f9e8e57aba744eb522f9072e0f8fa5e614096e (diff)
downloadbox64-2e59b56f1691227e4a93ac1c2dd844adcc6334cd.tar.gz
box64-2e59b56f1691227e4a93ac1c2dd844adcc6334cd.zip
Added 67 0F B9 opcode
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64run670f.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/emu/x64run670f.c b/src/emu/x64run670f.c
index 4125a82d..d122d0e0 100644
--- a/src/emu/x64run670f.c
+++ b/src/emu/x64run670f.c
@@ -19,6 +19,7 @@
 #include "x87emu_private.h"
 #include "box64context.h"
 #include "bridge.h"
+#include "signals.h"
 #ifdef DYNAREC
 #include "../dynarec/native_lock.h"
 #endif
@@ -94,6 +95,18 @@ uintptr_t Run670F(x64emu_t *emu, rex_t rex, int rep, uintptr_t addr)
             }
             break;
 
+        case 0xB9:
+            switch(rep) {
+                case 0: /* UD1 Ed */
+                    nextop = F8;
+                    GETED32(0);
+                    emit_signal(emu, SIGILL, (void*)R_RIP, 0);
+                    break;
+                default:
+                    return 0;
+            }
+            break;
+
     default:
         return 0;
     }