diff options
Diffstat (limited to 'html/subx/058read.subx.html')
-rw-r--r-- | html/subx/058read.subx.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/html/subx/058read.subx.html b/html/subx/058read.subx.html index ebb51fa0..7f41b843 100644 --- a/html/subx/058read.subx.html +++ b/html/subx/058read.subx.html @@ -167,7 +167,7 @@ if ('onhashchange' in window) { <span id="L101" class="LineNr">101 </span> 81 0/subop/add 3/mod/direct 4/rm32/ESP <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> 0x10/imm32 <span class="subxComment"># add to ESP</span> <span id="L102" class="LineNr">102 </span> <span class="subxComment"># s->write += EAX</span> <span id="L103" class="LineNr">103 </span> 01/add 0/mod/indirect 7/rm32/EDI <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> 0/r32/EAX <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="subxComment"># add EAX to *EDI</span> -<span id="L104" class="LineNr">104 </span> <span class="subxComment"># f.read += EAX</span> +<span id="L104" class="LineNr">104 </span> <span class="subxComment"># f->read += EAX</span> <span id="L105" class="LineNr">105 </span> 01/add 1/mod/*+disp8 6/rm32/ESI <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> 0/r32/EAX 4/disp8 <span class="CommentedCode"> . </span> <span class="subxComment"># add EAX to *(ESI+4)</span> <span id="L106" class="LineNr">106 </span> <span class="subxS1Comment"># . restore registers</span> <span id="L107" class="LineNr">107 </span> 5f/pop-to-EDI @@ -180,7 +180,7 @@ if ('onhashchange' in window) { <span id="L114" class="LineNr">114 </span> <span id="L115" class="LineNr">115 </span><span class="subxH1Comment"># - helpers</span> <span id="L116" class="LineNr">116 </span> -<span id="L117" class="LineNr">117 </span><span class="subxComment"># idea: a clear-if-empty method on streams that clears only if f.read == f.write</span> +<span id="L117" class="LineNr">117 </span><span class="subxComment"># idea: a clear-if-empty method on streams that clears only if f->read == f->write</span> <span id="L118" class="LineNr">118 </span><span class="subxComment"># Unclear how I'd use it, though. Callers seem to need the check anyway.</span> <span id="L119" class="LineNr">119 </span><span class="subxComment"># Maybe a better helper would be 'empty-stream?'</span> <span id="L120" class="LineNr">120 </span> @@ -351,7 +351,7 @@ if ('onhashchange' in window) { <span id="L285" class="LineNr">285 </span> <span class="subxS2Comment"># . . push args</span> <span id="L286" class="LineNr">286 </span> 68/push <span class="Constant">"F - test-read-is-stateful"</span>/imm32 <span id="L287" class="LineNr">287 </span> 68/push 0x00004443/imm32/C-D -<span id="L288" class="LineNr">288 </span> <span class="subxS1Comment"># . push *_test-stream-buffer->data</span> +<span id="L288" class="LineNr">288 </span> <span class="subxS2Comment"># . . push *_test-stream-buffer->data</span> <span id="L289" class="LineNr">289 </span> b8/copy-to-EAX _test-stream-buffer/imm32 <span id="L290" class="LineNr">290 </span> ff 6/subop/push 1/mod/*+disp8 0/rm32/EAX <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> <span class="CommentedCode"> . </span> 0xc/disp8 <span class="CommentedCode"> . </span> <span class="subxComment"># push *(EAX+12)</span> <span id="L291" class="LineNr">291 </span> <span class="subxS2Comment"># . . call</span> |