Skip to content

Commit

Permalink
Forgot to update these instructions with an addition parameter since …
Browse files Browse the repository at this point in the history
…adding NEXT_PC writeback.
  • Loading branch information
pgoodman committed Oct 10, 2020
1 parent 1579cec commit da2e970
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions remill/Arch/X86/Semantics/INTERRUPT.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -31,19 +31,19 @@ DEF_SEM(BOUND, R8W cond, S1 src1, S2 src2, R32W) {
}
#endif

DEF_SEM(DoINT_IMMb, I8 num) {
DEF_SEM(DoINT_IMMb, I8 num, IF_32BIT_ELSE(R32W, R64W)) {
INTERRUPT_VECTOR = Read(num);
HYPER_CALL = AsyncHyperCall::kX86IntN;
return memory;
}

DEF_SEM(DoINT1) {
DEF_SEM(DoINT1, IF_32BIT_ELSE(R32W, R64W)) {
INTERRUPT_VECTOR = 1;
HYPER_CALL = AsyncHyperCall::kX86Int1;
return memory;
}

DEF_SEM(DoINT3) {
DEF_SEM(DoINT3, IF_32BIT_ELSE(R32W, R64W)) {
INTERRUPT_VECTOR = 3;
HYPER_CALL = AsyncHyperCall::kX86Int3;
return memory;
Expand Down

0 comments on commit da2e970

Please sign in to comment.