diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-04-10 21:18:55 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-04-10 21:18:55 -0700 |
commit | 09492d3867b5da6d0b2f21b139d097cd481a8fa1 (patch) | |
tree | 82d48abf1cd4af9f6d5eacd817bf4c17bbefd0b7 /html/subx/apps/crenshaw2-1b.subx.html | |
parent | 1b28ab9044ed5f076e2dfa65999c1c3cbbadc34f (diff) | |
download | mu-09492d3867b5da6d0b2f21b139d097cd481a8fa1.tar.gz |
5077
Diffstat (limited to 'html/subx/apps/crenshaw2-1b.subx.html')
-rw-r--r-- | html/subx/apps/crenshaw2-1b.subx.html | 215 |
1 files changed, 112 insertions, 103 deletions
diff --git a/html/subx/apps/crenshaw2-1b.subx.html b/html/subx/apps/crenshaw2-1b.subx.html index 932e7ed5..5aa5f873 100644 --- a/html/subx/apps/crenshaw2-1b.subx.html +++ b/html/subx/apps/crenshaw2-1b.subx.html @@ -114,7 +114,7 @@ if ('onhashchange' in window) { <span id="L51" class="LineNr"> 51 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L52" class="LineNr"> 52 </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="L53" class="LineNr"> 53 </span> <span class="subxS1Comment"># . check result</span> -<span id="L54" class="LineNr"> 54 </span> 3d/compare-EAX 1/imm32 +<span id="L54" class="LineNr"> 54 </span> 3d/compare-EAX-and 1/imm32 <span id="L55" class="LineNr"> 55 </span> 75/jump-if-not-equal $run-main/disp8 <span id="L56" class="LineNr"> 56 </span> <span class="subxS1Comment"># . run-tests()</span> <span id="L57" class="LineNr"> 57 </span> e8/call run-tests/disp32 @@ -157,7 +157,7 @@ if ('onhashchange' in window) { <span id="L94" class="LineNr"> 94 </span> <span class="subxS2Comment"># . . push args</span> <span id="L95" class="LineNr"> 95 </span> ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 8/disp8 <span class="Normal"> . </span> <span class="subxComment"># push *(EBP+8)</span> <span id="L96" class="LineNr"> 96 </span> <span class="subxS2Comment"># . . call</span> -<span id="L97" class="LineNr"> 97 </span> e8/call <a href='crenshaw2-1b.subx.html#L731'>get-char</a>/disp32 +<span id="L97" class="LineNr"> 97 </span> e8/call <a href='crenshaw2-1b.subx.html#L732'>get-char</a>/disp32 <span id="L98" class="LineNr"> 98 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L99" class="LineNr"> 99 </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="L100" class="LineNr">100 </span> <span class="subxComment"># var num/ECX : (address stream) on the stack</span> @@ -292,13 +292,13 @@ if ('onhashchange' in window) { <span id="L229" class="LineNr">229 </span> <span class="subxH1Comment"># - if (is-digit?(Look)) expected(ed, err, "integer")</span> <span id="L230" class="LineNr">230 </span> <span class="subxS1Comment"># . EAX = is-digit?(Look)</span> <span id="L231" class="LineNr">231 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L232" class="LineNr">232 </span> ff 6/subop/push 0/mod/indirect 5/rm32/.disp32 <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="SpecialChar"><a href='crenshaw2-1b.subx.html#L775'>Look</a></span>/disp32 <span class="Normal"> . </span> <span class="subxComment"># push *Look</span> +<span id="L232" class="LineNr">232 </span> ff 6/subop/push 0/mod/indirect 5/rm32/.disp32 <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="SpecialChar"><a href='crenshaw2-1b.subx.html#L777'>Look</a></span>/disp32 <span class="Normal"> . </span> <span class="subxComment"># push *Look</span> <span id="L233" class="LineNr">233 </span> <span class="subxS2Comment"># . . call</span> -<span id="L234" class="LineNr">234 </span> e8/call <a href='crenshaw2-1b.subx.html#L753'>is-digit?</a>/disp32 +<span id="L234" class="LineNr">234 </span> e8/call <a href='crenshaw2-1b.subx.html#L755'>is-digit?</a>/disp32 <span id="L235" class="LineNr">235 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L236" class="LineNr">236 </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="L237" class="LineNr">237 </span> <span class="subxS1Comment"># . if (EAX == 0)</span> -<span id="L238" class="LineNr">238 </span> 3d/compare-EAX 0/imm32 +<span id="L238" class="LineNr">238 </span> 3d/compare-EAX-and 0/imm32 <span id="L239" class="LineNr">239 </span> 75/jump-if-not-equal $get-num:main/disp8 <span id="L240" class="LineNr">240 </span> <span class="subxS1Comment"># . expected(ed, err, "integer")</span> <span id="L241" class="LineNr">241 </span> <span class="subxS2Comment"># . . push args</span> @@ -343,7 +343,7 @@ if ('onhashchange' in window) { <span id="L280" class="LineNr">280 </span><span class="Constant">$get-num:loop-stage2</span>: <span id="L281" class="LineNr">281 </span> <span class="subxComment"># out->data[out->write] = LSB(Look)</span> <span id="L282" class="LineNr">282 </span> 8d/copy-address 1/mod/*+disp8 4/rm32/sib 7/base/EDI 1/index/ECX <span class="Normal"> . </span> 3/r32/EBX 0xc/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy EDI+ECX+12 to EBX</span> -<span id="L283" class="LineNr">283 </span> 8b/copy 0/mod/indirect 5/rm32/.disp32 <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/EAX <span class="SpecialChar"><a href='crenshaw2-1b.subx.html#L775'>Look</a></span>/disp32 <span class="Normal"> . </span> <span class="subxComment"># copy *Look to EAX</span> +<span id="L283" class="LineNr">283 </span> 8b/copy 0/mod/indirect 5/rm32/.disp32 <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/EAX <span class="SpecialChar"><a href='crenshaw2-1b.subx.html#L777'>Look</a></span>/disp32 <span class="Normal"> . </span> <span class="subxComment"># copy *Look to EAX</span> <span id="L284" class="LineNr">284 </span> 88/copy-byte 0/mod/indirect 3/rm32/EBX <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/AL <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy byte at AL to *EBX</span> <span id="L285" class="LineNr">285 </span> <span class="subxComment"># ++out->write</span> <span id="L286" class="LineNr">286 </span> 41/increment-ECX @@ -351,19 +351,19 @@ if ('onhashchange' in window) { <span id="L288" class="LineNr">288 </span> <span class="subxS2Comment"># . . push args</span> <span id="L289" class="LineNr">289 </span> 56/push-ESI <span id="L290" class="LineNr">290 </span> <span class="subxS2Comment"># . . call</span> -<span id="L291" class="LineNr">291 </span> e8/call <a href='crenshaw2-1b.subx.html#L731'>get-char</a>/disp32 +<span id="L291" class="LineNr">291 </span> e8/call <a href='crenshaw2-1b.subx.html#L732'>get-char</a>/disp32 <span id="L292" class="LineNr">292 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L293" class="LineNr">293 </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="L294" class="LineNr">294 </span> <span class="subxComment"># if (is-digit?(Look)) loop</span> <span id="L295" class="LineNr">295 </span> <span class="subxS1Comment"># . EAX = is-digit?(Look)</span> <span id="L296" class="LineNr">296 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L297" class="LineNr">297 </span> ff 6/subop/push 0/mod/indirect 5/rm32/.disp32 <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="SpecialChar"><a href='crenshaw2-1b.subx.html#L775'>Look</a></span>/disp32 <span class="Normal"> . </span> <span class="subxComment"># push *Look</span> +<span id="L297" class="LineNr">297 </span> ff 6/subop/push 0/mod/indirect 5/rm32/.disp32 <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="SpecialChar"><a href='crenshaw2-1b.subx.html#L777'>Look</a></span>/disp32 <span class="Normal"> . </span> <span class="subxComment"># push *Look</span> <span id="L298" class="LineNr">298 </span> <span class="subxS2Comment"># . . call</span> -<span id="L299" class="LineNr">299 </span> e8/call <a href='crenshaw2-1b.subx.html#L753'>is-digit?</a>/disp32 +<span id="L299" class="LineNr">299 </span> e8/call <a href='crenshaw2-1b.subx.html#L755'>is-digit?</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="subxS1Comment"># . if (EAX != 0) loop</span> -<span id="L303" class="LineNr">303 </span> 3d/compare-EAX 0/imm32 +<span id="L303" class="LineNr">303 </span> 3d/compare-EAX-and 0/imm32 <span id="L304" class="LineNr">304 </span> 0f 85/jump-if-not-equal $get-num:loop/disp32 <span id="L305" class="LineNr">305 </span><span class="Constant">$get-num:loop-end</span>: <span id="L306" class="LineNr">306 </span> <span class="subxComment"># persist necessary variables from registers</span> @@ -405,14 +405,14 @@ if ('onhashchange' in window) { <span id="L342" class="LineNr">342 </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="L343" class="LineNr">343 </span> <span class="subxS1Comment"># . clear-stream(_test-output-stream)</span> <span id="L344" class="LineNr">344 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L345" class="LineNr">345 </span> 68/push <a href='crenshaw2-1b.subx.html#L778'>_test-output-stream</a>/imm32 +<span id="L345" class="LineNr">345 </span> 68/push <a href='crenshaw2-1b.subx.html#L780'>_test-output-stream</a>/imm32 <span id="L346" class="LineNr">346 </span> <span class="subxS2Comment"># . . call</span> <span id="L347" class="LineNr">347 </span> e8/call <a href='../055stream.subx.html#L17'>clear-stream</a>/disp32 <span id="L348" class="LineNr">348 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L349" class="LineNr">349 </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="L350" class="LineNr">350 </span> <span class="subxS1Comment"># . clear-stream(_test-error-stream)</span> <span id="L351" class="LineNr">351 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L352" class="LineNr">352 </span> 68/push <a href='crenshaw2-1b.subx.html#L788'>_test-error-stream</a>/imm32 +<span id="L352" class="LineNr">352 </span> 68/push <a href='crenshaw2-1b.subx.html#L790'>_test-error-stream</a>/imm32 <span id="L353" class="LineNr">353 </span> <span class="subxS2Comment"># . . call</span> <span id="L354" class="LineNr">354 </span> e8/call <a href='../055stream.subx.html#L17'>clear-stream</a>/disp32 <span id="L355" class="LineNr">355 </span> <span class="subxS2Comment"># . . discard args</span> @@ -443,14 +443,14 @@ if ('onhashchange' in window) { <span id="L380" class="LineNr">380 </span> <span class="subxS2Comment"># . . push args</span> <span id="L381" class="LineNr">381 </span> 68/push <a href='../061read-byte.subx.html#L289'>_test-buffered-file</a>/imm32 <span id="L382" class="LineNr">382 </span> <span class="subxS2Comment"># . . call</span> -<span id="L383" class="LineNr">383 </span> e8/call <a href='crenshaw2-1b.subx.html#L731'>get-char</a>/disp32 +<span id="L383" class="LineNr">383 </span> e8/call <a href='crenshaw2-1b.subx.html#L732'>get-char</a>/disp32 <span id="L384" class="LineNr">384 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L385" class="LineNr">385 </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="L386" class="LineNr">386 </span> <span class="subxComment"># get-num(in, out, err, ed)</span> <span id="L387" class="LineNr">387 </span> <span class="subxS2Comment"># . . push args</span> <span id="L388" class="LineNr">388 </span> 50/push-EAX/ed -<span id="L389" class="LineNr">389 </span> 68/push <a href='crenshaw2-1b.subx.html#L788'>_test-error-stream</a>/imm32 -<span id="L390" class="LineNr">390 </span> 68/push <a href='crenshaw2-1b.subx.html#L778'>_test-output-stream</a>/imm32 +<span id="L389" class="LineNr">389 </span> 68/push <a href='crenshaw2-1b.subx.html#L790'>_test-error-stream</a>/imm32 +<span id="L390" class="LineNr">390 </span> 68/push <a href='crenshaw2-1b.subx.html#L780'>_test-output-stream</a>/imm32 <span id="L391" class="LineNr">391 </span> 68/push <a href='../061read-byte.subx.html#L289'>_test-buffered-file</a>/imm32 <span id="L392" class="LineNr">392 </span> <span class="subxS2Comment"># . . call</span> <span id="L393" class="LineNr">393 </span> e8/call <a href='crenshaw2-1b.subx.html#L202'>get-num</a>/disp32 @@ -461,7 +461,7 @@ if ('onhashchange' in window) { <span id="L398" class="LineNr">398 </span> <span class="subxS2Comment"># . . push args</span> <span id="L399" class="LineNr">399 </span> 68/push <span class="Constant">"F - test-get-num-reads-single-digit"</span>/imm32 <span id="L400" class="LineNr">400 </span> 68/push 0x33/imm32 -<span id="L401" class="LineNr">401 </span> b8/copy-to-EAX <a href='crenshaw2-1b.subx.html#L778'>_test-output-stream</a>/imm32 +<span id="L401" class="LineNr">401 </span> b8/copy-to-EAX <a href='crenshaw2-1b.subx.html#L780'>_test-output-stream</a>/imm32 <span id="L402" class="LineNr">402 </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> 0xc/disp8 <span class="Normal"> . </span> <span class="subxComment"># push *(EAX+12)</span> <span id="L403" class="LineNr">403 </span> <span class="subxS2Comment"># . . call</span> <span id="L404" class="LineNr">404 </span> e8/call <a href='../051test.subx.html#L24'>check-ints-equal</a>/disp32 @@ -496,14 +496,14 @@ if ('onhashchange' in window) { <span id="L433" class="LineNr">433 </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="L434" class="LineNr">434 </span> <span class="subxS1Comment"># . clear-stream(_test-output-stream)</span> <span id="L435" class="LineNr">435 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L436" class="LineNr">436 </span> 68/push <a href='crenshaw2-1b.subx.html#L778'>_test-output-stream</a>/imm32 +<span id="L436" class="LineNr">436 </span> 68/push <a href='crenshaw2-1b.subx.html#L780'>_test-output-stream</a>/imm32 <span id="L437" class="LineNr">437 </span> <span class="subxS2Comment"># . . call</span> <span id="L438" class="LineNr">438 </span> e8/call <a href='../055stream.subx.html#L17'>clear-stream</a>/disp32 <span id="L439" class="LineNr">439 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L440" class="LineNr">440 </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="L441" class="LineNr">441 </span> <span class="subxS1Comment"># . clear-stream(_test-error-stream)</span> <span id="L442" class="LineNr">442 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L443" class="LineNr">443 </span> 68/push <a href='crenshaw2-1b.subx.html#L788'>_test-error-stream</a>/imm32 +<span id="L443" class="LineNr">443 </span> 68/push <a href='crenshaw2-1b.subx.html#L790'>_test-error-stream</a>/imm32 <span id="L444" class="LineNr">444 </span> <span class="subxS2Comment"># . . call</span> <span id="L445" class="LineNr">445 </span> e8/call <a href='../055stream.subx.html#L17'>clear-stream</a>/disp32 <span id="L446" class="LineNr">446 </span> <span class="subxS2Comment"># . . discard args</span> @@ -533,8 +533,8 @@ if ('onhashchange' in window) { <span id="L470" class="LineNr">470 </span> <span class="subxComment"># get-num(in, out, err, ed)</span> <span id="L471" class="LineNr">471 </span> <span class="subxS2Comment"># . . push args</span> <span id="L472" class="LineNr">472 </span> 50/push-EAX/ed -<span id="L473" class="LineNr">473 </span> 68/push <a href='crenshaw2-1b.subx.html#L788'>_test-error-stream</a>/imm32 -<span id="L474" class="LineNr">474 </span> 68/push <a href='crenshaw2-1b.subx.html#L778'>_test-output-stream</a>/imm32 +<span id="L473" class="LineNr">473 </span> 68/push <a href='crenshaw2-1b.subx.html#L790'>_test-error-stream</a>/imm32 +<span id="L474" class="LineNr">474 </span> 68/push <a href='crenshaw2-1b.subx.html#L780'>_test-output-stream</a>/imm32 <span id="L475" class="LineNr">475 </span> 68/push <a href='../061read-byte.subx.html#L289'>_test-buffered-file</a>/imm32 <span id="L476" class="LineNr">476 </span> <span class="subxS2Comment"># . . call</span> <span id="L477" class="LineNr">477 </span> e8/call <a href='crenshaw2-1b.subx.html#L202'>get-num</a>/disp32 @@ -581,14 +581,14 @@ if ('onhashchange' in window) { <span id="L518" class="LineNr">518 </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="L519" class="LineNr">519 </span> <span class="subxS1Comment"># . clear-stream(_test-output-stream)</span> <span id="L520" class="LineNr">520 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L521" class="LineNr">521 </span> 68/push <a href='crenshaw2-1b.subx.html#L778'>_test-output-stream</a>/imm32 +<span id="L521" class="LineNr">521 </span> 68/push <a href='crenshaw2-1b.subx.html#L780'>_test-output-stream</a>/imm32 <span id="L522" class="LineNr">522 </span> <span class="subxS2Comment"># . . call</span> <span id="L523" class="LineNr">523 </span> e8/call <a href='../055stream.subx.html#L17'>clear-stream</a>/disp32 <span id="L524" class="LineNr">524 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L525" class="LineNr">525 </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="L526" class="LineNr">526 </span> <span class="subxS1Comment"># . clear-stream(_test-error-stream)</span> <span id="L527" class="LineNr">527 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L528" class="LineNr">528 </span> 68/push <a href='crenshaw2-1b.subx.html#L788'>_test-error-stream</a>/imm32 +<span id="L528" class="LineNr">528 </span> 68/push <a href='crenshaw2-1b.subx.html#L790'>_test-error-stream</a>/imm32 <span id="L529" class="LineNr">529 </span> <span class="subxS2Comment"># . . call</span> <span id="L530" class="LineNr">530 </span> e8/call <a href='../055stream.subx.html#L17'>clear-stream</a>/disp32 <span id="L531" class="LineNr">531 </span> <span class="subxS2Comment"># . . discard args</span> @@ -619,14 +619,14 @@ if ('onhashchange' in window) { <span id="L556" class="LineNr">556 </span> <span class="subxS2Comment"># . . push args</span> <span id="L557" class="LineNr">557 </span> 68/push <a href='../061read-byte.subx.html#L289'>_test-buffered-file</a>/imm32 <span id="L558" class="LineNr">558 </span> <span class="subxS2Comment"># . . call</span> -<span id="L559" class="LineNr">559 </span> e8/call <a href='crenshaw2-1b.subx.html#L731'>get-char</a>/disp32 +<span id="L559" class="LineNr">559 </span> e8/call <a href='crenshaw2-1b.subx.html#L732'>get-char</a>/disp32 <span id="L560" class="LineNr">560 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L561" class="LineNr">561 </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="L562" class="LineNr">562 </span> <span class="subxComment"># get-num(in, out, err, ed)</span> <span id="L563" class="LineNr">563 </span> <span class="subxS2Comment"># . . push args</span> <span id="L564" class="LineNr">564 </span> 50/push-EAX/ed -<span id="L565" class="LineNr">565 </span> 68/push <a href='crenshaw2-1b.subx.html#L788'>_test-error-stream</a>/imm32 -<span id="L566" class="LineNr">566 </span> 68/push <a href='crenshaw2-1b.subx.html#L778'>_test-output-stream</a>/imm32 +<span id="L565" class="LineNr">565 </span> 68/push <a href='crenshaw2-1b.subx.html#L790'>_test-error-stream</a>/imm32 +<span id="L566" class="LineNr">566 </span> 68/push <a href='crenshaw2-1b.subx.html#L780'>_test-output-stream</a>/imm32 <span id="L567" class="LineNr">567 </span> 68/push <a href='../061read-byte.subx.html#L289'>_test-buffered-file</a>/imm32 <span id="L568" class="LineNr">568 </span> <span class="subxS2Comment"># . . call</span> <span id="L569" class="LineNr">569 </span> e8/call <a href='crenshaw2-1b.subx.html#L202'>get-num</a>/disp32 @@ -637,7 +637,7 @@ if ('onhashchange' in window) { <span id="L574" class="LineNr">574 </span> <span class="subxS2Comment"># . . push args</span> <span id="L575" class="LineNr">575 </span> 68/push <span class="Constant">"F - test-get-num-reads-multiple-digits"</span>/imm32 <span id="L576" class="LineNr">576 </span> 68/push 0x36353433/imm32 -<span id="L577" class="LineNr">577 </span> b8/copy-to-EAX <a href='crenshaw2-1b.subx.html#L778'>_test-output-stream</a>/imm32 +<span id="L577" class="LineNr">577 </span> b8/copy-to-EAX <a href='crenshaw2-1b.subx.html#L780'>_test-output-stream</a>/imm32 <span id="L578" class="LineNr">578 </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> 0xc/disp8 <span class="Normal"> . </span> <span class="subxComment"># push *(EAX+12)</span> <span id="L579" class="LineNr">579 </span> <span class="subxS2Comment"># . . call</span> <span id="L580" class="LineNr">580 </span> e8/call <a href='../051test.subx.html#L24'>check-ints-equal</a>/disp32 @@ -672,14 +672,14 @@ if ('onhashchange' in window) { <span id="L609" class="LineNr">609 </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="L610" class="LineNr">610 </span> <span class="subxS1Comment"># . clear-stream(_test-output-stream)</span> <span id="L611" class="LineNr">611 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L612" class="LineNr">612 </span> 68/push <a href='crenshaw2-1b.subx.html#L778'>_test-output-stream</a>/imm32 +<span id="L612" class="LineNr">612 </span> 68/push <a href='crenshaw2-1b.subx.html#L780'>_test-output-stream</a>/imm32 <span id="L613" class="LineNr">613 </span> <span class="subxS2Comment"># . . call</span> <span id="L614" class="LineNr">614 </span> e8/call <a href='../055stream.subx.html#L17'>clear-stream</a>/disp32 <span id="L615" class="LineNr">615 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L616" class="LineNr">616 </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="L617" class="LineNr">617 </span> <span class="subxS1Comment"># . clear-stream(_test-error-stream)</span> <span id="L618" class="LineNr">618 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L619" class="LineNr">619 </span> 68/push <a href='crenshaw2-1b.subx.html#L788'>_test-error-stream</a>/imm32 +<span id="L619" class="LineNr">619 </span> 68/push <a href='crenshaw2-1b.subx.html#L790'>_test-error-stream</a>/imm32 <span id="L620" class="LineNr">620 </span> <span class="subxS2Comment"># . . call</span> <span id="L621" class="LineNr">621 </span> e8/call <a href='../055stream.subx.html#L17'>clear-stream</a>/disp32 <span id="L622" class="LineNr">622 </span> <span class="subxS2Comment"># . . discard args</span> @@ -710,14 +710,14 @@ if ('onhashchange' in window) { <span id="L647" class="LineNr">647 </span> <span class="subxS2Comment"># . . push args</span> <span id="L648" class="LineNr">648 </span> 68/push <a href='../061read-byte.subx.html#L289'>_test-buffered-file</a>/imm32 <span id="L649" class="LineNr">649 </span> <span class="subxS2Comment"># . . call</span> -<span id="L650" class="LineNr">650 </span> e8/call <a href='crenshaw2-1b.subx.html#L731'>get-char</a>/disp32 +<span id="L650" class="LineNr">650 </span> e8/call <a href='crenshaw2-1b.subx.html#L732'>get-char</a>/disp32 <span id="L651" class="LineNr">651 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L652" class="LineNr">652 </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="L653" class="LineNr">653 </span> <span class="subxComment"># get-num(in, out, err, ed)</span> <span id="L654" class="LineNr">654 </span> <span class="subxS2Comment"># . . push args</span> <span id="L655" class="LineNr">655 </span> 50/push-EAX/ed -<span id="L656" class="LineNr">656 </span> 68/push <a href='crenshaw2-1b.subx.html#L788'>_test-error-stream</a>/imm32 -<span id="L657" class="LineNr">657 </span> 68/push <a href='crenshaw2-1b.subx.html#L778'>_test-output-stream</a>/imm32 +<span id="L656" class="LineNr">656 </span> 68/push <a href='crenshaw2-1b.subx.html#L790'>_test-error-stream</a>/imm32 +<span id="L657" class="LineNr">657 </span> 68/push <a href='crenshaw2-1b.subx.html#L780'>_test-output-stream</a>/imm32 <span id="L658" class="LineNr">658 </span> 68/push <a href='../061read-byte.subx.html#L289'>_test-buffered-file</a>/imm32 <span id="L659" class="LineNr">659 </span> <span class="subxS2Comment"># . . call</span> <span id="L660" class="LineNr">660 </span> e8/call <a href='crenshaw2-1b.subx.html#L202'>get-num</a>/disp32 @@ -728,7 +728,7 @@ if ('onhashchange' in window) { <span id="L665" class="LineNr">665 </span> <span class="subxS2Comment"># . . push args</span> <span id="L666" class="LineNr">666 </span> 68/push <span class="Constant">"F - test-get-num-reads-multiple-digits-followed-by-nondigit"</span>/imm32 <span id="L667" class="LineNr">667 </span> 68/push 0x36353433/imm32 -<span id="L668" class="LineNr">668 </span> b8/copy-to-EAX <a href='crenshaw2-1b.subx.html#L778'>_test-output-stream</a>/imm32 +<span id="L668" class="LineNr">668 </span> b8/copy-to-EAX <a href='crenshaw2-1b.subx.html#L780'>_test-output-stream</a>/imm32 <span id="L669" class="LineNr">669 </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> 0xc/disp8 <span class="Normal"> . </span> <span class="subxComment"># push *(EAX+12)</span> <span id="L670" class="LineNr">670 </span> <span class="subxS2Comment"># . . call</span> <span id="L671" class="LineNr">671 </span> e8/call <a href='../051test.subx.html#L24'>check-ints-equal</a>/disp32 @@ -785,80 +785,89 @@ if ('onhashchange' in window) { <span id="L722" class="LineNr">722 </span> <span class="subxS2Comment"># . . call</span> <span id="L723" class="LineNr">723 </span> e8/call <a href='../059stop.subx.html#L98'>stop</a>/disp32 <span id="L724" class="LineNr">724 </span> <span class="subxComment"># should never get past this point</span> -<span id="L725" class="LineNr">725 </span> <span class="subxS1Comment"># . epilog</span> -<span id="L726" class="LineNr">726 </span> 89/copy 3/mod/direct 4/rm32/ESP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/EBP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy EBP to ESP</span> -<span id="L727" class="LineNr">727 </span> 5d/pop-to-EBP -<span id="L728" class="LineNr">728 </span> c3/return -<span id="L729" class="LineNr">729 </span> -<span id="L730" class="LineNr">730 </span><span class="subxComment"># read a byte from 'f', and save it in 'Look'</span> -<span id="L731" class="LineNr">731 </span><span class="subxFunction">get-char</span>: <span class="subxComment"># f : (address buffered-file) -> <void></span> -<span id="L732" class="LineNr">732 </span> <span class="subxS1Comment"># . prolog</span> -<span id="L733" class="LineNr">733 </span> 55/push-EBP -<span id="L734" class="LineNr">734 </span> 89/copy 3/mod/direct 5/rm32/EBP <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 EBP</span> -<span id="L735" class="LineNr">735 </span> <span class="subxS1Comment"># . save registers</span> -<span id="L736" class="LineNr">736 </span> 50/push-EAX -<span id="L737" class="LineNr">737 </span> <span class="subxComment"># read-byte(f)</span> -<span id="L738" class="LineNr">738 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L739" class="LineNr">739 </span> ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 8/disp8 <span class="Normal"> . </span> <span class="subxComment"># push *(EBP+8)</span> -<span id="L740" class="LineNr">740 </span> <span class="subxS2Comment"># . . call</span> -<span id="L741" class="LineNr">741 </span> e8/call <a href='../061read-byte.subx.html#L44'>read-byte</a>/disp32 -<span id="L742" class="LineNr">742 </span> <span class="subxS2Comment"># . . discard args</span> -<span id="L743" class="LineNr">743 </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="L744" class="LineNr">744 </span> <span class="subxComment"># save EAX to Look</span> -<span id="L745" class="LineNr">745 </span> 89/copy 0/mod/indirect 5/rm32/.disp32 <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/EAX <span class="SpecialChar"><a href='crenshaw2-1b.subx.html#L775'>Look</a></span>/disp32 <span class="Normal"> . </span> <span class="subxComment"># copy EAX to *Look</span> -<span id="L746" class="LineNr">746 </span> <span class="subxS1Comment"># . restore registers</span> -<span id="L747" class="LineNr">747 </span> 58/pop-to-EAX -<span id="L748" class="LineNr">748 </span> <span class="subxS1Comment"># . epilog</span> -<span id="L749" class="LineNr">749 </span> 89/copy 3/mod/direct 4/rm32/ESP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/EBP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy EBP to ESP</span> -<span id="L750" class="LineNr">750 </span> 5d/pop-to-EBP -<span id="L751" class="LineNr">751 </span> c3/return -<span id="L752" class="LineNr">752 </span> -<span id="L753" class="LineNr">753 </span><span class="subxFunction">is-digit?</span>: <span class="subxComment"># c : int -> EAX : boolean</span> -<span id="L754" class="LineNr">754 </span> <span class="subxS1Comment"># . prolog</span> -<span id="L755" class="LineNr">755 </span> 55/push-EBP -<span id="L756" class="LineNr">756 </span> 89/copy 3/mod/direct 5/rm32/EBP <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 EBP</span> -<span id="L757" class="LineNr">757 </span> <span class="subxComment"># EAX = false</span> -<span id="L758" class="LineNr">758 </span> b8/copy-to-EAX 0/imm32 -<span id="L759" class="LineNr">759 </span> <span class="subxComment"># if (c < '0') return false</span> -<span id="L760" class="LineNr">760 </span> 81 7/subop/compare 1/mod/*+disp8 5/rm32/EBP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 8/disp8 0x30/imm32 <span class="subxComment"># compare *(EBP+8)</span> -<span id="L761" class="LineNr">761 </span> 7c/jump-if-lesser $is-digit?:end/disp8 -<span id="L762" class="LineNr">762 </span> <span class="subxComment"># if (c > '9') return false</span> -<span id="L763" class="LineNr">763 </span> 81 7/subop/compare 1/mod/*+disp8 5/rm32/EBP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 8/disp8 0x39/imm32 <span class="subxComment"># compare *(EBP+8)</span> -<span id="L764" class="LineNr">764 </span> 7f/jump-if-greater $is-digit?:end/disp8 -<span id="L765" class="LineNr">765 </span> <span class="subxComment"># otherwise return true</span> -<span id="L766" class="LineNr">766 </span> b8/copy-to-EAX 1/imm32 -<span id="L767" class="LineNr">767 </span><span class="Constant">$is-digit?:end</span>: -<span id="L768" class="LineNr">768 </span> <span class="subxS1Comment"># . epilog</span> -<span id="L769" class="LineNr">769 </span> 89/copy 3/mod/direct 4/rm32/ESP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/EBP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy EBP to ESP</span> -<span id="L770" class="LineNr">770 </span> 5d/pop-to-EBP -<span id="L771" class="LineNr">771 </span> c3/return -<span id="L772" class="LineNr">772 </span> -<span id="L773" class="LineNr">773 </span>== data +<span id="L725" class="LineNr">725 </span><span class="Constant">$expected:dead-end</span>: +<span id="L726" class="LineNr">726 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L727" class="LineNr">727 </span> 89/copy 3/mod/direct 4/rm32/ESP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/EBP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy EBP to ESP</span> +<span id="L728" class="LineNr">728 </span> 5d/pop-to-EBP +<span id="L729" class="LineNr">729 </span> c3/return +<span id="L730" class="LineNr">730 </span> +<span id="L731" class="LineNr">731 </span><span class="subxComment"># read a byte from 'f', and save it in 'Look'</span> +<span id="L732" class="LineNr">732 </span><span class="subxFunction">get-char</span>: <span class="subxComment"># f : (address buffered-file) -> <void></span> +<span id="L733" class="LineNr">733 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L734" class="LineNr">734 </span> 55/push-EBP +<span id="L735" class="LineNr">735 </span> 89/copy 3/mod/direct 5/rm32/EBP <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 EBP</span> +<span id="L736" class="LineNr">736 </span> <span class="subxS1Comment"># . save registers</span> +<span id="L737" class="LineNr">737 </span> 50/push-EAX +<span id="L738" class="LineNr">738 </span> <span class="subxComment"># read-byte(f)</span> +<span id="L739" class="LineNr">739 </span> <span class="subxS2Comment"># . . push args</span> +<span id="L740" class="LineNr">740 </span> ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 8/disp8 <span class="Normal"> . </span> <span class="subxComment"># push *(EBP+8)</span> +<span id="L741" class="LineNr">741 </span> <span class="subxS2Comment"># . . call</span> +<span id="L742" class="LineNr">742 </span> e8/call <a href='../061read-byte.subx.html#L44'>read-byte</a>/disp32 +<span id="L743" class="LineNr">743 </span> <span class="subxS2Comment"># . . discard args</span> +<span id="L744" class="LineNr">744 </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="L745" class="LineNr">745 </span> <span class="subxComment"># save EAX to Look</span> +<span id="L746" class="LineNr">746 </span> 89/copy 0/mod/indirect 5/rm32/.disp32 <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/EAX <span class="SpecialChar"><a href='crenshaw2-1b.subx.html#L777'>Look</a></span>/disp32 <span class="Normal"> . </span> <span class="subxComment"># copy EAX to *Look</span> +<span id="L747" class="LineNr">747 </span><span class="Constant">$get-char:end</span>: +<span id="L748" class="LineNr">748 </span> <span class="subxS1Comment"># . restore registers</span> +<span id="L749" class="LineNr">749 </span> 58/pop-to-EAX +<span id="L750" class="LineNr">750 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L751" class="LineNr">751 </span> 89/copy 3/mod/direct 4/rm32/ESP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/EBP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy EBP to ESP</span> +<span id="L752" class="LineNr">752 </span> 5d/pop-to-EBP +<span id="L753" class="LineNr">753 </span> c3/return +<span id="L754" class="LineNr">754 </span> +<span id="L755" class="LineNr">755 </span><span class="subxFunction">is-digit?</span>: <span class="subxComment"># c : int -> EAX : boolean</span> +<span id="L756" class="LineNr">756 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L757" class="LineNr">757 </span> 55/push-EBP +<span id="L758" class="LineNr">758 </span> 89/copy 3/mod/direct 5/rm32/EBP <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 EBP</span> +<span id="L759" class="LineNr">759 </span> <span class="subxComment"># EAX = false</span> +<span id="L760" class="LineNr">760 </span> b8/copy-to-EAX 0/imm32 +<span id="L761" class="LineNr">761 </span> <span class="subxComment"># if (c < '0') return false</span> +<span id="L762" class="LineNr">762 </span> 81 7/subop/compare 1/mod/*+disp8 5/rm32/EBP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 8/disp8 0x30/imm32 <span class="subxComment"># compare *(EBP+8)</span> +<span id="L763" class="LineNr">763 </span> 7c/jump-if-lesser $is-digit?:end/disp8 +<span id="L764" class="LineNr">764 </span> <span class="subxComment"># if (c > '9') return false</span> +<span id="L765" class="LineNr">765 </span> 81 7/subop/compare 1/mod/*+disp8 5/rm32/EBP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 8/disp8 0x39/imm32 <span class="subxComment"># compare *(EBP+8)</span> +<span id="L766" class="LineNr">766 </span> 7f/jump-if-greater $is-digit?:end/disp8 +<span id="L767" class="LineNr">767 </span> <span class="subxComment"># otherwise return true</span> +<span id="L768" class="LineNr">768 </span> b8/copy-to-EAX 1/imm32 +<span id="L769" class="LineNr">769 </span><span class="Constant">$is-digit?:end</span>: +<span id="L770" class="LineNr">770 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L771" class="LineNr">771 </span> 89/copy 3/mod/direct 4/rm32/ESP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/EBP <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy EBP to ESP</span> +<span id="L772" class="LineNr">772 </span> 5d/pop-to-EBP +<span id="L773" class="LineNr">773 </span> c3/return <span id="L774" class="LineNr">774 </span> -<span id="L775" class="LineNr">775 </span><span class="SpecialChar">Look</span>: <span class="subxComment"># (char with some extra padding)</span> -<span id="L776" class="LineNr">776 </span> 0/imm32 -<span id="L777" class="LineNr">777 </span> -<span id="L778" class="LineNr">778 </span><span class="subxMinorFunction">_test-output-stream</span>: -<span id="L779" class="LineNr">779 </span> <span class="subxComment"># current write index</span> -<span id="L780" class="LineNr">780 </span> 0/imm32 -<span id="L781" class="LineNr">781 </span> <span class="subxComment"># current read index</span> +<span id="L775" class="LineNr">775 </span>== data +<span id="L776" class="LineNr">776 </span> +<span id="L777" class="LineNr">777 </span><span class="SpecialChar">Look</span>: <span class="subxComment"># (char with some extra padding)</span> +<span id="L778" class="LineNr">778 </span> 0/imm32 +<span id="L779" class="LineNr">779 </span> +<span id="L780" class="LineNr">780 </span><span class="subxMinorFunction">_test-output-stream</span>: +<span id="L781" class="LineNr">781 </span> <span class="subxComment"># current write index</span> <span id="L782" class="LineNr">782 </span> 0/imm32 -<span id="L783" class="LineNr">783 </span> <span class="subxComment"># length</span> -<span id="L784" class="LineNr">784 </span> 8/imm32 -<span id="L785" class="LineNr">785 </span> <span class="subxComment"># data</span> -<span id="L786" class="LineNr">786 </span> 00 00 00 00 00 00 00 00 <span class="subxComment"># 8 bytes</span> -<span id="L787" class="LineNr">787 </span> -<span id="L788" class="LineNr">788 </span><span class="subxMinorFunction">_test-error-stream</span>: -<span id="L789" class="LineNr">789 </span> <span class="subxComment"># current write index</span> -<span id="L790" class="LineNr">790 </span> 0/imm32 -<span id="L791" class="LineNr">791 </span> <span class="subxComment"># current read index</span> +<span id="L783" class="LineNr">783 </span> <span class="subxComment"># current read index</span> +<span id="L784" class="LineNr">784 </span> 0/imm32 +<span id="L785" class="LineNr">785 </span> <span class="subxComment"># length</span> +<span id="L786" class="LineNr">786 </span> 8/imm32 +<span id="L787" class="LineNr">787 </span> <span class="subxComment"># data</span> +<span id="L788" class="LineNr">788 </span> 00 00 00 00 00 00 00 00 <span class="subxComment"># 8 bytes</span> +<span id="L789" class="LineNr">789 </span> +<span id="L790" class="LineNr">790 </span><span class="subxMinorFunction">_test-error-stream</span>: +<span id="L791" class="LineNr">791 </span> <span class="subxComment"># current write index</span> <span id="L792" class="LineNr">792 </span> 0/imm32 -<span id="L793" class="LineNr">793 </span> <span class="subxComment"># length</span> -<span id="L794" class="LineNr">794 </span> 8/imm32 -<span id="L795" class="LineNr">795 </span> <span class="subxComment"># data</span> -<span id="L796" class="LineNr">796 </span> 00 00 00 00 00 00 00 00 <span class="subxComment"># 8 bytes</span> -<span id="L797" class="LineNr">797 </span> -<span id="L798" class="LineNr">798 </span><span class="subxS2Comment"># . . vim:nowrap:textwidth=0</span> +<span id="L793" class="LineNr">793 </span> <span class="subxComment"># current read index</span> +<span id="L794" class="LineNr">794 </span> 0/imm32 +<span id="L795" class="LineNr">795 </span> <span class="subxComment"># length</span> +<span id="L796" class="LineNr">796 </span> 0x40/imm32 +<span id="L797" class="LineNr">797 </span> <span class="subxComment"># data</span> +<span id="L798" class="LineNr">798 </span> 00 00 00 00 00 00 00 00 <span class="subxComment"># 8 bytes</span> +<span id="L799" class="LineNr">799 </span> 00 00 00 00 00 00 00 00 <span class="subxComment"># 8 bytes</span> +<span id="L800" class="LineNr">800 </span> 00 00 00 00 00 00 00 00 <span class="subxComment"># 8 bytes</span> +<span id="L801" class="LineNr">801 </span> 00 00 00 00 00 00 00 00 <span class="subxComment"># 8 bytes</span> +<span id="L802" class="LineNr">802 </span> 00 00 00 00 00 00 00 00 <span class="subxComment"># 8 bytes</span> +<span id="L803" class="LineNr">803 </span> 00 00 00 00 00 00 00 00 <span class="subxComment"># 8 bytes</span> +<span id="L804" class="LineNr">804 </span> 00 00 00 00 00 00 00 00 <span class="subxComment"># 8 bytes</span> +<span id="L805" class="LineNr">805 </span> 00 00 00 00 00 00 00 00 <span class="subxComment"># 8 bytes</span> +<span id="L806" class="LineNr">806 </span> +<span id="L807" class="LineNr">807 </span><span class="subxS2Comment"># . . vim:nowrap:textwidth=0</span> </pre> </body> </html> |