about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-07-09 16:53:08 -0700
committerKartik Agaram <vc@akkartik.com>2019-07-09 16:55:57 -0700
commitc7564b7688c622b7ed169cab46775197997af1b0 (patch)
tree6971959cd54f38107f801b161bdd29d2f019c4a3
parentb14457a4cb6e6677c5e0c56f6aa4bb32c7ff537b (diff)
downloadmu-c7564b7688c622b7ed169cab46775197997af1b0.tar.gz
.
-rw-r--r--subx/apps/survey.subx4
1 files changed, 2 insertions, 2 deletions
diff --git a/subx/apps/survey.subx b/subx/apps/survey.subx
index 6f542d2f..c67d3b1d 100644
--- a/subx/apps/survey.subx
+++ b/subx/apps/survey.subx
@@ -529,7 +529,7 @@ $compute-offsets:segment:
     e8/call  get-or-insert-slice/disp32
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               0xc/imm32         # add to ESP
-    # seg->size/EBX = file-offset - seg->file-offset
+    # seg->size = file-offset - seg->file-offset
     # . save ECX
     51/push-ECX
     # . EBX = *file-offset
@@ -542,7 +542,7 @@ $compute-offsets:segment:
     89/copy                         1/mod/*+disp8   0/rm32/EAX    .           .             .           3/r32/EBX   8/disp8         .                 # copy EBX to *(EAX+8)
     # . restore ECX
     59/pop-to-ECX
-    # trace-slsns("segment '", curr-segment-name, "' has size 0x", seg->size/EBX, ".")
+    # trace-slsns("segment '", curr-segment-name, "' has size 0x", seg->size, ".")
     # . . push args
     68/push  "."/imm32
     53/push-EBX