about summary refs log tree commit diff stats
path: root/apps
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-10-19 18:53:05 -0700
committerKartik Agaram <vc@akkartik.com>2019-10-19 18:53:05 -0700
commit0a2247726abfa9965e5ae3e485eb127592ee820e (patch)
treedba1e318cab4f2b78cc18062ba2ee96f93de217a /apps
parentc8998b51e1995c307ddf831bff65309d57c25386 (diff)
downloadmu-0a2247726abfa9965e5ae3e485eb127592ee820e.tar.gz
5708
Diffstat (limited to 'apps')
-rw-r--r--apps/factorial4.subx2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/factorial4.subx b/apps/factorial4.subx
index a7ea6d20..2ba23ba7 100644
--- a/apps/factorial4.subx
+++ b/apps/factorial4.subx
@@ -25,7 +25,7 @@ Entry:  # run tests if necessary, compute `factorial(5)` if not
     89/<- %ebp 4/r32/esp
 
     # initialize heap
-    (new-segment 0x10000 Heap)
+    (new-segment Heap-size Heap)
 
     # - if argc > 1, then return run_tests()
     {