about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-04-24 12:01:58 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-04-24 12:01:58 +0200
commit68d7188f3ef722a42bb617585928fc371299b5b8 (patch)
tree61007dbadc8ac671b6881d72212971769419ada8 /src
parenta924a74d82ce28c81d752479a6abf8ed96afa056 (diff)
downloadbox64-68d7188f3ef722a42bb617585928fc371299b5b8.tar.gz
box64-68d7188f3ef722a42bb617585928fc371299b5b8.zip
Added 0F 0B UD2 opcode
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);