about summary refs log tree commit diff stats
path: root/html/082slurp.subx.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/082slurp.subx.html')
-rw-r--r--html/082slurp.subx.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/html/082slurp.subx.html b/html/082slurp.subx.html
index b182707c..843f0258 100644
--- a/html/082slurp.subx.html
+++ b/html/082slurp.subx.html
@@ -16,12 +16,12 @@ a { color:inherit; }
 * { font-size:12pt; font-size: 1em; }
 .subxComment { color: #005faf; }
 .subxS2Comment { color: #8a8a8a; }
+.subxTest { color: #5f8700; }
+.subxFunction { color: #af5f00; text-decoration: underline; }
 .LineNr { }
 .subxS1Comment { color: #0000af; }
-.subxFunction { color: #af5f00; text-decoration: underline; }
 .Normal { color: #000000; background-color: #c6c6c6; padding-bottom: 1px; }
 .Constant { color: #008787; }
-.subxTest { color: #5f8700; }
 -->
 </style>
 
@@ -67,7 +67,7 @@ if ('onhashchange' in window) {
 <span id="L8" class="LineNr">  8 </span><span class="subxFunction">slurp</span>:  <span class="subxComment"># f: (addr buffered-file), s: (addr stream byte)</span>
 <span id="L9" class="LineNr">  9 </span>    <span class="subxComment"># pseudocode:</span>
 <span id="L10" class="LineNr"> 10 </span>    <span class="subxComment">#   while true</span>
-<span id="L11" class="LineNr"> 11 </span>    <span class="subxComment">#     if (s-&gt;write &gt;= s-&gt;length) abort</span>
+<span id="L11" class="LineNr"> 11 </span>    <span class="subxComment">#     if (s-&gt;write &gt;= s-&gt;size) abort</span>
 <span id="L12" class="LineNr"> 12 </span>    <span class="subxComment">#     if (f-&gt;read &gt;= f-&gt;write) populate stream from file</span>
 <span id="L13" class="LineNr"> 13 </span>    <span class="subxComment">#     if (f-&gt;write == 0) break</span>
 <span id="L14" class="LineNr"> 14 </span>    <span class="subxComment">#     AL = f-&gt;data[f-&gt;read]</span>
@@ -92,7 +92,7 @@ if ('onhashchange' in window) {
 <span id="L33" class="LineNr"> 33 </span>    <span class="subxComment"># edx = s-&gt;write</span>
 <span id="L34" class="LineNr"> 34 </span>    8b/copy                         0/mod/indirect  7/rm32/edi   <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"># copy *edi to edx</span>
 <span id="L35" class="LineNr"> 35 </span><span class="Constant">$slurp:loop</span>:
-<span id="L36" class="LineNr"> 36 </span>    <span class="subxComment"># if (s-&gt;write &gt;= s-&gt;length) abort</span>
+<span id="L36" class="LineNr"> 36 </span>    <span class="subxComment"># if (s-&gt;write &gt;= s-&gt;size) abort</span>
 <span id="L37" class="LineNr"> 37 </span>    3b/compare                      1/mod/*+disp8   7/rm32/edi   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          2/r32/edx   8/disp8        <span class="Normal"> . </span>                <span class="subxComment"># compare edx with *(edi+8)</span>
 <span id="L38" class="LineNr"> 38 </span>    7d/jump-if-&gt;=  $slurp:abort/disp8
 <span id="L39" class="LineNr"> 39 </span>    <span class="subxComment"># if (f-&gt;read &gt;= f-&gt;write) populate stream from file</span>