about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-07-09 16:39:56 -0700
committerKartik Agaram <vc@akkartik.com>2019-07-09 16:55:13 -0700
commit7a752f8d3df2f7123c4954ae960bb221ae9b4d68 (patch)
tree7d4cef908f08e93ef4e993854239c34dad46c01f
parentca32bfbed842106b860bd6aa601defe757fdd927 (diff)
downloadmu-7a752f8d3df2f7123c4954ae960bb221ae9b4d68.tar.gz
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.
-rwxr-xr-xsubx/apps/surveybin37321 -> 37321 bytes
-rw-r--r--subx/apps/survey.subx2
2 files changed, 1 insertions, 1 deletions
diff --git a/subx/apps/survey b/subx/apps/survey
index 7bdc0cce..3176f924 100755
--- a/subx/apps/survey
+++ b/subx/apps/survey
Binary files differdiff --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