about summary refs log tree commit diff stats
path: root/html/apps/crenshaw2-1b.subx.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2019-09-20 11:19:30 -0700
committerKartik Agaram <vc@akkartik.com>2019-09-20 11:25:59 -0700
commit4a4a392dc7c81b301ad6b760525c5549f2f6644c (patch)
tree9ce3225fd2b87c57090509d0fd42a9d4147d1b2e /html/apps/crenshaw2-1b.subx.html
parent0ca3aa4acce4f5a1378f87754761197673cdd6db (diff)
downloadmu-4a4a392dc7c81b301ad6b760525c5549f2f6644c.tar.gz
5683
Diffstat (limited to 'html/apps/crenshaw2-1b.subx.html')
-rw-r--r--html/apps/crenshaw2-1b.subx.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/html/apps/crenshaw2-1b.subx.html b/html/apps/crenshaw2-1b.subx.html
index ee008c8a..8572c75a 100644
--- a/html/apps/crenshaw2-1b.subx.html
+++ b/html/apps/crenshaw2-1b.subx.html
@@ -96,10 +96,10 @@ if ('onhashchange' in window) {
 <span id="L35" class="LineNr"> 35 </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="L36" class="LineNr"> 36 </span>
 <span id="L37" class="LineNr"> 37 </span>    <span class="subxComment"># initialize heap</span>
-<span id="L38" class="LineNr"> 38 </span>    <span class="subxS1Comment"># . Heap = new-segment(64KB)</span>
+<span id="L38" class="LineNr"> 38 </span>    <span class="subxS1Comment"># . Heap = new-segment(Heap-size)</span>
 <span id="L39" class="LineNr"> 39 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L40" class="LineNr"> 40 </span>    68/push  <span class="SpecialChar"><a href='../075array-equal.subx.html#L623'>Heap</a></span>/imm32
-<span id="L41" class="LineNr"> 41 </span>    68/push  0x10000/imm32/64KB
+<span id="L40" class="LineNr"> 40 </span>    68/push  <span class="SpecialChar"><a href='../069allocate.subx.html#L22'>Heap</a></span>/imm32
+<span id="L41" class="LineNr"> 41 </span>    68/push  <span class="SpecialChar"><a href='../069allocate.subx.html#L29'>Heap-size</a></span>/imm32
 <span id="L42" class="LineNr"> 42 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L43" class="LineNr"> 43 </span>    e8/call  <a href='../053new-segment.subx.html#L41'>new-segment</a>/disp32
 <span id="L44" class="LineNr"> 44 </span>    <span class="subxS2Comment"># . . discard args</span>
@@ -355,7 +355,7 @@ if ('onhashchange' in window) {
 <span id="L294" class="LineNr">294 </span>    81          0/subop/add         3/mod/direct    4/rm32/esp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>         <span class="Normal"> . </span>         <span class="Normal"> . </span>              4/imm32           <span class="subxComment"># add to esp</span>
 <span id="L295" class="LineNr">295 </span>    <span class="subxS1Comment"># . if (eax != 0) loop</span>
 <span id="L296" class="LineNr">296 </span>    3d/compare-eax-and  0/imm32
-<span id="L297" class="LineNr">297 </span>    0f 85/jump-if-not-equal  $get-num:loop/disp32
+<span id="L297" class="LineNr">297 </span>    0f 85/jump-if-not-equal  $get-num:<span class="Constant">loop</span>/disp32
 <span id="L298" class="LineNr">298 </span><span class="Constant">$get-num:loop-end</span>:
 <span id="L299" class="LineNr">299 </span>    <span class="subxComment"># persist necessary variables from registers</span>
 <span id="L300" class="LineNr">300 </span>    89/copy                         0/mod/indirect  7/rm32/edi   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          1/r32/ecx  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># copy ecx to *edi</span>