Skip to content

Commit b9d565f

Browse files
committed
[INTERPRETER] Added 0F 20..23 opcodes
1 parent 58f1b5d commit b9d565f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/emu/x86run0f.c

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -229,6 +229,15 @@ uintptr_t Run0F(x86emu_t *emu, uintptr_t addr, int *step)
229229
nextop = F8;
230230
GET_ED_;
231231
break;
232+
case 0x20: /* MOV REG, crX */
233+
case 0x21: /* MOV REG, drX */
234+
case 0x22: /* MOV cxR, REG */
235+
case 0x23: /* MOV drX, REG */
236+
// this is a privilege opcode...
237+
#ifndef TEST_INTERPRETER
238+
emit_signal(emu, SIGSEGV, (void*)R_EIP, 0);
239+
#endif
240+
break;
232241

233242
case 0x28: /* MOVAPS Gx,Ex */
234243
nextop = F8;

0 commit comments

Comments
 (0)