about summary refs log tree commit diff stats
path: root/html/subx/060write-stream.subx.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/subx/060write-stream.subx.html')
-rw-r--r--html/subx/060write-stream.subx.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/html/subx/060write-stream.subx.html b/html/subx/060write-stream.subx.html
index 027deb60..ffda2352 100644
--- a/html/subx/060write-stream.subx.html
+++ b/html/subx/060write-stream.subx.html
@@ -158,7 +158,7 @@ if ('onhashchange' in window) {
 <span id="L96" class="LineNr"> 96 </span>    8b/copy                         1/mod/*+disp8   6/rm32/ESI   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          7/r32/EDI   4/disp8        <span class="Normal"> . </span>                <span class="subxComment"># copy *(ESI+4) to EDI</span>
 <span id="L97" class="LineNr"> 97 </span>    <span class="subxComment"># EDX = s-&gt;write</span>
 <span id="L98" class="LineNr"> 98 </span>    8b/copy                         0/mod/indirect  6/rm32/ESI   <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 *ESI to EDX</span>
-<span id="L99" class="LineNr"> 99 </span>    <span class="subxComment"># syscall(write, fd, &amp;s-&gt;data[s-&gt;read], s-&gt;write-s-&gt;read)</span>
+<span id="L99" class="LineNr"> 99 </span>    <span class="subxComment"># syscall(write, fd, &amp;s-&gt;data[s-&gt;read], s-&gt;write - s-&gt;read)</span>
 <span id="L100" class="LineNr">100 </span>    <span class="subxS2Comment"># . . fd : EBX</span>
 <span id="L101" class="LineNr">101 </span>    8b/copy                         1/mod/*+disp8   5/rm32/EBP   <span class="Normal"> . </span>         <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="L102" class="LineNr">102 </span>    <span class="subxS2Comment"># . . data : ECX = &amp;s-&gt;data[s-&gt;read]</span>