about summary refs log tree commit diff stats
path: root/subx/apps/factorial.subx
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-07-03 23:56:48 -0700
committerKartik Agaram <vc@akkartik.com>2019-07-03 23:56:48 -0700
commit06abba2607926e07e265f5b056a23a38ef9bf45d (patch)
tree20e985102ac7d9ddc455e3292184f26a331db1d7 /subx/apps/factorial.subx
parent76aec0e63692ab9411bdda37eb50a778475e0c40 (diff)
parentcdf85518dfb364d816e0db1448e20bf30b2b65f9 (diff)
downloadmu-06abba2607926e07e265f5b056a23a38ef9bf45d.tar.gz
Merge branch 'master' into survey
High time we pulled in the final changes to dquotes.

In the process we fix one recently introduced duplicate symbol.
Diffstat (limited to 'subx/apps/factorial.subx')
-rw-r--r--subx/apps/factorial.subx2
1 files changed, 1 insertions, 1 deletions
diff --git a/subx/apps/factorial.subx b/subx/apps/factorial.subx
index 98efc6fa..e4b7a057 100644
--- a/subx/apps/factorial.subx
+++ b/subx/apps/factorial.subx
@@ -50,8 +50,8 @@ Entry:  # run tests if necessary, compute `factorial(5)` if not
     e8/call  run-tests/disp32
     8b/copy                         0/mod/indirect  5/rm32/.disp32            .             .           0/r32/EAX   Num-test-failures/disp32          # copy *Num-test-failures to EAX
     eb/jump  $main:end/disp8  # where EAX will get copied to EBX
-    # - otherwise return factorial(5)
 $run-main:
+    # - otherwise return factorial(5)
     # . . push args
     68/push  5/imm32
     # . . call