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/094next-word-or-string.subx.html | |
parent | 2249e605c19f0dbe0c34c1c4f635b802f56dc535 (diff) | |
download | mu-8aeb85f04ee68b960a6d326aca1a17dec2f6d019.tar.gz |
5806
Diffstat (limited to 'html/094next-word-or-string.subx.html')
-rw-r--r-- | html/094next-word-or-string.subx.html | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/html/094next-word-or-string.subx.html b/html/094next-word-or-string.subx.html index b857b10d..71530620 100644 --- a/html/094next-word-or-string.subx.html +++ b/html/094next-word-or-string.subx.html @@ -92,7 +92,7 @@ if ('onhashchange' in window) { <span id="L33" class="LineNr"> 33 </span> <span class="subxS1Comment"># . if (eax < line->write) goto next check</span> <span id="L34" class="LineNr"> 34 </span> 3b/compare 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"># compare eax with *esi</span> <span id="L35" class="LineNr"> 35 </span> 7c/jump-if-lesser $next-word-or-string:check-for-comment/disp8 -<span id="L36" class="LineNr"> 36 </span> <span class="subxS1Comment"># . return out = {0, 0}</span> +<span id="L36" class="LineNr"> 36 </span> <span class="subxS1Comment"># . return out</span> <span id="L37" class="LineNr"> 37 </span> c7 0/subop/copy 0/mod/direct 7/rm32/edi <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/imm32 <span class="subxComment"># copy to *edi</span> <span id="L38" class="LineNr"> 38 </span> c7 0/subop/copy 1/mod/*+disp8 7/rm32/edi <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/disp8 0/imm32 <span class="subxComment"># copy to *(edi+4)</span> <span id="L39" class="LineNr"> 39 </span> eb/jump $next-word-or-string:end/disp8 @@ -131,7 +131,7 @@ if ('onhashchange' in window) { <span id="L72" class="LineNr"> 72 </span> <span class="subxS2Comment"># . . push args</span> <span id="L73" class="LineNr"> 73 </span> 56/push-esi <span id="L74" class="LineNr"> 74 </span> <span class="subxS2Comment"># . . call</span> -<span id="L75" class="LineNr"> 75 </span> e8/call <a href='073next-token.subx.html#L1169'>skip-string</a>/disp32 +<span id="L75" class="LineNr"> 75 </span> e8/call <a href='073next-token.subx.html#L1171'>skip-string</a>/disp32 <span id="L76" class="LineNr"> 76 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L77" class="LineNr"> 77 </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="L78" class="LineNr"> 78 </span> <span class="subxComment"># fall through</span> @@ -165,19 +165,19 @@ if ('onhashchange' in window) { <span id="L106" class="LineNr">106 </span> <span class="subxComment"># setup</span> <span id="L107" class="LineNr">107 </span> <span class="subxS1Comment"># . clear-stream(_test-input-stream)</span> <span id="L108" class="LineNr">108 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L109" class="LineNr">109 </span> 68/push <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 +<span id="L109" class="LineNr">109 </span> 68/push <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span id="L110" class="LineNr">110 </span> <span class="subxS2Comment"># . . call</span> <span id="L111" class="LineNr">111 </span> e8/call <a href='055stream.subx.html#L17'>clear-stream</a>/disp32 <span id="L112" class="LineNr">112 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L113" class="LineNr">113 </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="L114" class="LineNr">114 </span> <span class="subxComment"># var slice/ecx = {0, 0}</span> +<span id="L114" class="LineNr">114 </span> <span class="subxComment"># var slice/ecx : (ref slice)</span> <span id="L115" class="LineNr">115 </span> 68/push 0/imm32/end <span id="L116" class="LineNr">116 </span> 68/push 0/imm32/start <span id="L117" class="LineNr">117 </span> 89/copy 3/mod/direct 1/rm32/ecx <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 ecx</span> <span id="L118" class="LineNr">118 </span> <span class="subxComment"># write(_test-input-stream, " ab")</span> <span id="L119" class="LineNr">119 </span> <span class="subxS2Comment"># . . push args</span> <span id="L120" class="LineNr">120 </span> 68/push <span class="Constant">" ab"</span>/imm32 -<span id="L121" class="LineNr">121 </span> 68/push <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 +<span id="L121" class="LineNr">121 </span> 68/push <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span id="L122" class="LineNr">122 </span> <span class="subxS2Comment"># . . call</span> <span id="L123" class="LineNr">123 </span> e8/call <a href='057write.subx.html#L24'>write</a>/disp32 <span id="L124" class="LineNr">124 </span> <span class="subxS2Comment"># . . discard args</span> @@ -185,7 +185,7 @@ if ('onhashchange' in window) { <span id="L126" class="LineNr">126 </span> <span class="subxComment"># next-word-or-string(_test-input-stream, slice)</span> <span id="L127" class="LineNr">127 </span> <span class="subxS2Comment"># . . push args</span> <span id="L128" class="LineNr">128 </span> 51/push-ecx -<span id="L129" class="LineNr">129 </span> 68/push <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 +<span id="L129" class="LineNr">129 </span> 68/push <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span id="L130" class="LineNr">130 </span> <span class="subxS2Comment"># . . call</span> <span id="L131" class="LineNr">131 </span> e8/call <a href='094next-word-or-string.subx.html#L8'>next-word-or-string</a>/disp32 <span id="L132" class="LineNr">132 </span> <span class="subxS2Comment"># . . discard args</span> @@ -194,7 +194,7 @@ if ('onhashchange' in window) { <span id="L135" class="LineNr">135 </span> <span class="subxS2Comment"># . . push args</span> <span id="L136" class="LineNr">136 </span> 68/push <span class="Constant">"F - <a href='094next-word-or-string.subx.html#L102'>test-next-word-or-string</a>/updates-stream-read-correctly"</span>/imm32 <span id="L137" class="LineNr">137 </span> 68/push 4/imm32 -<span id="L138" class="LineNr">138 </span> b8/copy-to-eax <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 +<span id="L138" class="LineNr">138 </span> b8/copy-to-eax <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span id="L139" class="LineNr">139 </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="L140" class="LineNr">140 </span> <span class="subxS2Comment"># . . call</span> <span id="L141" class="LineNr">141 </span> e8/call <a href='051test.subx.html#L24'>check-ints-equal</a>/disp32 @@ -207,7 +207,7 @@ if ('onhashchange' in window) { <span id="L148" class="LineNr">148 </span> 68/push 0xe/imm32 <span id="L149" class="LineNr">149 </span> <span class="subxS2Comment"># . . push slice->start - _test-input-stream</span> <span id="L150" class="LineNr">150 </span> 8b/copy 0/mod/indirect 1/rm32/ecx <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 *ecx to eax</span> -<span id="L151" class="LineNr">151 </span> 81 5/subop/subtract 3/mod/direct 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 <span class="subxComment"># subtract from eax</span> +<span id="L151" class="LineNr">151 </span> 81 5/subop/subtract 3/mod/direct 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span class="subxComment"># subtract from eax</span> <span id="L152" class="LineNr">152 </span> 50/push-eax <span id="L153" class="LineNr">153 </span> <span class="subxS2Comment"># . . call</span> <span id="L154" class="LineNr">154 </span> e8/call <a href='051test.subx.html#L24'>check-ints-equal</a>/disp32 @@ -220,7 +220,7 @@ if ('onhashchange' in window) { <span id="L161" class="LineNr">161 </span> 68/push 0x10/imm32 <span id="L162" class="LineNr">162 </span> <span class="subxS2Comment"># . . push slice->end - _test-input-stream</span> <span id="L163" class="LineNr">163 </span> 8b/copy 1/mod/*+disp8 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/eax 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(ecx+4) to eax</span> -<span id="L164" class="LineNr">164 </span> 81 5/subop/subtract 3/mod/direct 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 <span class="subxComment"># subtract from eax</span> +<span id="L164" class="LineNr">164 </span> 81 5/subop/subtract 3/mod/direct 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span class="subxComment"># subtract from eax</span> <span id="L165" class="LineNr">165 </span> 50/push-eax <span id="L166" class="LineNr">166 </span> <span class="subxS2Comment"># . . call</span> <span id="L167" class="LineNr">167 </span> e8/call <a href='051test.subx.html#L24'>check-ints-equal</a>/disp32 @@ -238,19 +238,19 @@ if ('onhashchange' in window) { <span id="L179" class="LineNr">179 </span> <span class="subxComment"># setup</span> <span id="L180" class="LineNr">180 </span> <span class="subxS1Comment"># . clear-stream(_test-input-stream)</span> <span id="L181" class="LineNr">181 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L182" class="LineNr">182 </span> 68/push <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 +<span id="L182" class="LineNr">182 </span> 68/push <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span id="L183" class="LineNr">183 </span> <span class="subxS2Comment"># . . call</span> <span id="L184" class="LineNr">184 </span> e8/call <a href='055stream.subx.html#L17'>clear-stream</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> 4/imm32 <span class="subxComment"># add to esp</span> -<span id="L187" class="LineNr">187 </span> <span class="subxComment"># var slice/ecx = {0, 0}</span> +<span id="L187" class="LineNr">187 </span> <span class="subxComment"># var slice/ecx : (ref slice)</span> <span id="L188" class="LineNr">188 </span> 68/push 0/imm32/end <span id="L189" class="LineNr">189 </span> 68/push 0/imm32/start <span id="L190" class="LineNr">190 </span> 89/copy 3/mod/direct 1/rm32/ecx <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 ecx</span> <span id="L191" class="LineNr">191 </span> <span class="subxComment"># write(_test-input-stream, " # a")</span> <span id="L192" class="LineNr">192 </span> <span class="subxS2Comment"># . . push args</span> <span id="L193" class="LineNr">193 </span> 68/push <span class="Constant">" # a"</span>/imm32 -<span id="L194" class="LineNr">194 </span> 68/push <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 +<span id="L194" class="LineNr">194 </span> 68/push <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span id="L195" class="LineNr">195 </span> <span class="subxS2Comment"># . . call</span> <span id="L196" class="LineNr">196 </span> e8/call <a href='057write.subx.html#L24'>write</a>/disp32 <span id="L197" class="LineNr">197 </span> <span class="subxS2Comment"># . . discard args</span> @@ -258,7 +258,7 @@ if ('onhashchange' in window) { <span id="L199" class="LineNr">199 </span> <span class="subxComment"># next-word-or-string(_test-input-stream, slice)</span> <span id="L200" class="LineNr">200 </span> <span class="subxS2Comment"># . . push args</span> <span id="L201" class="LineNr">201 </span> 51/push-ecx -<span id="L202" class="LineNr">202 </span> 68/push <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 +<span id="L202" class="LineNr">202 </span> 68/push <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span id="L203" class="LineNr">203 </span> <span class="subxS2Comment"># . . call</span> <span id="L204" class="LineNr">204 </span> e8/call <a href='094next-word-or-string.subx.html#L8'>next-word-or-string</a>/disp32 <span id="L205" class="LineNr">205 </span> <span class="subxS2Comment"># . . discard args</span> @@ -267,7 +267,7 @@ if ('onhashchange' in window) { <span id="L208" class="LineNr">208 </span> <span class="subxS2Comment"># . . push args</span> <span id="L209" class="LineNr">209 </span> 68/push <span class="Constant">"F - <a href='094next-word-or-string.subx.html#L175'>test-next-word-or-string-returns-whole-comment</a>/updates-stream-read-correctly"</span>/imm32 <span id="L210" class="LineNr">210 </span> 68/push 5/imm32 -<span id="L211" class="LineNr">211 </span> b8/copy-to-eax <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 +<span id="L211" class="LineNr">211 </span> b8/copy-to-eax <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span id="L212" class="LineNr">212 </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="L213" class="LineNr">213 </span> <span class="subxS2Comment"># . . call</span> <span id="L214" class="LineNr">214 </span> e8/call <a href='051test.subx.html#L24'>check-ints-equal</a>/disp32 @@ -280,7 +280,7 @@ if ('onhashchange' in window) { <span id="L221" class="LineNr">221 </span> 68/push 0xe/imm32 <span id="L222" class="LineNr">222 </span> <span class="subxS2Comment"># . . push slice->start - _test-input-stream</span> <span id="L223" class="LineNr">223 </span> 8b/copy 0/mod/indirect 1/rm32/ecx <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 *ecx to eax</span> -<span id="L224" class="LineNr">224 </span> 81 5/subop/subtract 3/mod/direct 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 <span class="subxComment"># subtract from eax</span> +<span id="L224" class="LineNr">224 </span> 81 5/subop/subtract 3/mod/direct 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span class="subxComment"># subtract from eax</span> <span id="L225" class="LineNr">225 </span> 50/push-eax <span id="L226" class="LineNr">226 </span> <span class="subxS2Comment"># . . call</span> <span id="L227" class="LineNr">227 </span> e8/call <a href='051test.subx.html#L24'>check-ints-equal</a>/disp32 @@ -293,7 +293,7 @@ if ('onhashchange' in window) { <span id="L234" class="LineNr">234 </span> 68/push 0x11/imm32 <span id="L235" class="LineNr">235 </span> <span class="subxS2Comment"># . . push slice->end - _test-input-stream</span> <span id="L236" class="LineNr">236 </span> 8b/copy 1/mod/*+disp8 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/eax 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(ecx+4) to eax</span> -<span id="L237" class="LineNr">237 </span> 81 5/subop/subtract 3/mod/direct 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 <span class="subxComment"># subtract from eax</span> +<span id="L237" class="LineNr">237 </span> 81 5/subop/subtract 3/mod/direct 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span class="subxComment"># subtract from eax</span> <span id="L238" class="LineNr">238 </span> 50/push-eax <span id="L239" class="LineNr">239 </span> <span class="subxS2Comment"># . . call</span> <span id="L240" class="LineNr">240 </span> e8/call <a href='051test.subx.html#L24'>check-ints-equal</a>/disp32 @@ -311,12 +311,12 @@ if ('onhashchange' in window) { <span id="L252" class="LineNr">252 </span> <span class="subxComment"># setup</span> <span id="L253" class="LineNr">253 </span> <span class="subxS1Comment"># . clear-stream(_test-input-stream)</span> <span id="L254" class="LineNr">254 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L255" class="LineNr">255 </span> 68/push <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 +<span id="L255" class="LineNr">255 </span> 68/push <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span id="L256" class="LineNr">256 </span> <span class="subxS2Comment"># . . call</span> <span id="L257" class="LineNr">257 </span> e8/call <a href='055stream.subx.html#L17'>clear-stream</a>/disp32 <span id="L258" class="LineNr">258 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L259" class="LineNr">259 </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="L260" class="LineNr">260 </span> <span class="subxComment"># var slice/ecx = {0, 0}</span> +<span id="L260" class="LineNr">260 </span> <span class="subxComment"># var slice/ecx : (ref slice)</span> <span id="L261" class="LineNr">261 </span> 68/push 0/imm32/end <span id="L262" class="LineNr">262 </span> 68/push 0/imm32/start <span id="L263" class="LineNr">263 </span> 89/copy 3/mod/direct 1/rm32/ecx <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 ecx</span> @@ -324,7 +324,7 @@ if ('onhashchange' in window) { <span id="L265" class="LineNr">265 </span> <span class="subxComment"># next-word-or-string(_test-input-stream, slice)</span> <span id="L266" class="LineNr">266 </span> <span class="subxS2Comment"># . . push args</span> <span id="L267" class="LineNr">267 </span> 51/push-ecx -<span id="L268" class="LineNr">268 </span> 68/push <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 +<span id="L268" class="LineNr">268 </span> 68/push <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span id="L269" class="LineNr">269 </span> <span class="subxS2Comment"># . . call</span> <span id="L270" class="LineNr">270 </span> e8/call <a href='094next-word-or-string.subx.html#L8'>next-word-or-string</a>/disp32 <span id="L271" class="LineNr">271 </span> <span class="subxS2Comment"># . . discard args</span> @@ -353,19 +353,19 @@ if ('onhashchange' in window) { <span id="L294" class="LineNr">294 </span> <span class="subxComment"># setup</span> <span id="L295" class="LineNr">295 </span> <span class="subxS1Comment"># . clear-stream(_test-input-stream)</span> <span id="L296" class="LineNr">296 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L297" class="LineNr">297 </span> 68/push <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 +<span id="L297" class="LineNr">297 </span> 68/push <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span id="L298" class="LineNr">298 </span> <span class="subxS2Comment"># . . call</span> <span id="L299" class="LineNr">299 </span> e8/call <a href='055stream.subx.html#L17'>clear-stream</a>/disp32 <span id="L300" class="LineNr">300 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L301" class="LineNr">301 </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="L302" class="LineNr">302 </span> <span class="subxComment"># var slice/ecx = {0, 0}</span> +<span id="L302" class="LineNr">302 </span> <span class="subxComment"># var slice/ecx : (ref slice)</span> <span id="L303" class="LineNr">303 </span> 68/push 0/imm32/end <span id="L304" class="LineNr">304 </span> 68/push 0/imm32/start <span id="L305" class="LineNr">305 </span> 89/copy 3/mod/direct 1/rm32/ecx <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 ecx</span> <span id="L306" class="LineNr">306 </span> <span class="subxComment"># write(_test-input-stream, " \"a b\"/imm32 ")</span> <span id="L307" class="LineNr">307 </span> <span class="subxS2Comment"># . . push args</span> <span id="L308" class="LineNr">308 </span> 68/push <span class="Constant">" \"</span>a b\<span class="Constant">"/imm32 "</span>/imm32 -<span id="L309" class="LineNr">309 </span> 68/push <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 +<span id="L309" class="LineNr">309 </span> 68/push <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span id="L310" class="LineNr">310 </span> <span class="subxS2Comment"># . . call</span> <span id="L311" class="LineNr">311 </span> e8/call <a href='057write.subx.html#L24'>write</a>/disp32 <span id="L312" class="LineNr">312 </span> <span class="subxS2Comment"># . . discard args</span> @@ -373,7 +373,7 @@ if ('onhashchange' in window) { <span id="L314" class="LineNr">314 </span> <span class="subxComment"># next-word-or-string(_test-input-stream, slice)</span> <span id="L315" class="LineNr">315 </span> <span class="subxS2Comment"># . . push args</span> <span id="L316" class="LineNr">316 </span> 51/push-ecx -<span id="L317" class="LineNr">317 </span> 68/push <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 +<span id="L317" class="LineNr">317 </span> 68/push <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span id="L318" class="LineNr">318 </span> <span class="subxS2Comment"># . . call</span> <span id="L319" class="LineNr">319 </span> e8/call <a href='094next-word-or-string.subx.html#L8'>next-word-or-string</a>/disp32 <span id="L320" class="LineNr">320 </span> <span class="subxS2Comment"># . . discard args</span> @@ -385,7 +385,7 @@ if ('onhashchange' in window) { <span id="L326" class="LineNr">326 </span> 68/push 0xd/imm32 <span id="L327" class="LineNr">327 </span> <span class="subxS2Comment"># . . push slice->start - _test-input-stream</span> <span id="L328" class="LineNr">328 </span> 8b/copy 0/mod/indirect 1/rm32/ecx <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 *ecx to eax</span> -<span id="L329" class="LineNr">329 </span> 81 5/subop/subtract 3/mod/direct 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 <span class="subxComment"># subtract from eax</span> +<span id="L329" class="LineNr">329 </span> 81 5/subop/subtract 3/mod/direct 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span class="subxComment"># subtract from eax</span> <span id="L330" class="LineNr">330 </span> 50/push-eax <span id="L331" class="LineNr">331 </span> <span class="subxS2Comment"># . . call</span> <span id="L332" class="LineNr">332 </span> e8/call <a href='051test.subx.html#L24'>check-ints-equal</a>/disp32 @@ -398,7 +398,7 @@ if ('onhashchange' in window) { <span id="L339" class="LineNr">339 </span> 68/push 0x18/imm32 <span id="L340" class="LineNr">340 </span> <span class="subxS2Comment"># . . push slice->end - _test-input-stream</span> <span id="L341" class="LineNr">341 </span> 8b/copy 1/mod/*+disp8 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/eax 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(ecx+4) to eax</span> -<span id="L342" class="LineNr">342 </span> 81 5/subop/subtract 3/mod/direct 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 <span class="subxComment"># subtract from eax</span> +<span id="L342" class="LineNr">342 </span> 81 5/subop/subtract 3/mod/direct 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span class="subxComment"># subtract from eax</span> <span id="L343" class="LineNr">343 </span> 50/push-eax <span id="L344" class="LineNr">344 </span> <span class="subxS2Comment"># . . call</span> <span id="L345" class="LineNr">345 </span> e8/call <a href='051test.subx.html#L24'>check-ints-equal</a>/disp32 @@ -416,19 +416,19 @@ if ('onhashchange' in window) { <span id="L357" class="LineNr">357 </span> <span class="subxComment"># setup</span> <span id="L358" class="LineNr">358 </span> <span class="subxS1Comment"># . clear-stream(_test-input-stream)</span> <span id="L359" class="LineNr">359 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L360" class="LineNr">360 </span> 68/push <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 +<span id="L360" class="LineNr">360 </span> 68/push <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span id="L361" class="LineNr">361 </span> <span class="subxS2Comment"># . . call</span> <span id="L362" class="LineNr">362 </span> e8/call <a href='055stream.subx.html#L17'>clear-stream</a>/disp32 <span id="L363" class="LineNr">363 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L364" class="LineNr">364 </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="L365" class="LineNr">365 </span> <span class="subxComment"># var slice/ecx = {0, 0}</span> +<span id="L365" class="LineNr">365 </span> <span class="subxComment"># var slice/ecx : (ref slice)</span> <span id="L366" class="LineNr">366 </span> 68/push 0/imm32/end <span id="L367" class="LineNr">367 </span> 68/push 0/imm32/start <span id="L368" class="LineNr">368 </span> 89/copy 3/mod/direct 1/rm32/ecx <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 ecx</span> <span id="L369" class="LineNr">369 </span> <span class="subxComment"># write(_test-input-stream, " \"a\\\"b\"/x")</span> <span id="L370" class="LineNr">370 </span> <span class="subxS2Comment"># . . push args</span> <span id="L371" class="LineNr">371 </span> 68/push <span class="Constant">" \"</span>a\\\<span class="Constant">"b\"</span>/x"/imm32 -<span id="L372" class="LineNr">372 </span> 68/push <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 +<span id="L372" class="LineNr">372 </span> 68/push <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span id="L373" class="LineNr">373 </span> <span class="subxS2Comment"># . . call</span> <span id="L374" class="LineNr">374 </span> e8/call <a href='057write.subx.html#L24'>write</a>/disp32 <span id="L375" class="LineNr">375 </span> <span class="subxS2Comment"># . . discard args</span> @@ -436,7 +436,7 @@ if ('onhashchange' in window) { <span id="L377" class="LineNr">377 </span> <span class="subxComment"># next-word-or-string(_test-input-stream, slice)</span> <span id="L378" class="LineNr">378 </span> <span class="subxS2Comment"># . . push args</span> <span id="L379" class="LineNr">379 </span> 51/push-ecx -<span id="L380" class="LineNr">380 </span> 68/push <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 +<span id="L380" class="LineNr">380 </span> 68/push <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span id="L381" class="LineNr">381 </span> <span class="subxS2Comment"># . . call</span> <span id="L382" class="LineNr">382 </span> e8/call <a href='094next-word-or-string.subx.html#L8'>next-word-or-string</a>/disp32 <span id="L383" class="LineNr">383 </span> <span class="subxS2Comment"># . . discard args</span> @@ -448,7 +448,7 @@ if ('onhashchange' in window) { <span id="L389" class="LineNr">389 </span> 68/push 0xd/imm32 <span id="L390" class="LineNr">390 </span> <span class="subxS2Comment"># . . push slice->start - _test-input-stream</span> <span id="L391" class="LineNr">391 </span> 8b/copy 0/mod/indirect 1/rm32/ecx <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 *ecx to eax</span> -<span id="L392" class="LineNr">392 </span> 81 5/subop/subtract 3/mod/direct 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 <span class="subxComment"># subtract from eax</span> +<span id="L392" class="LineNr">392 </span> 81 5/subop/subtract 3/mod/direct 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span class="subxComment"># subtract from eax</span> <span id="L393" class="LineNr">393 </span> 50/push-eax <span id="L394" class="LineNr">394 </span> <span class="subxS2Comment"># . . call</span> <span id="L395" class="LineNr">395 </span> e8/call <a href='051test.subx.html#L24'>check-ints-equal</a>/disp32 @@ -461,7 +461,7 @@ if ('onhashchange' in window) { <span id="L402" class="LineNr">402 </span> 68/push 0x15/imm32 <span id="L403" class="LineNr">403 </span> <span class="subxS2Comment"># . . push slice->end - _test-input-stream</span> <span id="L404" class="LineNr">404 </span> 8b/copy 1/mod/*+disp8 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/eax 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(ecx+4) to eax</span> -<span id="L405" class="LineNr">405 </span> 81 5/subop/subtract 3/mod/direct 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <a href='061read-byte.subx.html#L288'>_test-input-stream</a>/imm32 <span class="subxComment"># subtract from eax</span> +<span id="L405" class="LineNr">405 </span> 81 5/subop/subtract 3/mod/direct 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <a href='061read-byte.subx.html#L287'>_test-input-stream</a>/imm32 <span class="subxComment"># subtract from eax</span> <span id="L406" class="LineNr">406 </span> 50/push-eax <span id="L407" class="LineNr">407 </span> <span class="subxS2Comment"># . . call</span> <span id="L408" class="LineNr">408 </span> e8/call <a href='051test.subx.html#L24'>check-ints-equal</a>/disp32 |