about summary refs log tree commit diff stats
path: root/apps/factorial4.subx
diff options
context:
space:
mode:
Diffstat (limited to 'apps/factorial4.subx')
-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()
     {