From 685a136635e0d7833271f6b35766191f8b032afb Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 6 Apr 2020 05:29:26 -0700 Subject: 6186 --- apps/survey | Bin 49844 -> 49842 bytes apps/survey.subx | 8 ++------ 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/apps/survey b/apps/survey index e4f5c1cf..50d04a0c 100755 Binary files a/apps/survey and b/apps/survey differ diff --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 -- cgit 1.4.1-2-gfad0