From 7a752f8d3df2f7123c4954ae960bb221ae9b4d68 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Tue, 9 Jul 2019 16:39:56 -0700 Subject: this looks like a bug But of course the test is still infinite-looping so we can't be sure. I'm still just reading the code. --- subx/apps/survey | Bin 37321 -> 37321 bytes subx/apps/survey.subx | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'subx') diff --git a/subx/apps/survey b/subx/apps/survey index 7bdc0cce..3176f924 100755 Binary files a/subx/apps/survey and b/subx/apps/survey differ diff --git a/subx/apps/survey.subx b/subx/apps/survey.subx index 854aa3cc..532cd034 100644 --- a/subx/apps/survey.subx +++ b/subx/apps/survey.subx @@ -631,7 +631,7 @@ $compute-offsets:else: 01/add 0/mod/indirect 5/rm32/.disp32 . . 0/r32/EAX compute-offsets:segment-offset/disp32 # add EAX to *segment-offset # file-offset += width 01/add 0/mod/indirect 5/rm32/.disp32 . . 0/r32/EAX compute-offsets:file-offset/disp32 # add EAX to *file-offset - e9/jump $compute-offsets:line-loop/disp32 + e9/jump $compute-offsets:word-loop/disp32 $compute-offsets:end: # . reclaim locals # . restore registers -- cgit 1.4.1-2-gfad0