about summary refs log tree commit diff stats
path: root/html/apps/factorial3.subx.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-12-09 16:54:34 -0800
committerKartik Agaram <vc@akkartik.com>2019-12-09 16:54:34 -0800
commitcea97b7b22e91cced90f11f1df42cdd09337e8df (patch)
tree3a8f17f164a17b80854c385649b5312e10508295 /html/apps/factorial3.subx.html
parentef21004a5c5b655b7e352f658a8368986ac1c1df (diff)
downloadmu-cea97b7b22e91cced90f11f1df42cdd09337e8df.tar.gz
5810
Diffstat (limited to 'html/apps/factorial3.subx.html')
-rw-r--r--html/apps/factorial3.subx.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/html/apps/factorial3.subx.html b/html/apps/factorial3.subx.html
index bdce6a46..6966e8fb 100644
--- a/html/apps/factorial3.subx.html
+++ b/html/apps/factorial3.subx.html
@@ -91,8 +91,8 @@ if ('onhashchange' in window) {
 <span id="L32" class="LineNr">32 </span>    7e/jump-if-lesser-or-equal $run-main/disp8
 <span id="L33" class="LineNr">33 </span>    <span class="subxComment"># if (!kernel-string-equal?(argv[1], &quot;test&quot;)) goto run-main</span>
 <span id="L34" class="LineNr">34 </span>    (<a href='../052kernel-string-equal.subx.html#L33'>kernel-string-equal?</a> *(ebp+8) <span class="Constant">&quot;test&quot;</span>)  <span class="subxComment"># =&gt; eax</span>
-<span id="L35" class="LineNr">35 </span>    <span class="subxS1Comment"># . if (eax == 0) goto run-main</span>
-<span id="L36" class="LineNr">36 </span>    3d/compare-eax-and 0/imm32
+<span id="L35" class="LineNr">35 </span>    <span class="subxS1Comment"># . if (eax == false) goto run-main</span>
+<span id="L36" class="LineNr">36 </span>    3d/compare-eax-and 0/imm32/false
 <span id="L37" class="LineNr">37 </span>    74/jump-if-equal $run-main/disp8
 <span id="L38" class="LineNr">38 </span>    <span class="subxComment">#</span>
 <span id="L39" class="LineNr">39 </span>    (run-tests)
@@ -118,7 +118,7 @@ if ('onhashchange' in window) {
 <span id="L59" class="LineNr">59 </span>    b8/copy-to-eax 1/imm32
 <span id="L60" class="LineNr">60 </span>    81 7/subop/compare *(ebp+8) 1/imm32
 <span id="L61" class="LineNr">61 </span>    7e/jump-if-&lt;= $factorial:end/disp8
-<span id="L62" class="LineNr">62 </span>    <span class="subxComment"># ebx = n-1</span>
+<span id="L62" class="LineNr">62 </span>    <span class="subxComment"># var ebx : int = n-1</span>
 <span id="L63" class="LineNr">63 </span>    8b/-&gt; *(ebp+8) 3/r32/ebx
 <span id="L64" class="LineNr">64 </span>    4b/decrement-ebx
 <span id="L65" class="LineNr">65 </span>    <span class="subxComment">#</span>