diff options
Diffstat (limited to 'html/082slurp.subx.html')
-rw-r--r-- | html/082slurp.subx.html | 88 |
1 files changed, 43 insertions, 45 deletions
diff --git a/html/082slurp.subx.html b/html/082slurp.subx.html index ed4e1f1d..0105f5df 100644 --- a/html/082slurp.subx.html +++ b/html/082slurp.subx.html @@ -172,52 +172,50 @@ if ('onhashchange' in window) { <span id="L113" class="LineNr">113 </span> e8/call <a href='055stream.subx.html#L17'>clear-stream</a>/disp32 <span id="L114" class="LineNr">114 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L115" class="LineNr">115 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/imm32 <span class="subxComment"># add to esp</span> -<span id="L116" class="LineNr">116 </span> <span class="subxS1Comment"># . clear-stream(_test-buffered-file+4)</span> +<span id="L116" class="LineNr">116 </span> <span class="subxS1Comment"># . clear-stream(_test-buffered-file->buffer)</span> <span id="L117" class="LineNr">117 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L118" class="LineNr">118 </span> b8/copy-to-eax <a href='061read-byte.subx.html#L281'>_test-buffered-file</a>/imm32 -<span id="L119" class="LineNr">119 </span> 05/add-to-eax 4/imm32 -<span id="L120" class="LineNr">120 </span> 50/push-eax -<span id="L121" class="LineNr">121 </span> <span class="subxS2Comment"># . . call</span> -<span id="L122" class="LineNr">122 </span> e8/call <a href='055stream.subx.html#L17'>clear-stream</a>/disp32 -<span id="L123" class="LineNr">123 </span> <span class="subxS2Comment"># . . discard args</span> -<span id="L124" class="LineNr">124 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/imm32 <span class="subxComment"># add to esp</span> -<span id="L125" class="LineNr">125 </span> <span class="subxS1Comment"># . clear-stream(_test-tmp-stream)</span> -<span id="L126" class="LineNr">126 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L127" class="LineNr">127 </span> 68/push <a href='060read.subx.html#L430'>_test-tmp-stream</a>/imm32 -<span id="L128" class="LineNr">128 </span> <span class="subxS2Comment"># . . call</span> -<span id="L129" class="LineNr">129 </span> e8/call <a href='055stream.subx.html#L17'>clear-stream</a>/disp32 -<span id="L130" class="LineNr">130 </span> <span class="subxS2Comment"># . . discard args</span> -<span id="L131" class="LineNr">131 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/imm32 <span class="subxComment"># add to esp</span> -<span id="L132" class="LineNr">132 </span> <span class="subxComment"># write(_test-stream, "ab\ncd")</span> -<span id="L133" class="LineNr">133 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L134" class="LineNr">134 </span> 68/push <span class="Constant">"ab\ncd"</span>/imm32 -<span id="L135" class="LineNr">135 </span> 68/push <a href='057write.subx.html#L148'>_test-stream</a>/imm32 -<span id="L136" class="LineNr">136 </span> <span class="subxS2Comment"># . . call</span> -<span id="L137" class="LineNr">137 </span> e8/call <a href='057write.subx.html#L24'>write</a>/disp32 -<span id="L138" class="LineNr">138 </span> <span class="subxS2Comment"># . . discard args</span> -<span id="L139" class="LineNr">139 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 8/imm32 <span class="subxComment"># add to esp</span> -<span id="L140" class="LineNr">140 </span> <span class="subxComment"># read a line from _test-stream (buffered by _test-buffered-file) into _test-tmp-stream</span> -<span id="L141" class="LineNr">141 </span> <span class="subxS1Comment"># . eax = slurp(_test-buffered-file, _test-tmp-stream)</span> -<span id="L142" class="LineNr">142 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L143" class="LineNr">143 </span> 68/push <a href='060read.subx.html#L430'>_test-tmp-stream</a>/imm32 -<span id="L144" class="LineNr">144 </span> 68/push <a href='061read-byte.subx.html#L281'>_test-buffered-file</a>/imm32 -<span id="L145" class="LineNr">145 </span> <span class="subxS2Comment"># . . call</span> -<span id="L146" class="LineNr">146 </span> e8/call <a href='082slurp.subx.html#L8'>slurp</a>/disp32 -<span id="L147" class="LineNr">147 </span> <span class="subxS2Comment"># . . discard args</span> -<span id="L148" class="LineNr">148 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 8/imm32 <span class="subxComment"># add to esp</span> -<span id="L149" class="LineNr">149 </span> <span class="subxComment"># check-stream-equal(_test-tmp-stream, "ab\ncd", msg)</span> -<span id="L150" class="LineNr">150 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L151" class="LineNr">151 </span> 68/push <span class="Constant">"F - test-slurp"</span>/imm32 -<span id="L152" class="LineNr">152 </span> 68/push <span class="Constant">"ab\ncd"</span>/imm32 -<span id="L153" class="LineNr">153 </span> 68/push <a href='060read.subx.html#L430'>_test-tmp-stream</a>/imm32 -<span id="L154" class="LineNr">154 </span> <span class="subxS2Comment"># . . call</span> -<span id="L155" class="LineNr">155 </span> e8/call <a href='058stream-equal.subx.html#L193'>check-stream-equal</a>/disp32 -<span id="L156" class="LineNr">156 </span> <span class="subxS2Comment"># . . discard args</span> -<span id="L157" class="LineNr">157 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0xc/imm32 <span class="subxComment"># add to esp</span> -<span id="L158" class="LineNr">158 </span> <span class="subxComment"># end</span> -<span id="L159" class="LineNr">159 </span> c3/return -<span id="L160" class="LineNr">160 </span> -<span id="L161" class="LineNr">161 </span><span class="subxS2Comment"># . . vim:nowrap:textwidth=0</span> +<span id="L118" class="LineNr">118 </span> 68/push <a href='061read-byte.subx.html#L278'>_test-buffered-file->buffer</a>/imm32 +<span id="L119" class="LineNr">119 </span> <span class="subxS2Comment"># . . call</span> +<span id="L120" class="LineNr">120 </span> e8/call <a href='055stream.subx.html#L17'>clear-stream</a>/disp32 +<span id="L121" class="LineNr">121 </span> <span class="subxS2Comment"># . . discard args</span> +<span id="L122" class="LineNr">122 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/imm32 <span class="subxComment"># add to esp</span> +<span id="L123" class="LineNr">123 </span> <span class="subxS1Comment"># . clear-stream(_test-tmp-stream)</span> +<span id="L124" class="LineNr">124 </span> <span class="subxS2Comment"># . . push args</span> +<span id="L125" class="LineNr">125 </span> 68/push <a href='060read.subx.html#L430'>_test-tmp-stream</a>/imm32 +<span id="L126" class="LineNr">126 </span> <span class="subxS2Comment"># . . call</span> +<span id="L127" class="LineNr">127 </span> e8/call <a href='055stream.subx.html#L17'>clear-stream</a>/disp32 +<span id="L128" class="LineNr">128 </span> <span class="subxS2Comment"># . . discard args</span> +<span id="L129" class="LineNr">129 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/imm32 <span class="subxComment"># add to esp</span> +<span id="L130" class="LineNr">130 </span> <span class="subxComment"># write(_test-stream, "ab\ncd")</span> +<span id="L131" class="LineNr">131 </span> <span class="subxS2Comment"># . . push args</span> +<span id="L132" class="LineNr">132 </span> 68/push <span class="Constant">"ab\ncd"</span>/imm32 +<span id="L133" class="LineNr">133 </span> 68/push <a href='057write.subx.html#L148'>_test-stream</a>/imm32 +<span id="L134" class="LineNr">134 </span> <span class="subxS2Comment"># . . call</span> +<span id="L135" class="LineNr">135 </span> e8/call <a href='057write.subx.html#L24'>write</a>/disp32 +<span id="L136" class="LineNr">136 </span> <span class="subxS2Comment"># . . discard args</span> +<span id="L137" class="LineNr">137 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 8/imm32 <span class="subxComment"># add to esp</span> +<span id="L138" class="LineNr">138 </span> <span class="subxComment"># read a line from _test-stream (buffered by _test-buffered-file) into _test-tmp-stream</span> +<span id="L139" class="LineNr">139 </span> <span class="subxS1Comment"># . eax = slurp(_test-buffered-file, _test-tmp-stream)</span> +<span id="L140" class="LineNr">140 </span> <span class="subxS2Comment"># . . push args</span> +<span id="L141" class="LineNr">141 </span> 68/push <a href='060read.subx.html#L430'>_test-tmp-stream</a>/imm32 +<span id="L142" class="LineNr">142 </span> 68/push <a href='061read-byte.subx.html#L275'>_test-buffered-file</a>/imm32 +<span id="L143" class="LineNr">143 </span> <span class="subxS2Comment"># . . call</span> +<span id="L144" class="LineNr">144 </span> e8/call <a href='082slurp.subx.html#L8'>slurp</a>/disp32 +<span id="L145" class="LineNr">145 </span> <span class="subxS2Comment"># . . discard args</span> +<span id="L146" class="LineNr">146 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 8/imm32 <span class="subxComment"># add to esp</span> +<span id="L147" class="LineNr">147 </span> <span class="subxComment"># check-stream-equal(_test-tmp-stream, "ab\ncd", msg)</span> +<span id="L148" class="LineNr">148 </span> <span class="subxS2Comment"># . . push args</span> +<span id="L149" class="LineNr">149 </span> 68/push <span class="Constant">"F - test-slurp"</span>/imm32 +<span id="L150" class="LineNr">150 </span> 68/push <span class="Constant">"ab\ncd"</span>/imm32 +<span id="L151" class="LineNr">151 </span> 68/push <a href='060read.subx.html#L430'>_test-tmp-stream</a>/imm32 +<span id="L152" class="LineNr">152 </span> <span class="subxS2Comment"># . . call</span> +<span id="L153" class="LineNr">153 </span> e8/call <a href='058stream-equal.subx.html#L193'>check-stream-equal</a>/disp32 +<span id="L154" class="LineNr">154 </span> <span class="subxS2Comment"># . . discard args</span> +<span id="L155" class="LineNr">155 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0xc/imm32 <span class="subxComment"># add to esp</span> +<span id="L156" class="LineNr">156 </span> <span class="subxComment"># end</span> +<span id="L157" class="LineNr">157 </span> c3/return +<span id="L158" class="LineNr">158 </span> +<span id="L159" class="LineNr">159 </span><span class="subxS2Comment"># . . vim:nowrap:textwidth=0</span> </pre> </body> </html> |