From b9d565f4449257712b929c21ec70959bc1b4da37 Mon Sep 17 00:00:00 2001 From: ptitSeb Date: Sat, 23 Nov 2024 14:32:29 +0100 Subject: [PATCH] [INTERPRETER] Added 0F 20..23 opcodes --- src/emu/x86run0f.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/emu/x86run0f.c b/src/emu/x86run0f.c index c05be1783..6a04c4e3c 100755 --- a/src/emu/x86run0f.c +++ b/src/emu/x86run0f.c @@ -229,6 +229,15 @@ uintptr_t Run0F(x86emu_t *emu, uintptr_t addr, int *step) nextop = F8; GET_ED_; break; + case 0x20: /* MOV REG, crX */ + case 0x21: /* MOV REG, drX */ + case 0x22: /* MOV cxR, REG */ + case 0x23: /* MOV drX, REG */ + // this is a privilege opcode... + #ifndef TEST_INTERPRETER + emit_signal(emu, SIGSEGV, (void*)R_EIP, 0); + #endif + break; case 0x28: /* MOVAPS Gx,Ex */ nextop = F8;