about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-05 10:34:37 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-05 10:34:37 +0100
commit57730a4b14da3efe73ba312e5371c08797282877 (patch)
tree9fd2429fb5c030db90b522b2b19dfc7b67fcf3a0 /src
parent5b5c77223dad88da3833550141d067f5e7048368 (diff)
downloadbox64-57730a4b14da3efe73ba312e5371c08797282877.tar.gz
box64-57730a4b14da3efe73ba312e5371c08797282877.zip
Added EB JMP opcode
Diffstat (limited to 'src')
-rwxr-xr-xsrc/emu/x64run.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/emu/x64run.c b/src/emu/x64run.c
index 11c63814..af256e93 100755
--- a/src/emu/x64run.c
+++ b/src/emu/x64run.c
@@ -531,6 +531,12 @@ x64emurun:
             STEP
             break;
 
+        case 0xEB:                      /* JMP Ib */
+            tmp32s = F8S; // jump is relative
+            R_RIP += tmp32s;
+            STEP
+            break;
+
         case 0xFF:                      /* GRP 5 Ed */
             nextop = F8;
             GETED;