diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-09-07 22:20:29 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-09-07 22:20:29 -0700 |
commit | 1a62e61df42bfdf001010700c1e1042c67d62ec2 (patch) | |
tree | 6bc1c8ed96ddaac8cfc9e403ecfe4778e0cf9795 /subx/019functions.cc | |
parent | e07a3f2886b117970b3cd58f7cd6806cbfe5cc4a (diff) | |
download | mu-1a62e61df42bfdf001010700c1e1042c67d62ec2.tar.gz |
4538
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); |