diff options
Diffstat (limited to 'subx/019functions.cc')
-rw-r--r-- | subx/019functions.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/019functions.cc b/subx/019functions.cc index 964ca977..fbc7e605 100644 --- a/subx/019functions.cc +++ b/subx/019functions.cc @@ -16,7 +16,7 @@ put(name, "e8", "call disp32"); :(before "End Single-Byte Opcodes") case 0xe8: { // call disp32 relative to next EIP - int32_t offset = imm32(); + int32_t offset = next32(); trace(90, "run") << "call imm32 0x" << HEXWORD << offset << end(); //? cerr << "push: EIP: " << EIP << " => " << Reg[ESP].u << '\n'; push(EIP); |