From 1a4de9dd58201bb57a07ea931d1764064fc52e64 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 22 Sep 2018 00:32:03 -0700 Subject: 4588 --- html/subx/019functions.cc.html | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'html/subx/019functions.cc.html') diff --git a/html/subx/019functions.cc.html b/html/subx/019functions.cc.html index 293d6160..a0845071 100644 --- a/html/subx/019functions.cc.html +++ b/html/subx/019functions.cc.html @@ -79,10 +79,10 @@ if ('onhashchange' in window) { 16 17 :(before "End Single-Byte Opcodes") 18 case 0xe8: { // call disp32 relative to next EIP -19 int32_t offset = next32(); +19 int32_t offset = next32(); 20 trace(90, "run") << "call imm32 0x" << HEXWORD << offset << end(); 21 //? cerr << "push: EIP: " << EIP << " => " << Reg[ESP].u << '\n'; -22 push(EIP); +22 push(EIP); 23 EIP += offset; 24 trace(90, "run") << "jumping to 0x" << HEXWORD << EIP << end(); 25 break; @@ -107,7 +107,7 @@ if ('onhashchange' in window) { 44 case 2: { // call function pointer at r/m32 45 trace(90, "run") << "call to r/m32" << end(); 46 int32_t* offset = effective_address(modrm); -47 push(EIP); +47 push(EIP); 48 EIP += *offset; 49 trace(90, "run") << "jumping to 0x" << HEXWORD << EIP << end(); 50 break; @@ -147,7 +147,7 @@ if ('onhashchange' in window) { 84 :(before "End Single-Byte Opcodes") 85 case 0xc3: { // return from a call 86 trace(90, "run") << "return" << end(); -87 EIP = pop(); +87 EIP = pop(); 88 trace(90, "run") << "jumping to 0x" << HEXWORD << EIP << end(); 89 break; 90 } -- cgit 1.4.1-2-gfad0