about summary refs log tree commit diff stats
path: root/subx/apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-07-04 00:02:53 -0700
committerKartik Agaram <vc@akkartik.com>2019-07-04 00:02:53 -0700
commitc015791e8069056488f9617349165434a07c7776 (patch)
tree020f98945bcaed3214ad595ea09c60676d946787 /subx/apps
parent06abba2607926e07e265f5b056a23a38ef9bf45d (diff)
downloadmu-c015791e8069056488f9617349165434a07c7776.tar.gz
.
Fix a couple of syntax errors.

survey.subx still failing tests.
Diffstat (limited to 'subx/apps')
-rwxr-xr-xsubx/apps/surveybin31345 -> 31521 bytes
-rw-r--r--subx/apps/survey.subx4
2 files changed, 2 insertions, 2 deletions
diff --git a/subx/apps/survey b/subx/apps/survey
index edf767f1..257dee65 100755
--- a/subx/apps/survey
+++ b/subx/apps/survey
Binary files differdiff --git a/subx/apps/survey.subx b/subx/apps/survey.subx
index 2ad62cd7..d8ebe3c4 100644
--- a/subx/apps/survey.subx
+++ b/subx/apps/survey.subx
@@ -560,12 +560,12 @@ $compute-offsets:label:
     68/push  "label '"/imm32
     52/push-EDX
     68/push  "' is at offset 0x"/imm32
-    68/push  compute-offsets:file-offset/disp32
+    68/push  compute-offsets:file-offset/imm32
     68/push  ""/imm32
     # . . call
     e8/call  trace-snsns/disp32
     # continue
-    74/jump-if-equal  $compute-offsets:word-loop/disp8
+    0f 84/jump-if-equal  $compute-offsets:word-loop/disp32
 $compute-offsets:segment:
     # TODO: implement the rest of this block
     # if slice-equal?(word-slice/EDX, "==")