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>2019-10-17 22:03:35 -0700
committerKartik Agaram <vc@akkartik.com>2019-10-17 22:03:48 -0700
commitb1635a5c8e25650a19999c246be321a0794eb58a (patch)
treea5ce06d138fac34b1e13fb1b06fd91b8b6c55712 /html/apps/factorial.subx.html
parent540974343290cb9ac0cf55b999447bf563928612 (diff)
downloadmu-b1635a5c8e25650a19999c246be321a0794eb58a.tar.gz
5701
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 a8fd5299..4c2c6bda 100644
--- a/html/apps/factorial.subx.html
+++ b/html/apps/factorial.subx.html
@@ -80,7 +80,7 @@ if ('onhashchange' in window) {
 <span id="L19" class="LineNr"> 19 </span><span class="subxS1Comment"># . 1-3 bytes   3 bits              2 bits          3 bits        3 bits      3 bits        2 bits      2 bits      0/1/2/4 bytes   0/1/2/4 bytes</span>
 <span id="L20" class="LineNr"> 20 </span>
 <span id="L21" class="LineNr"> 21 </span><span class="SpecialChar">Entry</span>:  <span class="subxComment"># run tests if necessary, compute `factorial(5)` if not</span>
-<span id="L22" class="LineNr"> 22 </span>    <span class="subxS1Comment"># . prolog</span>
+<span id="L22" class="LineNr"> 22 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L23" class="LineNr"> 23 </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>
 <span id="L24" class="LineNr"> 24 </span>
 <span id="L25" class="LineNr"> 25 </span>    <span class="subxComment"># initialize heap</span>
@@ -130,7 +130,7 @@ if ('onhashchange' in window) {
 <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="L72" class="LineNr"> 72 </span>    <span class="subxS1Comment"># . prolog</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>
 <span id="L75" class="LineNr"> 75 </span>    53/push-ebx
@@ -152,7 +152,7 @@ if ('onhashchange' in window) {
 <span id="L91" class="LineNr"> 91 </span>    f7          4/subop/multiply    1/mod/*+disp8   5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>                                    8/disp8        <span class="Normal"> . </span>                <span class="subxComment"># multiply *(ebp+8) into eax</span>
 <span id="L92" class="LineNr"> 92 </span>    <span class="subxComment"># TODO: check for overflow</span>
 <span id="L93" class="LineNr"> 93 </span><span class="Constant">$factorial:end</span>:
-<span id="L94" class="LineNr"> 94 </span>    <span class="subxS1Comment"># . epilog</span>
+<span id="L94" class="LineNr"> 94 </span>    <span class="subxS1Comment"># . epilogue</span>
 <span id="L95" class="LineNr"> 95 </span>    5b/pop-to-ebx
 <span id="L96" class="LineNr"> 96 </span>    89/copy                         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          5/r32/ebp  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy ebp to esp</span>
 <span id="L97" class="LineNr"> 97 </span>    5d/pop-to-ebp