about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-05 14:16:09 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-05 14:16:09 +0100
commit8044aa44fed24da92356f5f625e896cb9cde32a1 (patch)
treef747d97cda8a0dab04dd11a027b709c94f0eff45
parent19fc4401004c0c5f51eb8c8b52ec8f24dcda7222 (diff)
downloadbox64-8044aa44fed24da92356f5f625e896cb9cde32a1.tar.gz
box64-8044aa44fed24da92356f5f625e896cb9cde32a1.zip
Added REX 0F B7 MOVZX opcode
-rw-r--r--src/emu/x64run0f.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/emu/x64run0f.c b/src/emu/x64run0f.c
index 8f40aa5f..51496f55 100644
--- a/src/emu/x64run0f.c
+++ b/src/emu/x64run0f.c
@@ -77,6 +77,12 @@ int Run0F(x64emu_t *emu, rex_t rex)
             GETGD;

             GD->q[0] = EB->byte[0];

             break;

+        case 0xB7:                      /* MOVZX Gd,Ew */

+            nextop = F8;

+            GETEW;

+            GETGD;

+            GD->q[0] = EW->word[0];

+            break;

 

         case 0xBE:                      /* MOVSX Gd,Eb */

             nextop = F8;