diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-10-19 18:53:05 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-10-19 18:53:05 -0700 |
commit | 0a2247726abfa9965e5ae3e485eb127592ee820e (patch) | |
tree | dba1e318cab4f2b78cc18062ba2ee96f93de217a | |
parent | c8998b51e1995c307ddf831bff65309d57c25386 (diff) | |
download | mu-0a2247726abfa9965e5ae3e485eb127592ee820e.tar.gz |
5708
-rw-r--r-- | apps/factorial4.subx | 2 | ||||
-rw-r--r-- | html/apps/factorial4.subx.html | 2 |
2 files changed, 2 insertions, 2 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() { diff --git a/html/apps/factorial4.subx.html b/html/apps/factorial4.subx.html index 2ebb9930..1d99c4c0 100644 --- a/html/apps/factorial4.subx.html +++ b/html/apps/factorial4.subx.html @@ -84,7 +84,7 @@ if ('onhashchange' in window) { <span id="L25" class="LineNr">25 </span> 89/<- %ebp 4/r32/esp <span id="L26" class="LineNr">26 </span> <span id="L27" class="LineNr">27 </span> <span class="subxComment"># initialize heap</span> -<span id="L28" class="LineNr">28 </span> (<a href='../053new-segment.subx.html#L41'>new-segment</a> 0x10000 <span class="SpecialChar"><a href='../069allocate.subx.html#L22'>Heap</a></span>) +<span id="L28" class="LineNr">28 </span> (<a href='../053new-segment.subx.html#L41'>new-segment</a> <span class="SpecialChar"><a href='../069allocate.subx.html#L29'>Heap-size</a></span> <span class="SpecialChar"><a href='../069allocate.subx.html#L22'>Heap</a></span>) <span id="L29" class="LineNr">29 </span> <span id="L30" class="LineNr">30 </span> <span class="subxH1Comment"># - if argc > 1, then return run_tests()</span> <span id="L31" class="LineNr">31 </span> { |