about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-07-11 20:46:17 +0200
committerptitSeb <sebastien.chev@gmail.com>2021-07-11 20:46:17 +0200
commit8711693698417c2e53b47a7190026dbcf2e2f7e7 (patch)
tree118378b188af5031485470b07f7f5d7cd322bd37
parente6f615a1f834d98838d14d5c837e587e4b6f4f58 (diff)
downloadbox64-8711693698417c2e53b47a7190026dbcf2e2f7e7.tar.gz
box64-8711693698417c2e53b47a7190026dbcf2e2f7e7.zip
Added 66 0F 3A 20 opcode (for #33)
-rw-r--r--src/emu/x64run660f.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/emu/x64run660f.c b/src/emu/x64run660f.c
index 1a753d2b..c4fabf44 100644
--- a/src/emu/x64run660f.c
+++ b/src/emu/x64run660f.c
@@ -433,6 +433,13 @@ int Run660F(x64emu_t *emu, rex_t rex)
                 if(MODREG && rex.w) ED->dword[1] = 0;

                 break;

 

+            case 0x20:      // PINSRB GX, ED, u8

+                nextop = F8;

+                GETED(1);

+                GETGX;

+                tmp8u = F8;

+                GX->ub[tmp8u&0xf] = ED->byte[0];

+                break;

             case 0x21:      // INSERTPS GX, EX, u8

                 nextop = F8;

                 GETEX(1);