about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2023-06-18 14:49:11 +0200
committerptitSeb <sebastien.chev@gmail.com>2023-06-18 14:49:11 +0200
commit8e2889c2b557ddcce06bfe32a7d67b2da020691c (patch)
treeee5921118f375426330b870b0931993e2cbe798c
parent95d21e61e40ec1f1d3980c8527b62d41b0e7a302 (diff)
downloadbox64-8e2889c2b557ddcce06bfe32a7d67b2da020691c.tar.gz
box64-8e2889c2b557ddcce06bfe32a7d67b2da020691c.zip
Added 67 0F B6 opcode
-rw-r--r--src/emu/x64run670f.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/emu/x64run670f.c b/src/emu/x64run670f.c
index 4e459e71..c0283ab5 100644
--- a/src/emu/x64run670f.c
+++ b/src/emu/x64run670f.c
@@ -102,6 +102,13 @@ uintptr_t Run670F(x64emu_t *emu, rex_t rex, int rep, uintptr_t addr)
             }
             break;
 
+        case 0xB6:                      /* MOVZX Gd,Eb */
+            nextop = F8;
+            GETEB32(0);
+            GETGD;
+            GD->q[0] = EB->byte[0];
+            break;
+
         case 0xB9:
             switch(rep) {
                 case 0: /* UD1 Ed */