diff options
Diffstat (limited to 'html/apps/factorial2.subx.html')
-rw-r--r-- | html/apps/factorial2.subx.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/html/apps/factorial2.subx.html b/html/apps/factorial2.subx.html index 343d7d68..44870ee1 100644 --- a/html/apps/factorial2.subx.html +++ b/html/apps/factorial2.subx.html @@ -105,8 +105,8 @@ if ('onhashchange' in window) { <span id="L45" class="LineNr"> 45 </span> e8/call <a href='../052kernel-string-equal.subx.html#L33'>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 == 0) goto run-main</span> -<span id="L49" class="LineNr"> 49 </span> 3d/compare-eax-and 0/imm32 +<span id="L48" class="LineNr"> 48 </span> <span class="subxS1Comment"># . if (eax == false) goto run-main</span> +<span id="L49" class="LineNr"> 49 </span> 3d/compare-eax-and 0/imm32/false <span id="L50" class="LineNr"> 50 </span> 74/jump-if-equal $run-main/disp8 <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 @@ -137,10 +137,10 @@ if ('onhashchange' in window) { <span id="L77" class="LineNr"> 77 </span> b8/copy-to-eax 1/imm32 <span id="L78" class="LineNr"> 78 </span> 81 7/subop/compare *(ebp+8) 1/imm32 <span id="L79" class="LineNr"> 79 </span> 7e/jump-if-<= $factorial:end/disp8 -<span id="L80" class="LineNr"> 80 </span> <span class="subxComment"># ebx = n-1</span> +<span id="L80" class="LineNr"> 80 </span> <span class="subxComment"># var ebx : int = n-1</span> <span id="L81" class="LineNr"> 81 </span> 8b/-> *(ebp+8) 3/r32/ebx <span id="L82" class="LineNr"> 82 </span> 4b/decrement-ebx -<span id="L83" class="LineNr"> 83 </span> <span class="subxComment"># eax = factorial(n-1)</span> +<span id="L83" class="LineNr"> 83 </span> <span class="subxComment"># var eax : int = factorial(n-1)</span> <span id="L84" class="LineNr"> 84 </span> <span class="subxS2Comment"># . . push args</span> <span id="L85" class="LineNr"> 85 </span> 53/push-ebx <span id="L86" class="LineNr"> 86 </span> <span class="subxS2Comment"># . . call</span> |