about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2024-03-08 16:59:48 +0100
committerptitSeb <sebastien.chev@gmail.com>2024-03-08 16:59:48 +0100
commitd0013c07007e8aa6e243443961ec2fab9daac624 (patch)
tree04c32904b4ccdd339e10ea563c437333444a3c0e /src
parent460277289bafc73aba1a548d893364235ef5aed6 (diff)
downloadbox64-d0013c07007e8aa6e243443961ec2fab9daac624.tar.gz
box64-d0013c07007e8aa6e243443961ec2fab9daac624.zip
[INTERPRETER] Added 64 EB opcode (for #1347)
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64run64.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/emu/x64run64.c b/src/emu/x64run64.c
index 91cae9b6..39479f20 100644
--- a/src/emu/x64run64.c
+++ b/src/emu/x64run64.c
@@ -699,6 +699,11 @@ uintptr_t Run64(x64emu_t *emu, rex_t rex, int seg, uintptr_t addr)
             }

             break;

 

+        case 0xEB:                      /* JMP Ib */

+            tmp32s = F8S; // jump is relative

+            addr += tmp32s;

+            break;

+

         case 0xF7:                      /* GRP3 Ed(,Id) */

             nextop = F8;

             tmp8u = (nextop>>3)&7;