Skip to content

Commit

Permalink
Handle undefined flags for imul
Browse files Browse the repository at this point in the history
  • Loading branch information
tbodt committed Jun 12, 2018
1 parent cbe8134 commit 96d8418
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tools/undefined-flags.c
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,7 @@ int undefined_flags_mask(int pid, struct cpu_state *cpu) {
read(modrm);
switch (REG(modrm)) {
case 4: return S|Z|A|P; // mul
case 5: return S|Z|A|P; // imul
}
break;
}
Expand Down

0 comments on commit 96d8418

Please sign in to comment.