about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64run0f.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/emu/x64run0f.c b/src/emu/x64run0f.c
index 3d5712f1..6f8c065b 100644
--- a/src/emu/x64run0f.c
+++ b/src/emu/x64run0f.c
@@ -49,6 +49,10 @@ int Run0F(x64emu_t *emu, rex_t rex)
             x64Syscall(emu);

             break;

 

+        case 0x0B:                      /* UD2 */

+            emit_signal(emu, SIGILL, (void*)R_RIP, 0);

+            break;

+

         case 0x10:                      /* MOVUPS Gx,Ex */

             nextop = F8;

             GETEX(0);