diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-12-09 01:26:58 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-12-09 01:26:58 -0800 |
commit | 8aeb85f04ee68b960a6d326aca1a17dec2f6d019 (patch) | |
tree | 26f861361c28ca77fb8298b21a905dc6e06c91ef /html/065write-buffered.subx.html | |
parent | 2249e605c19f0dbe0c34c1c4f635b802f56dc535 (diff) | |
download | mu-8aeb85f04ee68b960a6d326aca1a17dec2f6d019.tar.gz |
5806
Diffstat (limited to 'html/065write-buffered.subx.html')
-rw-r--r-- | html/065write-buffered.subx.html | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/html/065write-buffered.subx.html b/html/065write-buffered.subx.html index a27a9d52..ab9c8670 100644 --- a/html/065write-buffered.subx.html +++ b/html/065write-buffered.subx.html @@ -99,9 +99,9 @@ if ('onhashchange' in window) { <span id="L38" class="LineNr"> 38 </span> 57/push-edi <span id="L39" class="LineNr"> 39 </span> <span class="subxComment"># eax = msg</span> <span id="L40" class="LineNr"> 40 </span> 8b/copy 1/mod/*+disp8 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/eax 0xc/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(ebp+12) to eax</span> -<span id="L41" class="LineNr"> 41 </span> <span class="subxComment"># in/esi = msg->data</span> +<span id="L41" class="LineNr"> 41 </span> <span class="subxComment"># var in/esi : (address byte) = msg->data</span> <span id="L42" class="LineNr"> 42 </span> 8d/copy-address 1/mod/*+disp8 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 6/r32/esi 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy eax+4 to esi</span> -<span id="L43" class="LineNr"> 43 </span> <span class="subxComment"># inend/ecx = &msg->data[msg->length]</span> +<span id="L43" class="LineNr"> 43 </span> <span class="subxComment"># var inend/ecx : (address byte) = &msg->data[msg->length]</span> <span id="L44" class="LineNr"> 44 </span> 8b/copy 0/mod/indirect 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 1/r32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy *eax to ecx</span> <span id="L45" class="LineNr"> 45 </span> 8d/copy-address 0/mod/indirect 4/rm32/sib 6/base/esi 1/index/ecx <span class="Normal"> . </span> 1/r32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esi+ecx to ecx</span> <span id="L46" class="LineNr"> 46 </span> <span class="subxComment"># edi = f</span> @@ -175,9 +175,9 @@ if ('onhashchange' in window) { <span id="L114" class="LineNr">114 </span> e8/call <a href='055stream.subx.html#L17'>clear-stream</a>/disp32 <span id="L115" class="LineNr">115 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L116" class="LineNr">116 </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="L117" class="LineNr">117 </span> <span class="subxS1Comment"># . clear-stream(_test-buffered-file->buffer)</span> +<span id="L117" class="LineNr">117 </span> <span class="subxS1Comment"># . clear-stream($_test-buffered-file->buffer)</span> <span id="L118" class="LineNr">118 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L119" class="LineNr">119 </span> 68/push <a href='061read-byte.subx.html#L278'>_test-buffered-file->buffer</a>/imm32 +<span id="L119" class="LineNr">119 </span> 68/push $_test-buffered-file->buffer/imm32 <span id="L120" class="LineNr">120 </span> <span class="subxS2Comment"># . . call</span> <span id="L121" class="LineNr">121 </span> e8/call <a href='055stream.subx.html#L17'>clear-stream</a>/disp32 <span id="L122" class="LineNr">122 </span> <span class="subxS2Comment"># . . discard args</span> @@ -185,14 +185,14 @@ if ('onhashchange' in window) { <span id="L124" class="LineNr">124 </span> <span class="subxComment"># write-buffered(_test-buffered-file, "Abc")</span> <span id="L125" class="LineNr">125 </span> <span class="subxS2Comment"># . . push args</span> <span id="L126" class="LineNr">126 </span> 68/push <span class="Constant">"Abc"</span>/imm32 -<span id="L127" class="LineNr">127 </span> 68/push <a href='061read-byte.subx.html#L275'>_test-buffered-file</a>/imm32 +<span id="L127" class="LineNr">127 </span> 68/push <a href='061read-byte.subx.html#L274'>_test-buffered-file</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='065write-buffered.subx.html#L8'>write-buffered</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> 8/imm32 <span class="subxComment"># add to esp</span> <span id="L132" class="LineNr">132 </span> <span class="subxComment"># flush(_test-buffered-file)</span> <span id="L133" class="LineNr">133 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L134" class="LineNr">134 </span> 68/push <a href='061read-byte.subx.html#L275'>_test-buffered-file</a>/imm32 +<span id="L134" class="LineNr">134 </span> 68/push <a href='061read-byte.subx.html#L274'>_test-buffered-file</a>/imm32 <span id="L135" class="LineNr">135 </span> <span class="subxS2Comment"># . . call</span> <span id="L136" class="LineNr">136 </span> e8/call <a href='064write-byte.subx.html#L81'>flush</a>/disp32 <span id="L137" class="LineNr">137 </span> <span class="subxS2Comment"># . . discard args</span> @@ -203,7 +203,7 @@ if ('onhashchange' in window) { <span id="L142" class="LineNr">142 </span> 68/push <span class="Constant">"Abc"</span>/imm32 <span id="L143" class="LineNr">143 </span> 68/push <a href='057write.subx.html#L148'>_test-stream</a>/imm32 <span id="L144" class="LineNr">144 </span> <span class="subxS2Comment"># . . call</span> -<span id="L145" class="LineNr">145 </span> e8/call <a href='058stream-equal.subx.html#L193'>check-stream-equal</a>/disp32 +<span id="L145" class="LineNr">145 </span> e8/call <a href='058stream-equal.subx.html#L194'>check-stream-equal</a>/disp32 <span id="L146" class="LineNr">146 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L147" class="LineNr">147 </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="L148" class="LineNr">148 </span> <span class="subxS1Comment"># . end</span> @@ -219,9 +219,9 @@ if ('onhashchange' in window) { <span id="L158" class="LineNr">158 </span> e8/call <a href='055stream.subx.html#L17'>clear-stream</a>/disp32 <span id="L159" class="LineNr">159 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L160" class="LineNr">160 </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="L161" class="LineNr">161 </span> <span class="subxS1Comment"># . clear-stream(_test-buffered-file->buffer)</span> +<span id="L161" class="LineNr">161 </span> <span class="subxS1Comment"># . clear-stream($_test-buffered-file->buffer)</span> <span id="L162" class="LineNr">162 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L163" class="LineNr">163 </span> 68/push <a href='061read-byte.subx.html#L278'>_test-buffered-file->buffer</a>/imm32 +<span id="L163" class="LineNr">163 </span> 68/push $_test-buffered-file->buffer/imm32 <span id="L164" class="LineNr">164 </span> <span class="subxS2Comment"># . . call</span> <span id="L165" class="LineNr">165 </span> e8/call <a href='055stream.subx.html#L17'>clear-stream</a>/disp32 <span id="L166" class="LineNr">166 </span> <span class="subxS2Comment"># . . discard args</span> @@ -231,7 +231,7 @@ if ('onhashchange' in window) { <span id="L170" class="LineNr">170 </span> <span class="subxS1Comment"># . write-buffered(_test-buffered-file, "Abcdefg")</span> <span id="L171" class="LineNr">171 </span> <span class="subxS2Comment"># . . push args</span> <span id="L172" class="LineNr">172 </span> 68/push <span class="Constant">"Abcdefg"</span>/imm32 -<span id="L173" class="LineNr">173 </span> 68/push <a href='061read-byte.subx.html#L275'>_test-buffered-file</a>/imm32 +<span id="L173" class="LineNr">173 </span> 68/push <a href='061read-byte.subx.html#L274'>_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='065write-buffered.subx.html#L8'>write-buffered</a>/disp32 <span id="L176" class="LineNr">176 </span> <span class="subxS2Comment"># . . discard args</span> @@ -255,7 +255,7 @@ if ('onhashchange' in window) { <span id="L194" class="LineNr">194 </span> 68/push <span class="Constant">"F - <a href='065write-buffered.subx.html#L151'>test-write-buffered-with-intermediate-flush</a>: unflushed bytes"</span>/imm32 <span id="L195" class="LineNr">195 </span> 68/push 1/imm32 <span id="L196" class="LineNr">196 </span> <span class="subxS2Comment"># . . push *_test-buffered-file->write</span> -<span id="L197" class="LineNr">197 </span> b8/copy-to-eax <a href='061read-byte.subx.html#L275'>_test-buffered-file</a>/imm32 +<span id="L197" class="LineNr">197 </span> b8/copy-to-eax <a href='061read-byte.subx.html#L274'>_test-buffered-file</a>/imm32 <span id="L198" class="LineNr">198 </span> ff 6/subop/push 1/mod/*+disp8 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># push *(eax+4)</span> <span id="L199" class="LineNr">199 </span> <span class="subxS2Comment"># . . call</span> <span id="L200" class="LineNr">200 </span> e8/call <a href='051test.subx.html#L24'>check-ints-equal</a>/disp32 @@ -267,10 +267,10 @@ if ('onhashchange' in window) { <span id="L206" class="LineNr">206 </span>== data <span id="L207" class="LineNr">207 </span> <span id="L208" class="LineNr">208 </span><span class="subxComment"># The buffered file for standard error.</span> -<span id="L209" class="LineNr">209 </span><span class="SpecialChar">Stderr</span>: -<span id="L210" class="LineNr">210 </span> <span class="subxComment"># file descriptor or (address stream)</span> +<span id="L209" class="LineNr">209 </span><span class="SpecialChar">Stderr</span>: <span class="subxComment"># (ref buffered-file)</span> +<span id="L210" class="LineNr">210 </span> <span class="subxComment"># file descriptor or (address stream byte)</span> <span id="L211" class="LineNr">211 </span> 2/imm32 <span class="subxComment"># standard error</span> -<span id="L212" class="LineNr">212 </span>Stderr->buffer: +<span id="L212" class="LineNr">212 </span><span class="Constant">$Stderr->buffer</span>: <span id="L213" class="LineNr">213 </span> <span class="subxComment"># inlined fields for a stream</span> <span id="L214" class="LineNr">214 </span> <span class="subxComment"># current write index</span> <span id="L215" class="LineNr">215 </span> 0/imm32 |