about summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rwxr-xr-xsrc/emu/x64run.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/emu/x64run.c b/src/emu/x64run.c
index 142171c4..d29d6d65 100755
--- a/src/emu/x64run.c
+++ b/src/emu/x64run.c
@@ -230,6 +230,16 @@ x64emurun:
             }
             break;
 
+        case 0x85:                      /* TEST Ed,Gd */
+            nextop = F8;
+            GETED;
+            GETGD;
+            if(rex.w)
+                test64(emu, ED->q[0], GD->q[0]);
+            else
+                test32(emu, ED->dword[0], GD->dword[0]);
+            break;
+
         case 0x89:                    /* MOV Ed,Gd */
             nextop = F8;
             GETED;