about summary refs log tree commit diff stats
path: root/subx/017functions.cc
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2018-01-24 21:01:47 -0800
committerKartik K. Agaram <vc@akkartik.com>2018-01-24 21:14:31 -0800
commit871ea368d14d0ce474a7db20f13684bdcde2a7e1 (patch)
tree1a880b871739f1857a9ce2d501b2349a6152a6d8 /subx/017functions.cc
parent631de5d9819531e7428a115e81c8e5e627609f52 (diff)
downloadmu-871ea368d14d0ce474a7db20f13684bdcde2a7e1.tar.gz
4189
Diffstat (limited to 'subx/017functions.cc')
-rw-r--r--subx/017functions.cc10
1 files changed, 5 insertions, 5 deletions
diff --git a/subx/017functions.cc b/subx/017functions.cc
index cee11fc0..08bfb793 100644
--- a/subx/017functions.cc
+++ b/subx/017functions.cc
@@ -28,15 +28,15 @@ case 0xe8: {  // call imm32 relative to next EIP
 # op  ModR/M  SIB   displacement  immediate
   ff  d3                                       # call function offset at EBX
   # next EIP is 3
-+run: call to effective address
-+run: effective address is EBX
++run: call to r/m32
++run: r/m32 is EBX
 +run: decrementing ESP to 0x00000060
 +run: pushing value 0x00000003
 +run: jumping to 0x000000a3
 
 :(before "End Op ff Subops")
 case 2: {  // call function pointer at r/m32
-  trace(2, "run") << "call to effective address" << end();
+  trace(2, "run") << "call to r/m32" << end();
   int32_t* offset = effective_address(modrm);
   push(EIP);
   EIP += *offset;
@@ -51,8 +51,8 @@ case 2: {  // call function pointer at r/m32
 # op  ModR/M  SIB   displacement  immediate
   ff  13                                       # call function offset at *EBX
   # next EIP is 3
-+run: call to effective address
-+run: effective address is mem at address 0x10 (EBX)
++run: call to r/m32
++run: effective address is 0x10 (EBX)
 +run: decrementing ESP to 0x00000060
 +run: pushing value 0x00000003
 +run: jumping to 0x000000a3