From 3a3e7a90d75ceaa6c7e7e5c6472baef13e299332 Mon Sep 17 00:00:00 2001 From: nc Date: Thu, 11 Jul 2019 22:31:56 -0400 Subject: move discard instruction to correct spot --- subx/apps/survey.subx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'subx/apps') 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 -- cgit 1.4.1-2-gfad0