From 065d91cf9bdb075f9f0ed04af6256f8f04adc37e Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Fri, 26 Mar 2021 08:34:34 +0100 Subject: Added 66 8B opcode (was already in dynarec) --- src/emu/x64run66.c | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/emu/x64run66.c b/src/emu/x64run66.c index 73eb5417..8f93e27f 100644 --- a/src/emu/x64run66.c +++ b/src/emu/x64run66.c @@ -209,7 +209,20 @@ int Run66(x64emu_t *emu, rex_t rex, int rep) nextop = F8; GETEW(0); GETGW; - EW->word[0] = GW->word[0]; + if(rex.w) + EW->q[0] = GW->q[0]; + else + EW->word[0] = GW->word[0]; + break; + + case 0x8B: /* MOV Gw,Ew */ + nextop = F8; + GETEW(0); + GETGW; + if(rex.w) + GW->q[0] = EW->q[0]; + else + GW->word[0] = EW->word[0]; break; case 0x90: /* NOP */ -- cgit 1.4.1