Skip to content

Commit

Permalink
[INTERPRETER] Added 0F 20..23 opcodes
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Nov 23, 2024
1 parent 58f1b5d commit b9d565f
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/emu/x86run0f.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit b9d565f

Please sign in to comment.