about summary refs log tree commit diff stats
path: root/src/emu
diff options
context:
space:
mode:
authorptitSeb <sebastien.chev@gmail.com>2022-06-11 13:22:05 +0200
committerptitSeb <sebastien.chev@gmail.com>2022-06-11 13:22:05 +0200
commitf012e02b3541c8c2c5389b8fc97f618cded58572 (patch)
tree440ddb6c6ce92378abfa05f63c29ff161cf92500 /src/emu
parent1ffbb7bf6bc566f8d17548f766454c6b36786114 (diff)
downloadbox64-f012e02b3541c8c2c5389b8fc97f618cded58572.tar.gz
box64-f012e02b3541c8c2c5389b8fc97f618cded58572.zip
Added 67 C7 opcode ([DYNAREC] too) (for #323)
Diffstat (limited to 'src/emu')
-rw-r--r--src/emu/x64run67.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/emu/x64run67.c b/src/emu/x64run67.c
index 6668999f..4dd1c5dc 100644
--- a/src/emu/x64run67.c
+++ b/src/emu/x64run67.c
@@ -212,6 +212,18 @@ int Run67(x64emu_t *emu, rex_t rex, int rep)
         }

         break;

 

+    case 0xC7:                      /* MOV Ed,Id */

+        nextop = F8;

+        GETED32(4);

+        if(rex.w)

+            ED->q[0] = F32S64;

+        else

+            if(MODREG)

+                ED->q[0] = F32;

+            else

+                ED->dword[0] = F32;

+        break;

+

     case 0xE0:                      /* LOOPNZ */

         CHECK_FLAGS(emu);

         tmp8s = F8S;