about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xapps/surveybin49844 -> 49842 bytes
-rw-r--r--apps/survey.subx8
2 files changed, 2 insertions, 6 deletions
diff --git a/apps/survey b/apps/survey
index e4f5c1cf..50d04a0c 100755
--- a/apps/survey
+++ b/apps/survey
Binary files differdiff --git a/apps/survey.subx b/apps/survey.subx
index 40c6405b..c85be9a1 100644
--- a/apps/survey.subx
+++ b/apps/survey.subx
@@ -1001,7 +1001,7 @@ $compute-offsets:update-curr-segment-name:
     # trace-sssns("segment '", curr-segment-name, "' is at file offset ", seg->file-offset, "")
     # . . push args
     68/push  "."/imm32
-    50/push-eax
+    ff          6/subop/push        0/mod/indirect  5/rm32/.disp32            .             .           .           compute-offsets:file-offset/disp32  # push *file-offset
     68/push  "' is at file offset "/imm32
     56/push-esi
     68/push  "segment '"/imm32
@@ -1057,13 +1057,9 @@ $compute-offsets:save-label-offset:
     # . x->segment-offset = ebx
     89/copy                         1/mod/*+disp8   0/rm32/eax    .           .             .           3/r32/ebx   4/disp8         .                 # copy ebx to *(eax+4)
     # trace-slsns("label '" word-slice/edx "' is at segment offset " *segment-offset/eax ".")
-    # . . eax = file-offset
-    b8/copy-to-eax compute-offsets:segment-offset/imm32
-    # . . eax = *file-offset/eax
-    8b/copy                         0/mod/indirect  0/rm32/eax    .           .             .           0/r32/eax   .               .                 # copy *eax to eax
     # . . push args
     68/push  "."/imm32
-    50/push-eax
+    53/push-ebx
     68/push  "' is at segment offset "/imm32
     52/push-edx
     68/push  "label '"/imm32