diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-02-11 23:01:20 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-02-11 23:01:20 -0800 |
commit | 7bc0f8c1d0a04c082a7295339ceedb0090959ac5 (patch) | |
tree | 512ed3f104e0e16f4fcb94cbed288e51c2cd685e /html/subx/071read-line.subx.html | |
parent | 0527fd92cb4748c72c4128c6aae7499e6d5b0c92 (diff) | |
download | mu-7bc0f8c1d0a04c082a7295339ceedb0090959ac5.tar.gz |
4957
Diffstat (limited to 'html/subx/071read-line.subx.html')
-rw-r--r-- | html/subx/071read-line.subx.html | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/html/subx/071read-line.subx.html b/html/subx/071read-line.subx.html index cae91e35..f8124921 100644 --- a/html/subx/071read-line.subx.html +++ b/html/subx/071read-line.subx.html @@ -195,9 +195,9 @@ if ('onhashchange' in window) { <span id="L134" class="LineNr">134 </span> e8/call <a href='055stream.subx.html#L24'>clear-stream</a>/disp32 <span id="L135" class="LineNr">135 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L136" class="LineNr">136 </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="L137" class="LineNr">137 </span> <span class="subxS1Comment"># . clear-stream(_test-stream-buffer)</span> +<span id="L137" class="LineNr">137 </span> <span class="subxS1Comment"># . clear-stream(_test-tmp-stream)</span> <span id="L138" class="LineNr">138 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L139" class="LineNr">139 </span> 68/push <a href='060read.subx.html#L352'>_test-stream-buffer</a>/imm32 +<span id="L139" class="LineNr">139 </span> 68/push <a href='060read.subx.html#L352'>_test-tmp-stream</a>/imm32 <span id="L140" class="LineNr">140 </span> <span class="subxS2Comment"># . . call</span> <span id="L141" class="LineNr">141 </span> e8/call <a href='055stream.subx.html#L24'>clear-stream</a>/disp32 <span id="L142" class="LineNr">142 </span> <span class="subxS2Comment"># . . discard args</span> @@ -227,10 +227,10 @@ if ('onhashchange' in window) { <span id="L166" class="LineNr">166 </span> e8/call <a href='057write.subx.html#L31'>write</a>/disp32 <span id="L167" class="LineNr">167 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L168" class="LineNr">168 </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="L169" class="LineNr">169 </span> <span class="subxComment"># read a line from _test-stream (buffered by _test-buffered-file) into _test-stream-buffer</span> -<span id="L170" class="LineNr">170 </span> <span class="subxS1Comment"># . EAX = read-line(_test-buffered-file, _test-stream-buffer)</span> +<span id="L169" class="LineNr">169 </span> <span class="subxComment"># read a line from _test-stream (buffered by _test-buffered-file) into _test-tmp-stream</span> +<span id="L170" class="LineNr">170 </span> <span class="subxS1Comment"># . EAX = read-line(_test-buffered-file, _test-tmp-stream)</span> <span id="L171" class="LineNr">171 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L172" class="LineNr">172 </span> 68/push <a href='060read.subx.html#L352'>_test-stream-buffer</a>/imm32 +<span id="L172" class="LineNr">172 </span> 68/push <a href='060read.subx.html#L352'>_test-tmp-stream</a>/imm32 <span id="L173" class="LineNr">173 </span> 68/push <a href='061read-byte.subx.html#L290'>_test-buffered-file</a>/imm32 <span id="L174" class="LineNr">174 </span> <span class="subxS2Comment"># . . call</span> <span id="L175" class="LineNr">175 </span> e8/call <a href='071read-line.subx.html#L16'>read-line</a>/disp32 @@ -245,11 +245,11 @@ if ('onhashchange' in window) { <span id="L184" class="LineNr">184 </span> e8/call <a href='051test.subx.html#L24'>check-ints-equal</a>/disp32 <span id="L185" class="LineNr">185 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L186" class="LineNr">186 </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="L187" class="LineNr">187 </span> <span class="subxComment"># check-next-stream-line-equal(_test-stream-buffer, "ab", msg)</span> +<span id="L187" class="LineNr">187 </span> <span class="subxComment"># check-next-stream-line-equal(_test-tmp-stream, "ab", msg)</span> <span id="L188" class="LineNr">188 </span> <span class="subxS2Comment"># . . push args</span> <span id="L189" class="LineNr">189 </span> 68/push <span class="Constant">"F - test-read-line"</span>/imm32 <span id="L190" class="LineNr">190 </span> 68/push <span class="Constant">"ab"</span>/imm32 -<span id="L191" class="LineNr">191 </span> 68/push <a href='060read.subx.html#L352'>_test-stream-buffer</a>/imm32 +<span id="L191" class="LineNr">191 </span> 68/push <a href='060read.subx.html#L352'>_test-tmp-stream</a>/imm32 <span id="L192" class="LineNr">192 </span> <span class="subxS2Comment"># . . call</span> <span id="L193" class="LineNr">193 </span> e8/call <a href='058stream-equal.subx.html#L644'>check-next-stream-line-equal</a>/disp32 <span id="L194" class="LineNr">194 </span> <span class="subxS2Comment"># . . discard args</span> @@ -275,17 +275,17 @@ if ('onhashchange' in window) { <span id="L214" class="LineNr">214 </span> e8/call <a href='055stream.subx.html#L24'>clear-stream</a>/disp32 <span id="L215" class="LineNr">215 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L216" class="LineNr">216 </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="L217" class="LineNr">217 </span> <span class="subxS1Comment"># . clear-stream(_test-stream-buffer)</span> +<span id="L217" class="LineNr">217 </span> <span class="subxS1Comment"># . clear-stream(_test-tmp-stream)</span> <span id="L218" class="LineNr">218 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L219" class="LineNr">219 </span> 68/push <a href='060read.subx.html#L352'>_test-stream-buffer</a>/imm32 +<span id="L219" class="LineNr">219 </span> 68/push <a href='060read.subx.html#L352'>_test-tmp-stream</a>/imm32 <span id="L220" class="LineNr">220 </span> <span class="subxS2Comment"># . . call</span> <span id="L221" class="LineNr">221 </span> e8/call <a href='055stream.subx.html#L24'>clear-stream</a>/disp32 <span id="L222" class="LineNr">222 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L223" class="LineNr">223 </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="L224" class="LineNr">224 </span> <span class="subxComment"># write nothing</span> -<span id="L225" class="LineNr">225 </span> <span class="subxComment"># EAX = read-line(_test-buffered-file, _test-stream-buffer)</span> +<span id="L225" class="LineNr">225 </span> <span class="subxComment"># EAX = read-line(_test-buffered-file, _test-tmp-stream)</span> <span id="L226" class="LineNr">226 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L227" class="LineNr">227 </span> 68/push <a href='060read.subx.html#L352'>_test-stream-buffer</a>/imm32 +<span id="L227" class="LineNr">227 </span> 68/push <a href='060read.subx.html#L352'>_test-tmp-stream</a>/imm32 <span id="L228" class="LineNr">228 </span> 68/push <a href='061read-byte.subx.html#L290'>_test-buffered-file</a>/imm32 <span id="L229" class="LineNr">229 </span> <span class="subxS2Comment"># . . call</span> <span id="L230" class="LineNr">230 </span> e8/call <a href='071read-line.subx.html#L16'>read-line</a>/disp32 @@ -321,9 +321,9 @@ if ('onhashchange' in window) { <span id="L260" class="LineNr">260 </span> e8/call <a href='055stream.subx.html#L24'>clear-stream</a>/disp32 <span id="L261" class="LineNr">261 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L262" class="LineNr">262 </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="L263" class="LineNr">263 </span> <span class="subxS1Comment"># . clear-stream(_test-stream-buffer)</span> +<span id="L263" class="LineNr">263 </span> <span class="subxS1Comment"># . clear-stream(_test-tmp-stream)</span> <span id="L264" class="LineNr">264 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L265" class="LineNr">265 </span> 68/push <a href='060read.subx.html#L352'>_test-stream-buffer</a>/imm32 +<span id="L265" class="LineNr">265 </span> 68/push <a href='060read.subx.html#L352'>_test-tmp-stream</a>/imm32 <span id="L266" class="LineNr">266 </span> <span class="subxS2Comment"># . . call</span> <span id="L267" class="LineNr">267 </span> e8/call <a href='055stream.subx.html#L24'>clear-stream</a>/disp32 <span id="L268" class="LineNr">268 </span> <span class="subxS2Comment"># . . discard args</span> @@ -336,10 +336,10 @@ if ('onhashchange' in window) { <span id="L275" class="LineNr">275 </span> e8/call <a href='057write.subx.html#L31'>write</a>/disp32 <span id="L276" class="LineNr">276 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L277" class="LineNr">277 </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="L278" class="LineNr">278 </span> <span class="subxComment"># read a line from _test-stream (buffered by _test-buffered-file) into _test-stream-buffer</span> -<span id="L279" class="LineNr">279 </span> <span class="subxS1Comment"># . EAX = read-line(_test-buffered-file, _test-stream-buffer)</span> +<span id="L278" class="LineNr">278 </span> <span class="subxComment"># read a line from _test-stream (buffered by _test-buffered-file) into _test-tmp-stream</span> +<span id="L279" class="LineNr">279 </span> <span class="subxS1Comment"># . EAX = read-line(_test-buffered-file, _test-tmp-stream)</span> <span id="L280" class="LineNr">280 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L281" class="LineNr">281 </span> 68/push <a href='060read.subx.html#L352'>_test-stream-buffer</a>/imm32 +<span id="L281" class="LineNr">281 </span> 68/push <a href='060read.subx.html#L352'>_test-tmp-stream</a>/imm32 <span id="L282" class="LineNr">282 </span> 68/push <a href='061read-byte.subx.html#L290'>_test-buffered-file</a>/imm32 <span id="L283" class="LineNr">283 </span> <span class="subxS2Comment"># . . call</span> <span id="L284" class="LineNr">284 </span> e8/call <a href='071read-line.subx.html#L16'>read-line</a>/disp32 @@ -354,11 +354,11 @@ if ('onhashchange' in window) { <span id="L293" class="LineNr">293 </span> e8/call <a href='051test.subx.html#L24'>check-ints-equal</a>/disp32 <span id="L294" class="LineNr">294 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L295" class="LineNr">295 </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="L296" class="LineNr">296 </span> <span class="subxComment"># check-stream-equal(_test-stream-buffer, "cd", msg)</span> +<span id="L296" class="LineNr">296 </span> <span class="subxComment"># check-stream-equal(_test-tmp-stream, "cd", msg)</span> <span id="L297" class="LineNr">297 </span> <span class="subxS2Comment"># . . push args</span> <span id="L298" class="LineNr">298 </span> 68/push <span class="Constant">"F - test-read-line-reads-final-line-until-eof"</span>/imm32 <span id="L299" class="LineNr">299 </span> 68/push <span class="Constant">"cd"</span>/imm32 -<span id="L300" class="LineNr">300 </span> 68/push <a href='060read.subx.html#L352'>_test-stream-buffer</a>/imm32 +<span id="L300" class="LineNr">300 </span> 68/push <a href='060read.subx.html#L352'>_test-tmp-stream</a>/imm32 <span id="L301" class="LineNr">301 </span> <span class="subxS2Comment"># . . call</span> <span id="L302" class="LineNr">302 </span> e8/call <a href='058stream-equal.subx.html#L199'>check-stream-equal</a>/disp32 <span id="L303" class="LineNr">303 </span> <span class="subxS2Comment"># . . discard args</span> |