about summary refs log tree commit diff stats
path: root/subx/apps/survey.subx
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 /subx/apps/survey.subx
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.
Diffstat (limited to 'subx/apps/survey.subx')
-rw-r--r--subx/apps/survey.subx2
1 files changed, 1 insertions, 1 deletions
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