about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2021-03-08 17:10:17 +0100
committerptitSeb <sebastien.chev@gmail.com>2021-03-08 17:10:17 +0100
commitce8a482a62b0a7b0fd2525771674d4f9f3080006 (patch)
tree4fe676cc4279445da9bf064a9005eb471888b89b /src
parent76f5319b0534be11df62944ffdfb2cf7e2576508 (diff)
downloadbox64-ce8a482a62b0a7b0fd2525771674d4f9f3080006.tar.gz
box64-ce8a482a62b0a7b0fd2525771674d4f9f3080006.zip
Added 66 85 TEST opcode
Diffstat (limited to 'src')
-rw-r--r--src/emu/x64run66.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/emu/x64run66.c b/src/emu/x64run66.c
index c112fd97..a8c76926 100644
--- a/src/emu/x64run66.c
+++ b/src/emu/x64run66.c
@@ -75,6 +75,13 @@ int Run66(x64emu_t *emu, rex_t rex)
         }

         break;

 

+    case 0x85:                              /* TEST Ew,Gw */

+        nextop = F8;

+        GETEW(0);

+        GETGW;

+        test16(emu, EW->word[0], GW->word[0]);

+        break;

+

     case 0x89:                              /* MOV Ew,Gw */

         nextop = F8;

         GETEW(0);