about summary refs log tree commit diff stats
path: root/subx
diff options
context:
space:
mode:
Diffstat (limited to 'subx')
-rw-r--r--subx/apps/survey.subx16
1 files changed, 8 insertions, 8 deletions
diff --git a/subx/apps/survey.subx b/subx/apps/survey.subx
index 06ff8c46..aa226d40 100644
--- a/subx/apps/survey.subx
+++ b/subx/apps/survey.subx
@@ -613,11 +613,11 @@ $compute-offsets:segment:
     59/pop-to-ECX
     # trace-slsns("segment '", curr-segment-name, "' has size 0x", seg->size/EBX, "")
     # . push args
-    68/push  "segment '"/imm32
-    68/push  compute-offsets:curr-segment-name/imm32
-    68/push  "' has size 0x"/imm32
-    53/push-EBX
     68/push  ""/imm32
+    53/push-EBX
+    68/push  "' has size 0x"/imm32
+    68/push  compute-offsets:curr-segment-name/imm32
+    68/push  "segment '"/imm32
     # . call
     e8/call  trace-slsns/disp32
     # . discard args
@@ -690,11 +690,11 @@ $compute-offsets:construct-next-segment:
     89/copy                         1/mod/*+disp8   3/rm32/EBX    .           .             .           0/r32/EAX   4/disp8         .                 # copy EAX to *(EBX+4)
     # trace-slsns("segment '", curr-segment-name, "' has size 0x", seg->size/EBX, "")
     # . push args
-    68/push  "segment '"/imm32
-    68/push  compute-offsets:curr-segment-name/imm32
-    68/push  "' is at file offset size 0x"/imm32
-    53/push-EAX
     68/push  ""/imm32
+    53/push-EAX
+    68/push  "' is at file offset size 0x"/imm32
+    68/push  compute-offsets:curr-segment-name/imm32
+    68/push  "segment '"/imm32
     # . call
     e8/call  trace-slsns/disp32
     # . discard args