Skip to content

Commit

Permalink
[INTERPRETER] Added 32bits F1 opcode
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitSeb committed Jun 24, 2024
1 parent 579ae99 commit 0ce5f34
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions src/emu/x64run.c
Original file line number Diff line number Diff line change
Expand Up @@ -1871,6 +1871,16 @@ int Run(x64emu_t *emu, int step)
}
#endif
break;
case 0xF1: /* INT1 */
if(!rex.is32bits) {
unimp = 1;
goto fini;
}
emu->old_ip = R_RIP;
#ifndef TEST_INTERPRETER
emit_signal(emu, SIGSEGV, (void*)R_RIP, 128);
#endif
break;

case 0xF4: /* HLT */
// this is a privilege opcode...
Expand Down

0 comments on commit 0ce5f34

Please sign in to comment.