about summary refs log tree commit diff stats
path: root/html/apps/factorial.subx.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-01-27 00:39:46 -0800
committerKartik Agaram <vc@akkartik.com>2020-01-27 00:39:46 -0800
commit2104d1a75b76dbffc0b15a96c98d94e7a16594e8 (patch)
tree2a839b86e76431a9bbe4bf155f7411171a26d7f8 /html/apps/factorial.subx.html
parent71eb22a5bf94f5fa0a3c95212450e3c6a1a6a990 (diff)
downloadmu-2104d1a75b76dbffc0b15a96c98d94e7a16594e8.tar.gz
5925
Diffstat (limited to 'html/apps/factorial.subx.html')
-rw-r--r--html/apps/factorial.subx.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/html/apps/factorial.subx.html b/html/apps/factorial.subx.html
index 5aa74fc5..8c637957 100644
--- a/html/apps/factorial.subx.html
+++ b/html/apps/factorial.subx.html
@@ -129,7 +129,7 @@ if ('onhashchange' in window) {
 <span id="L68" class="LineNr"> 68 </span>    b8/copy-to-eax  1/imm32/exit
 <span id="L69" class="LineNr"> 69 </span>    cd/syscall  0x80/imm8
 <span id="L70" class="LineNr"> 70 </span>
-<span id="L71" class="LineNr"> 71 </span><span class="subxFunction">factorial</span>:  <span class="subxComment"># n : int -&gt; int/eax</span>
+<span id="L71" class="LineNr"> 71 </span><span class="subxFunction">factorial</span>:  <span class="subxComment"># n: int -&gt; int/eax</span>
 <span id="L72" class="LineNr"> 72 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L73" class="LineNr"> 73 </span>    55/push-ebp
 <span id="L74" class="LineNr"> 74 </span>    89/copy                         3/mod/direct    5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          4/r32/esp  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy esp to ebp</span>
@@ -138,10 +138,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     1/mod/*+disp8   5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>          8/disp8         1/imm32           <span class="subxComment"># compare *(ebp+8)</span>
 <span id="L79" class="LineNr"> 79 </span>    7e/jump-if-&lt;=  $factorial:end/disp8
-<span id="L80" class="LineNr"> 80 </span>    <span class="subxComment"># var ebx : int = 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/copy                         1/mod/*+disp8   5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>                        3/r32/ebx   8/disp8        <span class="Normal"> . </span>                <span class="subxComment"># copy *(ebp+8) to ebx</span>
 <span id="L82" class="LineNr"> 82 </span>    4b/decrement-ebx
-<span id="L83" class="LineNr"> 83 </span>    <span class="subxComment"># var eax : int = 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>