diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-07-10 23:44:10 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-07-10 23:53:28 -0700 |
commit | ec73ed1230d75deb0f913a32617c9f1e0a5ca640 (patch) | |
tree | 55c0e38d65d43420f6ce481c864a9efdbd1cb445 /html/apps/factorial2.subx.html | |
parent | c5a3f65502d6931a5fb888a5c5327c0659578a57 (diff) | |
download | mu-ec73ed1230d75deb0f913a32617c9f1e0a5ca640.tar.gz |
6631
Diffstat (limited to 'html/apps/factorial2.subx.html')
-rw-r--r-- | html/apps/factorial2.subx.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/html/apps/factorial2.subx.html b/html/apps/factorial2.subx.html index 628bb7c2..109ce199 100644 --- a/html/apps/factorial2.subx.html +++ b/html/apps/factorial2.subx.html @@ -85,10 +85,10 @@ if ('onhashchange' in window) { <span id="L25" class="LineNr"> 25 </span> <span class="subxComment"># initialize heap</span> <span id="L26" class="LineNr"> 26 </span> <span class="subxS1Comment"># . Heap = new-segment(Heap-size)</span> <span id="L27" class="LineNr"> 27 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L28" class="LineNr"> 28 </span> 68/push <span class="SpecialChar"><a href='../069allocate.subx.html#L27'>Heap</a></span>/imm32 -<span id="L29" class="LineNr"> 29 </span> ff 6/subop/push *<span class="SpecialChar"><a href='../069allocate.subx.html#L34'>Heap-size</a></span> +<span id="L28" class="LineNr"> 28 </span> 68/push <span class="SpecialChar"><a href='../120allocate.subx.html#L27'>Heap</a></span>/imm32 +<span id="L29" class="LineNr"> 29 </span> ff 6/subop/push *<span class="SpecialChar"><a href='../120allocate.subx.html#L34'>Heap-size</a></span> <span id="L30" class="LineNr"> 30 </span> <span class="subxS2Comment"># . . call</span> -<span id="L31" class="LineNr"> 31 </span> e8/call <a href='../053new-segment.subx.html#L40'>new-segment</a>/disp32 +<span id="L31" class="LineNr"> 31 </span> e8/call <a href='../104new-segment.subx.html#L40'>new-segment</a>/disp32 <span id="L32" class="LineNr"> 32 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L33" class="LineNr"> 33 </span> 81 0/subop/add %esp 8/imm32 <span id="L34" class="LineNr"> 34 </span> @@ -102,7 +102,7 @@ if ('onhashchange' in window) { <span id="L42" class="LineNr"> 42 </span> 68/push <span class="Constant">"test"</span>/imm32 <span id="L43" class="LineNr"> 43 </span> ff 6/subop/push *(ebp+8) <span id="L44" class="LineNr"> 44 </span> <span class="subxS2Comment"># . . call</span> -<span id="L45" class="LineNr"> 45 </span> e8/call <a href='../052kernel-string-equal.subx.html#L31'>kernel-string-equal?</a>/disp32 +<span id="L45" class="LineNr"> 45 </span> e8/call <a href='../103kernel-string-equal.subx.html#L31'>kernel-string-equal?</a>/disp32 <span id="L46" class="LineNr"> 46 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L47" class="LineNr"> 47 </span> 81 0/subop/add %esp 8/imm32 <span id="L48" class="LineNr"> 48 </span> <span class="subxS1Comment"># . if (eax == false) goto run-main</span> @@ -111,7 +111,7 @@ if ('onhashchange' in window) { <span id="L51" class="LineNr"> 51 </span> <span class="subxComment"># run-tests()</span> <span id="L52" class="LineNr"> 52 </span> e8/call run-tests/disp32 <span id="L53" class="LineNr"> 53 </span> <span class="subxComment"># syscall(exit, *Num-test-failures)</span> -<span id="L54" class="LineNr"> 54 </span> 8b/-> *<span class="SpecialChar"><a href='../051test.subx.html#L89'>Num-test-failures</a></span> 3/r32/ebx +<span id="L54" class="LineNr"> 54 </span> 8b/-> *<span class="SpecialChar"><a href='../102test.subx.html#L89'>Num-test-failures</a></span> 3/r32/ebx <span id="L55" class="LineNr"> 55 </span> eb/jump $main:end/disp8 <span id="L56" class="LineNr"> 56 </span><span class="Constant">$run-main</span>: <span id="L57" class="LineNr"> 57 </span> <span class="subxH1Comment"># - otherwise return factorial(5)</span> @@ -170,7 +170,7 @@ if ('onhashchange' in window) { <span id="L110" class="LineNr">110 </span> 68/push 0x78/imm32/expected-120 <span id="L111" class="LineNr">111 </span> 50/push-eax <span id="L112" class="LineNr">112 </span> <span class="subxS2Comment"># . . call</span> -<span id="L113" class="LineNr">113 </span> e8/call <a href='../051test.subx.html#L23'>check-ints-equal</a>/disp32 +<span id="L113" class="LineNr">113 </span> e8/call <a href='../102test.subx.html#L23'>check-ints-equal</a>/disp32 <span id="L114" class="LineNr">114 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L115" class="LineNr">115 </span> 81 0/subop/add %esp 0xc/imm32 <span id="L116" class="LineNr">116 </span> <span class="subxComment"># end</span> |