From c1737cbaae4e0712beff129094aa73d51204f9a7 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Fri, 6 Mar 2020 12:08:42 -0800 Subject: 6083 --- apps/survey.subx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'apps/survey.subx') diff --git a/apps/survey.subx b/apps/survey.subx index 488b066f..06f6625d 100644 --- a/apps/survey.subx +++ b/apps/survey.subx @@ -654,7 +654,7 @@ compute-offsets: # in: (addr stream byte), segments: (addr stream {string, segm # if slice-empty?(segment-tmp) # abort # seg = get-or-insert(segments, curr-segment-name) - # seg->starting-address = parse-hex-int(segment-tmp) + # seg->starting-address = parse-hex-int-from-slice(segment-tmp) # seg->file-offset = *file-offset # trace("segment '", curr-segment-name, "' is at file offset ", seg->file-offset) # segment-offset = 0 @@ -987,10 +987,10 @@ $compute-offsets:update-curr-segment-name: 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 0xc/imm32 # add to esp # . ebx = eax 89/copy 3/mod/direct 3/rm32/ebx . . . 0/r32/eax . . # copy eax to ebx - # seg->address = parse-hex-int(segment-tmp) - # . eax = parse-hex-int(segment-tmp) + # seg->address = parse-hex-int-from-slice(segment-tmp) + # . eax = parse-hex-int-from-slice(segment-tmp) 68/push compute-offsets:segment-tmp/imm32 - e8/call parse-hex-int/disp32 + e8/call parse-hex-int-from-slice/disp32 # . . discard args 81 0/subop/add 3/mod/direct 4/rm32/esp . . . . . 4/imm32 # add to esp # . seg->address = eax -- cgit 1.4.1-2-gfad0