diff options
Diffstat (limited to 'html/074write-stream-data.subx.html')
-rw-r--r-- | html/074write-stream-data.subx.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/074write-stream-data.subx.html b/html/074write-stream-data.subx.html index 4d899d5f..8076bf1f 100644 --- a/html/074write-stream-data.subx.html +++ b/html/074write-stream-data.subx.html @@ -67,7 +67,7 @@ if ('onhashchange' in window) { <span id="L8" class="LineNr"> 8 </span><span class="subxComment"># - construct a 'maximal slice' and pass it to write-slice-buffered</span> <span id="L9" class="LineNr"> 9 </span><span class="subxComment"># - flush the buffered-file and pass the stream directly to its fd (disabling buffering)</span> <span id="L10" class="LineNr"> 10 </span><span class="subxComment"># we'll go with the first way for now</span> -<span id="L11" class="LineNr"> 11 </span><span class="subxFunction">write-stream-data</span>: <span class="subxComment"># f : (addr buffered-file), s : (addr stream byte)</span> +<span id="L11" class="LineNr"> 11 </span><span class="subxFunction">write-stream-data</span>: <span class="subxComment"># f: (addr buffered-file), s: (addr stream byte)</span> <span id="L12" class="LineNr"> 12 </span> <span class="subxS1Comment"># . prologue</span> <span id="L13" class="LineNr"> 13 </span> 55/push-ebp <span id="L14" class="LineNr"> 14 </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> @@ -77,7 +77,7 @@ if ('onhashchange' in window) { <span id="L18" class="LineNr"> 18 </span> 56/push-esi <span id="L19" class="LineNr"> 19 </span> <span class="subxComment"># esi = s</span> <span id="L20" class="LineNr"> 20 </span> 8b/copy 1/mod/*+disp8 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 6/r32/esi 0xc/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(ebp+12) to esi</span> -<span id="L21" class="LineNr"> 21 </span> <span class="subxComment"># var slice/ecx : slice = {s->data, &s->data[s->write]}</span> +<span id="L21" class="LineNr"> 21 </span> <span class="subxComment"># var slice/ecx: slice = {s->data, &s->data[s->write]}</span> <span id="L22" class="LineNr"> 22 </span> <span class="subxS1Comment"># . push &s->data[s->write]</span> <span id="L23" class="LineNr"> 23 </span> 8b/copy 0/mod/indirect 6/rm32/esi <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy *esi to eax</span> <span id="L24" class="LineNr"> 24 </span> 8d/copy-address 1/mod/*+disp8 4/rm32/sib 6/base/esi 0/index/eax <span class="Normal"> . </span> 0/r32/eax 0xc/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy esi+eax+12 to eax</span> |