about summary refs log tree commit diff stats
path: root/html/120allocate.subx.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-09-07 16:38:14 -0700
committerKartik Agaram <vc@akkartik.com>2020-09-07 16:39:44 -0700
commit68df24fa778f7f5a2651a4623681f38dc920c490 (patch)
tree99d95cf1812e90ad6bfd4f7292ee42b6a5e7c935 /html/120allocate.subx.html
parenta0430d580719fc0fbe1fe0c92de2ec412245762c (diff)
downloadmu-68df24fa778f7f5a2651a4623681f38dc920c490.tar.gz
6746
Diffstat (limited to 'html/120allocate.subx.html')
-rw-r--r--html/120allocate.subx.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/html/120allocate.subx.html b/html/120allocate.subx.html
index 67a66c46..5fa59237 100644
--- a/html/120allocate.subx.html
+++ b/html/120allocate.subx.html
@@ -940,7 +940,7 @@ if ('onhashchange' in window) {
 <span id="L879" class="LineNr">879 </span>    <span class="subxComment">#   curr/esi = start</span>
 <span id="L880" class="LineNr">880 </span>    <span class="subxComment">#   i/ecx = 0</span>
 <span id="L881" class="LineNr">881 </span>    <span class="subxComment">#   while true</span>
-<span id="L882" class="LineNr">882 </span>    <span class="subxComment">#     if (i &gt;= len) break</span>
+<span id="L882" class="LineNr">882 </span>    <span class="subxComment">#     if (i &gt;= size) break</span>
 <span id="L883" class="LineNr">883 </span>    <span class="subxComment">#     *curr = 0</span>
 <span id="L884" class="LineNr">884 </span>    <span class="subxComment">#     ++curr</span>
 <span id="L885" class="LineNr">885 </span>    <span class="subxComment">#     ++i</span>
@@ -957,10 +957,10 @@ if ('onhashchange' in window) {
 <span id="L896" class="LineNr">896 </span>    8b/copy                         1/mod/*+disp8   5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          6/r32/esi   8/disp8        <span class="Normal"> . </span>                <span class="subxComment"># copy *(ebp+8) to esi</span>
 <span id="L897" class="LineNr">897 </span>    <span class="subxComment"># var i/ecx: int = 0</span>
 <span id="L898" class="LineNr">898 </span>    31/xor                          3/mod/direct    1/rm32/ecx   <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"># clear ecx</span>
-<span id="L899" class="LineNr">899 </span>    <span class="subxComment"># edx = len</span>
+<span id="L899" class="LineNr">899 </span>    <span class="subxComment"># edx = size</span>
 <span id="L900" class="LineNr">900 </span>    8b/copy                         1/mod/*+disp8   5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          2/r32/edx   0xc/disp8      <span class="Normal"> . </span>                <span class="subxComment"># copy *(ebp+12) to edx</span>
 <span id="L901" class="LineNr">901 </span><span class="Constant">$zero-out:loop</span>:
-<span id="L902" class="LineNr">902 </span>    <span class="subxComment"># if (i &gt;= len) break</span>
+<span id="L902" class="LineNr">902 </span>    <span class="subxComment"># if (i &gt;= size) break</span>
 <span id="L903" class="LineNr">903 </span>    39/compare                      3/mod/direct    1/rm32/ecx   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          2/r32/edx  <span class="Normal"> . </span>             <span class="Normal"> . </span>                <span class="subxComment"># compare ecx with edx</span>
 <span id="L904" class="LineNr">904 </span>    7d/jump-if-&gt;=  $zero-out:end/disp8
 <span id="L905" class="LineNr">905 </span>    <span class="subxComment"># *curr = 0</span>
@@ -990,7 +990,7 @@ if ('onhashchange' in window) {
 <span id="L929" class="LineNr">929 </span>    89/copy                         3/mod/direct    1/rm32/ecx   <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 ecx</span>
 <span id="L930" class="LineNr">930 </span>    <span class="subxComment"># zero-out(ecx, 3)</span>
 <span id="L931" class="LineNr">931 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L932" class="LineNr">932 </span>    68/push  3/imm32/len
+<span id="L932" class="LineNr">932 </span>    68/push  3/imm32/size
 <span id="L933" class="LineNr">933 </span>    51/push-ecx
 <span id="L934" class="LineNr">934 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L935" class="LineNr">935 </span>    e8/call  <a href='120allocate.subx.html#L877'>zero-out</a>/disp32