about summary refs log tree commit diff stats
path: root/subx/apps
diff options
context:
space:
mode:
authornc <charles.saternos@gmail.com>2019-07-11 22:31:56 -0400
committernc <charles.saternos@gmail.com>2019-07-11 22:31:56 -0400
commit3a3e7a90d75ceaa6c7e7e5c6472baef13e299332 (patch)
tree33dc2e867f3330bdd3cd89ae754fcccf0ad480da /subx/apps
parent28053087852042796593f0392cd7ed0f59edd1d6 (diff)
downloadmu-3a3e7a90d75ceaa6c7e7e5c6472baef13e299332.tar.gz
move discard instruction to correct spot
Diffstat (limited to 'subx/apps')
-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 2f100b79..31b98e6a 100644
--- a/subx/apps/survey.subx
+++ b/subx/apps/survey.subx
@@ -826,6 +826,8 @@ test-compute-offsets:
     68/push  "label 'x' is at offset 0x00000005."/imm32
     # . . call
     e8/call  check-trace-contains/disp32
+    # . . discard args
+    81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
     # dump *Trace-stream {{{
     # . write(2/stderr, "^")
     # . . push args
@@ -852,8 +854,6 @@ test-compute-offsets:
     # . . discard args
     81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
     # }}}
-    # . . discard args
-    81          0/subop/add         3/mod/direct    4/rm32/ESP    .           .             .           .           .               8/imm32           # add to ESP
     # . epilog
     89/copy                         3/mod/direct    4/rm32/ESP    .           .             .           5/r32/EBP   .               .                 # copy EBP to ESP
     5d/pop-to-EBP