diff options
Diffstat (limited to 'html/apps')
-rw-r--r-- | html/apps/assort.subx.html | 34 | ||||
-rw-r--r-- | html/apps/braces.subx.html | 6 | ||||
-rw-r--r-- | html/apps/browse.mu.html | 227 | ||||
-rw-r--r-- | html/apps/browse/main.mu.html | 461 | ||||
-rw-r--r-- | html/apps/browse/paginated-screen.mu.html | 733 | ||||
-rw-r--r-- | html/apps/calls.subx.html | 4 | ||||
-rw-r--r-- | html/apps/dquotes.subx.html | 16 | ||||
-rw-r--r-- | html/apps/mu.subx.html | 336 | ||||
-rw-r--r-- | html/apps/pack.subx.html | 90 | ||||
-rw-r--r-- | html/apps/print-file.mu.html | 2 | ||||
-rw-r--r-- | html/apps/sigils.subx.html | 38 | ||||
-rw-r--r-- | html/apps/survey.subx.html | 54 |
12 files changed, 1484 insertions, 517 deletions
diff --git a/html/apps/assort.subx.html b/html/apps/assort.subx.html index 26591f1c..864be9ce 100644 --- a/html/apps/assort.subx.html +++ b/html/apps/assort.subx.html @@ -172,7 +172,7 @@ if ('onhashchange' in window) { <span id="L110" class="LineNr"> 110 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L111" class="LineNr"> 111 </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="L112" class="LineNr"> 112 </span><span class="Constant">$subx-assort:<a href='../111read.subx.html#L48'>read</a></span>: -<span id="L113" class="Folded"> 113 </span><span class="Folded">+-- 9 lines: #? # print("read\n") --------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L113" class="Folded"> 113 </span><span class="Folded">+-- 9 lines: #? # print("read\n") -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L122" class="LineNr"> 122 </span> <span class="subxComment"># read-segments(in, table)</span> <span id="L123" class="LineNr"> 123 </span> <span class="subxS2Comment"># . . push args</span> <span id="L124" class="LineNr"> 124 </span> 51/push-ecx @@ -182,7 +182,7 @@ if ('onhashchange' in window) { <span id="L128" class="LineNr"> 128 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L129" class="LineNr"> 129 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 8/imm32 <span class="subxComment"># add to esp</span> <span id="L130" class="LineNr"> 130 </span><span class="Constant">$subx-assort:<a href='../108write.subx.html#L24'>write</a></span>: -<span id="L131" class="Folded"> 131 </span><span class="Folded">+-- 9 lines: #? # print("write\n") -------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L131" class="Folded"> 131 </span><span class="Folded">+-- 9 lines: #? # print("write\n") ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L140" class="LineNr"> 140 </span> <span class="subxComment"># write-segments(out, table)</span> <span id="L141" class="LineNr"> 141 </span> <span class="subxS2Comment"># . . push args</span> <span id="L142" class="LineNr"> 142 </span> 51/push-ecx @@ -385,7 +385,7 @@ if ('onhashchange' in window) { <span id="L339" class="LineNr"> 339 </span> <span class="subxComment"># 10 11</span> <span id="L340" class="LineNr"> 340 </span> <span class="subxComment"># == data 0x0a000000</span> <span id="L341" class="LineNr"> 341 </span> <span class="subxComment"># 4 5/imm32</span> -<span id="L342" class="Folded"> 342 </span><span class="Folded">+-- 33 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L342" class="Folded"> 342 </span><span class="Folded">+-- 33 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L375" class="LineNr"> 375 </span> <span class="subxS1Comment"># . check-next-stream-line-equal(_test-output-stream, "== code 0x09000000", msg)</span> <span id="L376" class="LineNr"> 376 </span> <span class="subxS2Comment"># . . push args</span> <span id="L377" class="LineNr"> 377 </span> 68/push <span class="Constant">"F - <a href='assort.subx.html#L158'>test-subx-assort</a>/0"</span>/imm32 @@ -537,7 +537,7 @@ if ('onhashchange' in window) { <span id="L523" class="LineNr"> 523 </span> <span class="subxComment"># if (line->write == 0) break</span> <span id="L524" class="LineNr"> 524 </span> 81 7/subop/compare 0/mod/indirect 1/rm32/ecx <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"># compare *ecx</span> <span id="L525" class="LineNr"> 525 </span> 0f 84/jump-if-= $read-segments:<span class="Constant">break</span>/disp32 -<span id="L526" class="Folded"> 526 </span><span class="Folded">+-- 33 lines: #? # dump line --------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L526" class="Folded"> 526 </span><span class="Folded">+-- 33 lines: #? # dump line -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L559" class="LineNr"> 559 </span> <span class="subxComment"># next-word-or-string(line, word-slice)</span> <span id="L560" class="LineNr"> 560 </span> <span class="subxS2Comment"># . . push args</span> <span id="L561" class="LineNr"> 561 </span> 52/push-edx @@ -547,7 +547,7 @@ if ('onhashchange' in window) { <span id="L565" class="LineNr"> 565 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L566" class="LineNr"> 566 </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="L567" class="LineNr"> 567 </span><span class="Constant">$read-segments:check1</span>: -<span id="L568" class="Folded"> 568 </span><span class="Folded">+-- 9 lines: #? # print("check1\n") ------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L568" class="Folded"> 568 </span><span class="Folded">+-- 9 lines: #? # print("check1\n") ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L577" class="LineNr"> 577 </span> <span class="subxComment"># if (slice-empty?(word-slice)) continue</span> <span id="L578" class="LineNr"> 578 </span> <span class="subxS1Comment"># . eax = slice-empty?(word-slice)</span> <span id="L579" class="LineNr"> 579 </span> <span class="subxS2Comment"># . . push args</span> @@ -560,7 +560,7 @@ if ('onhashchange' in window) { <span id="L586" class="LineNr"> 586 </span> 3d/compare-eax-and 0/imm32/false <span id="L587" class="LineNr"> 587 </span> 0f 85/jump-if-!= $read-segments:<span class="Constant">loop</span>/disp32 <span id="L588" class="LineNr"> 588 </span><span class="Constant">$read-segments:check-for-comment</span>: -<span id="L589" class="Folded"> 589 </span><span class="Folded">+-- 9 lines: #? # print("check for comment\n") -------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L589" class="Folded"> 589 </span><span class="Folded">+-- 9 lines: #? # print("check for comment\n") ----------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L598" class="LineNr"> 598 </span> <span class="subxComment"># if (slice-starts-with?(word-slice, "#")) continue</span> <span id="L599" class="LineNr"> 599 </span> <span class="subxS1Comment"># . var start/esi: (addr byte) = word-slice->start</span> <span id="L600" class="LineNr"> 600 </span> 8b/copy 0/mod/indirect 2/rm32/edx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 6/r32/esi <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy *ecx to esi</span> @@ -571,8 +571,8 @@ if ('onhashchange' in window) { <span id="L605" class="LineNr"> 605 </span> 3d/compare-eax-and 0x23/imm32/hash <span id="L606" class="LineNr"> 606 </span> 0f 84/jump-if-= $read-segments:<span class="Constant">loop</span>/disp32 <span id="L607" class="LineNr"> 607 </span><span class="Constant">$read-segments:check-for-segment-header</span>: -<span id="L608" class="Folded"> 608 </span><span class="Folded">+-- 9 lines: #? # print("check for segment header\n") ------------------------------------------------------------------------------------------------------------------------------</span> -<span id="L617" class="Folded"> 617 </span><span class="Folded">+-- 40 lines: #? # dump word-slice --------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L608" class="Folded"> 608 </span><span class="Folded">+-- 9 lines: #? # print("check for segment header\n") ---------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L617" class="Folded"> 617 </span><span class="Folded">+-- 40 lines: #? # dump word-slice -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L657" class="LineNr"> 657 </span> <span class="subxComment"># if !slice-equal?(word-slice, "==") goto next check</span> <span id="L658" class="LineNr"> 658 </span> <span class="subxS1Comment"># . eax = slice-equal?(word-slice, "==")</span> <span id="L659" class="LineNr"> 659 </span> <span class="subxS2Comment"># . . push args</span> @@ -593,7 +593,7 @@ if ('onhashchange' in window) { <span id="L674" class="LineNr"> 674 </span> e8/call <a href='../135next-word-or-string.subx.html#L8'>next-word-or-string</a>/disp32 <span id="L675" class="LineNr"> 675 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L676" class="LineNr"> 676 </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="L677" class="Folded"> 677 </span><span class="Folded">+-- 40 lines: #? # dump segment name ------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L677" class="Folded"> 677 </span><span class="Folded">+-- 40 lines: #? # dump segment name ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L717" class="LineNr"> 717 </span> <span class="subxComment"># var segment-slot/edi: (addr handle stream byte) = get-or-insert-slice(table, segment-name, row-size=16, Heap)</span> <span id="L718" class="LineNr"> 718 </span> <span class="subxS1Comment"># . eax = get-or-insert-slice(table, segment-name, row-size=16, Heap)</span> <span id="L719" class="LineNr"> 719 </span> <span class="subxS2Comment"># . . push args</span> @@ -607,7 +607,7 @@ if ('onhashchange' in window) { <span id="L727" class="LineNr"> 727 </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> 0x10/imm32 <span class="subxComment"># add to esp</span> <span id="L728" class="LineNr"> 728 </span> <span class="subxS1Comment"># . edi = eax</span> <span id="L729" class="LineNr"> 729 </span> 89/copy 3/mod/direct 7/rm32/edi <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 eax to edi</span> -<span id="L730" class="Folded"> 730 </span><span class="Folded">+-- 33 lines: #? # print("slot: " segment-slot "\n") --------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L730" class="Folded"> 730 </span><span class="Folded">+-- 33 lines: #? # print("slot: " segment-slot "\n") -----------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L763" class="LineNr"> 763 </span> <span class="subxComment"># if (*segment-slot != 0) update curr-segment and continue</span> <span id="L764" class="LineNr"> 764 </span> 81 7/subop/compare 0/mod/indirect 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"># compare edi</span> <span id="L765" class="LineNr"> 765 </span> 0f 84/jump-if-= $read-segments:create-segment/disp32 @@ -648,11 +648,11 @@ if ('onhashchange' in window) { <span id="L800" class="LineNr"> 800 </span> 89/copy 3/mod/direct 3/rm32/ebx <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 eax to ebx</span> <span id="L801" class="LineNr"> 801 </span> <span class="subxComment"># fall through</span> <span id="L802" class="LineNr"> 802 </span><span class="Constant">$read-segments:regular-line</span>: -<span id="L803" class="Folded"> 803 </span><span class="Folded">+-- 9 lines: #? # print("regular line\n") ------------------------------------------------------------------------------------------------------------------------------------------</span> -<span id="L812" class="Folded"> 812 </span><span class="Folded">+-- 33 lines: #? # dump line --------------------------------------------------------------------------------------------------------------------------------------------------------</span> -<span id="L845" class="Folded"> 845 </span><span class="Folded">+-- 33 lines: #? # print("addr: " curr-segment->write "\n") -------------------------------------------------------------------------------------------------------------------------</span> -<span id="L878" class="Folded"> 878 </span><span class="Folded">+-- 33 lines: #? # print("write: " curr-segment->write "\n") ------------------------------------------------------------------------------------------------------------------------</span> -<span id="L911" class="Folded"> 911 </span><span class="Folded">+-- 33 lines: #? # print("size: " curr-segment->size "\n") --------------------------------------------------------------------------------------------------------------------------</span> +<span id="L803" class="Folded"> 803 </span><span class="Folded">+-- 9 lines: #? # print("regular line\n") ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L812" class="Folded"> 812 </span><span class="Folded">+-- 33 lines: #? # dump line -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L845" class="Folded"> 845 </span><span class="Folded">+-- 33 lines: #? # print("addr: " curr-segment->write "\n") ----------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L878" class="Folded"> 878 </span><span class="Folded">+-- 33 lines: #? # print("write: " curr-segment->write "\n") ---------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L911" class="Folded"> 911 </span><span class="Folded">+-- 33 lines: #? # print("size: " curr-segment->size "\n") -----------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L944" class="LineNr"> 944 </span> <span class="subxComment"># rewind-stream(line)</span> <span id="L945" class="LineNr"> 945 </span> <span class="subxS2Comment"># . . push args</span> <span id="L946" class="LineNr"> 946 </span> 51/push-ecx @@ -660,7 +660,7 @@ if ('onhashchange' in window) { <span id="L948" class="LineNr"> 948 </span> e8/call <a href='../106stream.subx.html#L56'>rewind-stream</a>/disp32 <span id="L949" class="LineNr"> 949 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L950" class="LineNr"> 950 </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="L951" class="Folded"> 951 </span><span class="Folded">+-- 9 lines: #? # print("write stream\n") ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L951" class="Folded"> 951 </span><span class="Folded">+-- 9 lines: #? # print("write stream\n") ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L960" class="LineNr"> 960 </span> <span class="subxComment"># write-stream(curr-segment, line)</span> <span id="L961" class="LineNr"> 961 </span> <span class="subxS2Comment"># . . push args</span> <span id="L962" class="LineNr"> 962 </span> 51/push-ecx @@ -670,7 +670,7 @@ if ('onhashchange' in window) { <span id="L966" class="LineNr"> 966 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L967" class="LineNr"> 967 </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="L968" class="LineNr"> 968 </span> <span class="subxComment"># loop</span> -<span id="L969" class="Folded"> 969 </span><span class="Folded">+-- 9 lines: #? # print("loop\n") --------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L969" class="Folded"> 969 </span><span class="Folded">+-- 9 lines: #? # print("loop\n") -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L978" class="LineNr"> 978 </span> e9/jump $read-segments:<span class="Constant">loop</span>/disp32 <span id="L979" class="LineNr"> 979 </span><span class="Constant">$read-segments:break</span>: <span id="L980" class="LineNr"> 980 </span><span class="Constant">$read-segments:end</span>: diff --git a/html/apps/braces.subx.html b/html/apps/braces.subx.html index 973cd784..b04f007c 100644 --- a/html/apps/braces.subx.html +++ b/html/apps/braces.subx.html @@ -328,7 +328,7 @@ if ('onhashchange' in window) { <span id="L269" class="LineNr">269 </span> (<a href='braces.subx.html#L77'>subx-braces</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L270" class="LineNr">270 </span> <span class="subxComment"># check that the line just passed through</span> <span id="L271" class="LineNr">271 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L272" class="Folded">272 </span><span class="Folded">+-- 5 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L272" class="Folded">272 </span><span class="Folded">+-- 5 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L277" class="LineNr">277 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"== abcd 0x1 \n"</span> <span class="Constant">"F - test-subx-braces-passes-most-words-through"</span>) <span id="L278" class="LineNr">278 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L279" class="LineNr">279 </span> 89/<- %esp 5/r32/ebp @@ -361,7 +361,7 @@ if ('onhashchange' in window) { <span id="L306" class="LineNr">306 </span> (<a href='braces.subx.html#L77'>subx-braces</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L307" class="LineNr">307 </span> <span class="subxComment"># check that the line just passed through</span> <span id="L308" class="LineNr">308 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L309" class="Folded">309 </span><span class="Folded">+-- 5 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L309" class="Folded">309 </span><span class="Folded">+-- 5 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L314" class="LineNr">314 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"_loop0x00000001:\nab _break0x00000001/imm32 \ncd _loop0x00000001/imm32 \n_break0x00000001:\n"</span> <span class="Constant">"F - test-subx-braces-1"</span>) <span id="L315" class="LineNr">315 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L316" class="LineNr">316 </span> 89/<- %esp 5/r32/ebp @@ -398,7 +398,7 @@ if ('onhashchange' in window) { <span id="L347" class="LineNr">347 </span> (<a href='braces.subx.html#L77'>subx-braces</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L348" class="LineNr">348 </span> <span class="subxComment"># check that the line just passed through</span> <span id="L349" class="LineNr">349 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L350" class="Folded">350 </span><span class="Folded">+-- 5 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L350" class="Folded">350 </span><span class="Folded">+-- 5 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L355" class="LineNr">355 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"_loop0x00000001:\n_loop0x00000002:\nab _break0x00000002/imm32 \n_break0x00000002:\ncd _loop0x00000001/imm32 \n_break0x00000001:\n"</span> <span class="Constant">"F - test-subx-braces-2"</span>) <span id="L356" class="LineNr">356 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L357" class="LineNr">357 </span> 89/<- %esp 5/r32/ebp diff --git a/html/apps/browse.mu.html b/html/apps/browse.mu.html deleted file mode 100644 index 0af54fb7..00000000 --- a/html/apps/browse.mu.html +++ /dev/null @@ -1,227 +0,0 @@ -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> -<html> -<head> -<meta http-equiv="content-type" content="text/html; charset=UTF-8"> -<title>Mu - apps/browse.mu</title> -<meta name="Generator" content="Vim/8.1"> -<meta name="plugin-version" content="vim8.1_v1"> -<meta name="syntax" content="none"> -<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> -<meta name="colorscheme" content="minimal-light"> -<style type="text/css"> -<!-- -pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #c6c6c6; } -body { font-size:12pt; font-family: monospace; color: #000000; background-color: #c6c6c6; } -a { color:inherit; } -* { font-size:12pt; font-size: 1em; } -.LineNr { } -.muFunction { color: #af5f00; text-decoration: underline; } -.SpecialChar { color: #d70000; } -.Comment { color: #005faf; } -.Constant { color: #008787; } -.Folded { color: #080808; background-color: #949494; } -.Delimiter { color: #c000c0; } -.PreProc { color: #c000c0; } ---> -</style> - -<script type='text/javascript'> -<!-- - -/* function to open any folds containing a jumped-to line before jumping to it */ -function JumpToLine() -{ - var lineNum; - lineNum = window.location.hash; - lineNum = lineNum.substr(1); /* strip off '#' */ - - if (lineNum.indexOf('L') == -1) { - lineNum = 'L'+lineNum; - } - var lineElem = document.getElementById(lineNum); - /* Always jump to new location even if the line was hidden inside a fold, or - * we corrected the raw number to a line ID. - */ - if (lineElem) { - lineElem.scrollIntoView(true); - } - return true; -} -if ('onhashchange' in window) { - window.onhashchange = JumpToLine; -} - ---> -</script> -</head> -<body onload='JumpToLine();'> -<a href='https://github.com/akkartik/mu/blob/master/apps/browse.mu'>https://github.com/akkartik/mu/blob/master/apps/browse.mu</a> -<pre id='vimCodeElement'> -<span id="L1" class="LineNr"> 1 </span><span class="Comment"># Render text with word-wrap.</span> -<span id="L2" class="LineNr"> 2 </span><span class="Comment">#</span> -<span id="L3" class="LineNr"> 3 </span><span class="Comment"># To run:</span> -<span id="L4" class="LineNr"> 4 </span><span class="Comment"># $ ./translate_mu apps/browse.mu</span> -<span id="L5" class="LineNr"> 5 </span><span class="Comment"># $ ./a.elf __text_file__</span> -<span id="L6" class="LineNr"> 6 </span><span class="Comment">#</span> -<span id="L7" class="LineNr"> 7 </span><span class="Comment"># Press 'q' to quit. All other keys scroll down.</span> -<span id="L8" class="LineNr"> 8 </span> -<span id="L9" class="LineNr"> 9 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='browse.mu.html#L9'>main</a></span> args-on-stack: (addr array addr array byte)<span class="PreProc"> -> </span>exit-status/<span class="Constant">ebx</span>: int <span class="Delimiter">{</span> -<span id="L10" class="Folded"> 10 </span><span class="Folded">+-- 20 lines: # var file/esi: (addr buffered-file) = open args-on-stack[1] for reading --------------------------------------------------------------------------------------------------</span> -<span id="L30" class="LineNr"> 30 </span> <a href='../304screen.subx.html#L6'>enable-screen-grid-mode</a> -<span id="L31" class="LineNr"> 31 </span> <span class="PreProc">var</span> nrows/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> -<span id="L32" class="LineNr"> 32 </span> <span class="PreProc">var</span> ncols/<span class="Constant">ecx</span>: int <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> -<span id="L33" class="LineNr"> 33 </span> nrows, ncols <span class="SpecialChar"><-</span> <a href='../405screen.mu.html#L60'>screen-size</a> <span class="Constant">0</span> -<span id="L34" class="LineNr"> 34 </span> <a href='../305keyboard.subx.html#L6'>enable-keyboard-immediate-mode</a> -<span id="L35" class="LineNr"> 35 </span> <span class="Delimiter">{</span> -<span id="L36" class="LineNr"> 36 </span> <a href='browse.mu.html#L51'>render</a> file, nrows, ncols -<span id="L37" class="LineNr"> 37 </span> <span class="PreProc">var</span> key/<span class="Constant">eax</span>: byte <span class="SpecialChar"><-</span> <a href='../305keyboard.subx.html#L122'>read-key</a> -<span id="L38" class="LineNr"> 38 </span> compare key, <span class="Constant">0x71</span> <span class="Comment"># 'q'</span> -<span id="L39" class="LineNr"> 39 </span> <span class="PreProc">loop-if-!=</span> -<span id="L40" class="LineNr"> 40 </span> <span class="Delimiter">}</span> -<span id="L41" class="LineNr"> 41 </span> <a href='../305keyboard.subx.html#L72'>enable-keyboard-type-mode</a> -<span id="L42" class="LineNr"> 42 </span> <a href='../304screen.subx.html#L24'>enable-screen-type-mode</a> -<span id="L43" class="LineNr"> 43 </span> exit-status <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> -<span id="L44" class="LineNr"> 44 </span><span class="Delimiter">}</span> -<span id="L45" class="LineNr"> 45 </span> -<span id="L46" class="LineNr"> 46 </span><span class="PreProc">type</span> <a href='browse.mu.html#L46'>render-state</a> <span class="Delimiter">{</span> -<span id="L47" class="LineNr"> 47 </span> current-state: int <span class="Comment"># enum 0: normal, 1: bold</span> -<span id="L48" class="LineNr"> 48 </span><span class="Delimiter">}</span> -<span id="L49" class="LineNr"> 49 </span> -<span id="L50" class="LineNr"> 50 </span><span class="Comment"># decide how to lay out pages on screen</span> -<span id="L51" class="LineNr"> 51 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='browse.mu.html#L51'>render</a></span> in: (addr buffered-file), nrows: int, ncols: int <span class="Delimiter">{</span> -<span id="L52" class="LineNr"> 52 </span> <span class="Comment"># Fit multiple pages on screen on separate columns, each wide enough to read</span> -<span id="L53" class="LineNr"> 53 </span> <span class="Comment"># comfortably.</span> -<span id="L54" class="LineNr"> 54 </span> <span class="Comment"># Pages are separated horizontally by a 'page margin'. Among other reasons,</span> -<span id="L55" class="LineNr"> 55 </span> <span class="Comment"># this allows the odd line to bleed out on the right if necessary.</span> -<span id="L56" class="LineNr"> 56 </span> <span class="Comment">#</span> -<span id="L57" class="LineNr"> 57 </span> <span class="Comment"># hardcoded parameters:</span> -<span id="L58" class="LineNr"> 58 </span> <span class="Comment"># top-margin</span> -<span id="L59" class="LineNr"> 59 </span> <span class="Comment"># page-margin</span> -<span id="L60" class="LineNr"> 60 </span> <span class="Comment"># page-width</span> -<span id="L61" class="LineNr"> 61 </span> <span class="PreProc">var</span> _r: <a href='browse.mu.html#L46'>render-state</a> -<span id="L62" class="LineNr"> 62 </span> <span class="PreProc">var</span> r/<span class="Constant">edi</span>: (addr <a href='browse.mu.html#L46'>render-state</a>) <span class="SpecialChar"><-</span> address _r -<span id="L63" class="LineNr"> 63 </span> <span class="PreProc">var</span> toprow/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy <span class="Constant">2</span> <span class="Comment"># top-margin</span> -<span id="L64" class="LineNr"> 64 </span> <span class="PreProc">var</span> botrow/<span class="Constant">ecx</span>: int <span class="SpecialChar"><-</span> copy nrows -<span id="L65" class="LineNr"> 65 </span> <span class="PreProc">var</span> leftcol/<span class="Constant">edx</span>: int <span class="SpecialChar"><-</span> copy <span class="Constant">5</span> <span class="Comment"># page-margin</span> -<span id="L66" class="LineNr"> 66 </span> <span class="PreProc">var</span> rightcol/<span class="Constant">ebx</span>: int <span class="SpecialChar"><-</span> copy leftcol -<span id="L67" class="LineNr"> 67 </span> rightcol <span class="SpecialChar"><-</span> add <span class="Constant">0x40</span> <span class="Comment"># page-width = 64 characters</span> -<span id="L68" class="LineNr"> 68 </span> <a href='../405screen.mu.html#L464'>start-color</a> <span class="Constant">0</span>, <span class="Constant">0xec</span>, <span class="Constant">7</span> <span class="Comment"># 236 = darkish gray</span> -<span id="L69" class="LineNr"> 69 </span> <span class="Delimiter">{</span> -<span id="L70" class="LineNr"> 70 </span> compare rightcol, ncols -<span id="L71" class="LineNr"> 71 </span> <span class="PreProc">break-if->=</span> -<span id="L72" class="LineNr"> 72 </span> <a href='browse.mu.html#L81'>render-page</a> in, toprow, leftcol, botrow, rightcol, r -<span id="L73" class="LineNr"> 73 </span> leftcol <span class="SpecialChar"><-</span> copy rightcol -<span id="L74" class="LineNr"> 74 </span> leftcol <span class="SpecialChar"><-</span> add <span class="Constant">5</span> <span class="Comment"># page-margin</span> -<span id="L75" class="LineNr"> 75 </span> rightcol <span class="SpecialChar"><-</span> copy leftcol -<span id="L76" class="LineNr"> 76 </span> rightcol <span class="SpecialChar"><-</span> add <span class="Constant">0x40</span> <span class="Comment"># page-width</span> -<span id="L77" class="LineNr"> 77 </span> <span class="PreProc">loop</span> -<span id="L78" class="LineNr"> 78 </span> <span class="Delimiter">}</span> -<span id="L79" class="LineNr"> 79 </span><span class="Delimiter">}</span> -<span id="L80" class="LineNr"> 80 </span> -<span id="L81" class="LineNr"> 81 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='browse.mu.html#L81'>render-page</a></span> in: (addr buffered-file), toprow: int, leftcol: int, botrow: int, rightcol: int, r: (addr <a href='browse.mu.html#L46'>render-state</a>) <span class="Delimiter">{</span> -<span id="L82" class="LineNr"> 82 </span> <a href='browse.mu.html#L157'>clear</a> toprow, leftcol, botrow, rightcol -<span id="L83" class="LineNr"> 83 </span> <span class="Comment"># render screen rows</span> -<span id="L84" class="LineNr"> 84 </span> <span class="PreProc">var</span> row/<span class="Constant">ecx</span>: int <span class="SpecialChar"><-</span> copy toprow -<span id="L85" class="LineNr"> 85 </span>$line-loop: <span class="Delimiter">{</span> -<span id="L86" class="LineNr"> 86 </span> compare row, botrow -<span id="L87" class="LineNr"> 87 </span> <span class="PreProc">break-if->=</span> -<span id="L88" class="LineNr"> 88 </span> <span class="PreProc">var</span> col/<span class="Constant">edx</span>: int <span class="SpecialChar"><-</span> copy leftcol -<span id="L89" class="LineNr"> 89 </span> <a href='../405screen.mu.html#L116'>move-cursor</a> <span class="Constant">0</span>, row, col -<span id="L90" class="LineNr"> 90 </span> <span class="Delimiter">{</span> -<span id="L91" class="LineNr"> 91 </span> compare col, rightcol -<span id="L92" class="LineNr"> 92 </span> <span class="PreProc">break-if->=</span> -<span id="L93" class="LineNr"> 93 </span> <span class="PreProc">var</span> c/<span class="Constant">eax</span>: byte <span class="SpecialChar"><-</span> <a href='../112read-byte.subx.html#L38'>read-byte-buffered</a> in -<span id="L94" class="LineNr"> 94 </span> compare c, <span class="Constant">0xffffffff</span> <span class="Comment"># EOF marker</span> -<span id="L95" class="LineNr"> 95 </span> <span class="PreProc">break-if-=</span> $line-loop -<span id="L96" class="LineNr"> 96 </span> <a href='browse.mu.html#L109'>update-attributes</a> c, r -<span id="L97" class="LineNr"> 97 </span> compare c, <span class="Constant">0xa</span> <span class="Comment"># newline</span> -<span id="L98" class="LineNr"> 98 </span> <span class="PreProc">break-if-=</span> <span class="Comment"># no need to print newlines</span> -<span id="L99" class="LineNr"> 99 </span> <span class="PreProc">var</span> g/<span class="Constant">eax</span>: grapheme <span class="SpecialChar"><-</span> copy c -<span id="L100" class="LineNr">100 </span> <a href='../405screen.mu.html#L206'>print-grapheme</a> <span class="Constant">0</span>, g -<span id="L101" class="LineNr">101 </span> col <span class="SpecialChar"><-</span> increment -<span id="L102" class="LineNr">102 </span> <span class="PreProc">loop</span> -<span id="L103" class="LineNr">103 </span> <span class="Delimiter">}</span> -<span id="L104" class="LineNr">104 </span> row <span class="SpecialChar"><-</span> increment -<span id="L105" class="LineNr">105 </span> <span class="PreProc">loop</span> -<span id="L106" class="LineNr">106 </span> <span class="Delimiter">}</span> -<span id="L107" class="LineNr">107 </span><span class="Delimiter">}</span> -<span id="L108" class="LineNr">108 </span> -<span id="L109" class="LineNr">109 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='browse.mu.html#L109'>update-attributes</a></span> c: byte, _r: (addr <a href='browse.mu.html#L46'>render-state</a>) <span class="Delimiter">{</span> -<span id="L110" class="LineNr">110 </span> <span class="PreProc">var</span> r/<span class="Constant">edi</span>: (addr <a href='browse.mu.html#L46'>render-state</a>) <span class="SpecialChar"><-</span> copy _r -<span id="L111" class="LineNr">111 </span> <span class="PreProc">var</span> state/<span class="Constant">esi</span>: (addr int) <span class="SpecialChar"><-</span> <a href='../131table.subx.html#L26'>get</a> r, current-state -<span id="L112" class="LineNr">112 </span>$update-attributes:check-state: <span class="Delimiter">{</span> -<span id="L113" class="LineNr">113 </span> compare *state, <span class="Constant">0</span> <span class="Comment"># normal</span> -<span id="L114" class="LineNr">114 </span> <span class="Delimiter">{</span> -<span id="L115" class="LineNr">115 </span> <span class="PreProc">break-if-!=</span> -<span id="L116" class="LineNr">116 </span> compare c, <span class="Constant">0x2a</span> <span class="Comment"># '*'</span> -<span id="L117" class="LineNr">117 </span> <span class="Delimiter">{</span> -<span id="L118" class="LineNr">118 </span> <span class="PreProc">break-if-!=</span> -<span id="L119" class="LineNr">119 </span> <span class="Comment"># r->current-state == 0 && c == '*'</span> -<span id="L120" class="LineNr">120 </span> <a href='../405screen.mu.html#L487'>start-bold</a> <span class="Constant">0</span> -<span id="L121" class="LineNr">121 </span> copy-to *state, <span class="Constant">1</span> -<span id="L122" class="LineNr">122 </span> <span class="PreProc">break</span> $update-attributes:check-state -<span id="L123" class="LineNr">123 </span> <span class="Delimiter">}</span> -<span id="L124" class="LineNr">124 </span> compare c, <span class="Constant">0x5f</span> <span class="Comment"># '_'</span> -<span id="L125" class="LineNr">125 </span> <span class="Delimiter">{</span> -<span id="L126" class="LineNr">126 </span> <span class="PreProc">break-if-!=</span> -<span id="L127" class="LineNr">127 </span> <span class="Comment"># r->current-state == 0 && c == '_'</span> -<span id="L128" class="LineNr">128 </span> <a href='../405screen.mu.html#L487'>start-bold</a> <span class="Constant">0</span> -<span id="L129" class="LineNr">129 </span> copy-to *state, <span class="Constant">1</span> -<span id="L130" class="LineNr">130 </span> <span class="PreProc">break</span> $update-attributes:check-state -<span id="L131" class="LineNr">131 </span> <span class="Delimiter">}</span> -<span id="L132" class="LineNr">132 </span> <span class="PreProc">break</span> $update-attributes:check-state -<span id="L133" class="LineNr">133 </span> <span class="Delimiter">}</span> -<span id="L134" class="LineNr">134 </span> <span class="Delimiter">{</span> -<span id="L135" class="LineNr">135 </span> <span class="PreProc">break-if-=</span> -<span id="L136" class="LineNr">136 </span> compare c, <span class="Constant">0x2a</span> <span class="Comment"># '*'</span> -<span id="L137" class="LineNr">137 </span> <span class="Delimiter">{</span> -<span id="L138" class="LineNr">138 </span> <span class="PreProc">break-if-!=</span> -<span id="L139" class="LineNr">139 </span> <span class="Comment"># r->current-state == 1 && c == '*'</span> -<span id="L140" class="LineNr">140 </span> <a href='../405screen.mu.html#L442'>reset-formatting</a> <span class="Constant">0</span> -<span id="L141" class="LineNr">141 </span> copy-to *state, <span class="Constant">0</span> -<span id="L142" class="LineNr">142 </span> <span class="PreProc">break</span> $update-attributes:check-state -<span id="L143" class="LineNr">143 </span> <span class="Delimiter">}</span> -<span id="L144" class="LineNr">144 </span> compare c, <span class="Constant">0x5f</span> <span class="Comment"># '_'</span> -<span id="L145" class="LineNr">145 </span> <span class="Delimiter">{</span> -<span id="L146" class="LineNr">146 </span> <span class="PreProc">break-if-!=</span> -<span id="L147" class="LineNr">147 </span> <span class="Comment"># r->current-state == 1 && c == '_'</span> -<span id="L148" class="LineNr">148 </span> <a href='../405screen.mu.html#L442'>reset-formatting</a> <span class="Constant">0</span> -<span id="L149" class="LineNr">149 </span> copy-to *state, <span class="Constant">0</span> -<span id="L150" class="LineNr">150 </span> <span class="PreProc">break</span> $update-attributes:check-state -<span id="L151" class="LineNr">151 </span> <span class="Delimiter">}</span> -<span id="L152" class="LineNr">152 </span> <span class="PreProc">break</span> $update-attributes:check-state -<span id="L153" class="LineNr">153 </span> <span class="Delimiter">}</span> -<span id="L154" class="LineNr">154 </span> <span class="Delimiter">}</span> -<span id="L155" class="LineNr">155 </span><span class="Delimiter">}</span> -<span id="L156" class="LineNr">156 </span> -<span id="L157" class="LineNr">157 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='browse.mu.html#L157'>clear</a></span> toprow: int, leftcol: int, botrow: int, rightcol: int <span class="Delimiter">{</span> -<span id="L158" class="LineNr">158 </span> <span class="PreProc">var</span> row/<span class="Constant">ecx</span>: int <span class="SpecialChar"><-</span> copy toprow -<span id="L159" class="LineNr">159 </span> <span class="Delimiter">{</span> -<span id="L160" class="LineNr">160 </span> compare row, botrow -<span id="L161" class="LineNr">161 </span> <span class="PreProc">break-if->=</span> -<span id="L162" class="LineNr">162 </span> <span class="PreProc">var</span> col/<span class="Constant">edx</span>: int <span class="SpecialChar"><-</span> copy leftcol -<span id="L163" class="LineNr">163 </span> <a href='../405screen.mu.html#L116'>move-cursor</a> <span class="Constant">0</span>, row, col -<span id="L164" class="LineNr">164 </span> <span class="Delimiter">{</span> -<span id="L165" class="LineNr">165 </span> compare col, rightcol -<span id="L166" class="LineNr">166 </span> <span class="PreProc">break-if->=</span> -<span id="L167" class="LineNr">167 </span> <a href='../405screen.mu.html#L179'>print-string</a> <span class="Constant">0</span>, <span class="Constant">" "</span> -<span id="L168" class="LineNr">168 </span> col <span class="SpecialChar"><-</span> increment -<span id="L169" class="LineNr">169 </span> <span class="PreProc">loop</span> -<span id="L170" class="LineNr">170 </span> <span class="Delimiter">}</span> -<span id="L171" class="LineNr">171 </span> row <span class="SpecialChar"><-</span> increment -<span id="L172" class="LineNr">172 </span> <span class="PreProc">loop</span> -<span id="L173" class="LineNr">173 </span> <span class="Delimiter">}</span> -<span id="L174" class="LineNr">174 </span><span class="Delimiter">}</span> -<span id="L175" class="LineNr">175 </span> -<span id="L176" class="LineNr">176 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='browse.mu.html#L176'>dump</a></span> in: (addr buffered-file) <span class="Delimiter">{</span> -<span id="L177" class="LineNr">177 </span> <span class="PreProc">var</span> c/<span class="Constant">eax</span>: byte <span class="SpecialChar"><-</span> <a href='../112read-byte.subx.html#L38'>read-byte-buffered</a> in -<span id="L178" class="LineNr">178 </span> compare c, <span class="Constant">0xffffffff</span> <span class="Comment"># EOF marker</span> -<span id="L179" class="LineNr">179 </span> <span class="PreProc">break-if-=</span> -<span id="L180" class="LineNr">180 </span> <span class="PreProc">var</span> g/<span class="Constant">eax</span>: grapheme <span class="SpecialChar"><-</span> copy c -<span id="L181" class="LineNr">181 </span> <a href='../405screen.mu.html#L206'>print-grapheme</a> <span class="Constant">0</span>, g -<span id="L182" class="LineNr">182 </span> <span class="PreProc">loop</span> -<span id="L183" class="LineNr">183 </span><span class="Delimiter">}</span> -</pre> -</body> -</html> -<!-- vim: set foldmethod=manual : --> diff --git a/html/apps/browse/main.mu.html b/html/apps/browse/main.mu.html new file mode 100644 index 00000000..72eae1e4 --- /dev/null +++ b/html/apps/browse/main.mu.html @@ -0,0 +1,461 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<html> +<head> +<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<title>Mu - apps/browse/main.mu</title> +<meta name="Generator" content="Vim/8.1"> +<meta name="plugin-version" content="vim8.1_v1"> +<meta name="syntax" content="none"> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> +<meta name="colorscheme" content="minimal-light"> +<style type="text/css"> +<!-- +pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #c6c6c6; } +body { font-size:12pt; font-family: monospace; color: #000000; background-color: #c6c6c6; } +a { color:inherit; } +* { font-size:12pt; font-size: 1em; } +.muTest { color: #5f8700; } +.LineNr { } +.muFunction { color: #af5f00; text-decoration: underline; } +.Comment { color: #005faf; } +.SpecialChar { color: #d70000; } +.Constant { color: #008787; } +.Delimiter { color: #c000c0; } +.PreProc { color: #c000c0; } +.SalientComment { color: #0000af; } +--> +</style> + +<script type='text/javascript'> +<!-- + +/* function to open any folds containing a jumped-to line before jumping to it */ +function JumpToLine() +{ + var lineNum; + lineNum = window.location.hash; + lineNum = lineNum.substr(1); /* strip off '#' */ + + if (lineNum.indexOf('L') == -1) { + lineNum = 'L'+lineNum; + } + var lineElem = document.getElementById(lineNum); + /* Always jump to new location even if the line was hidden inside a fold, or + * we corrected the raw number to a line ID. + */ + if (lineElem) { + lineElem.scrollIntoView(true); + } + return true; +} +if ('onhashchange' in window) { + window.onhashchange = JumpToLine; +} + +--> +</script> +</head> +<body onload='JumpToLine();'> +<a href='https://github.com/akkartik/mu/blob/master/apps/browse/main.mu'>https://github.com/akkartik/mu/blob/master/apps/browse/main.mu</a> +<pre id='vimCodeElement'> +<span id="L1" class="LineNr"> 1 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='main.mu.html#L1'>main</a></span> args-on-stack: (addr array addr array byte)<span class="PreProc"> -> </span>exit-status/<span class="Constant">ebx</span>: int <span class="Delimiter">{</span> +<span id="L2" class="LineNr"> 2 </span> <span class="PreProc">var</span> args/<span class="Constant">eax</span>: (addr array addr array byte) <span class="SpecialChar"><-</span> copy args-on-stack +<span id="L3" class="LineNr"> 3 </span> <span class="PreProc">var</span> tmp/<span class="Constant">ecx</span>: int <span class="SpecialChar"><-</span> length args +<span id="L4" class="LineNr"> 4 </span> $main-body: <span class="Delimiter">{</span> +<span id="L5" class="LineNr"> 5 </span> <span class="Comment"># if (len(args) <= 1) print usage and exit</span> +<span id="L6" class="LineNr"> 6 </span> compare tmp, <span class="Constant">1</span> +<span id="L7" class="LineNr"> 7 </span> <span class="Delimiter">{</span> +<span id="L8" class="LineNr"> 8 </span> <span class="PreProc">break-if-></span> +<span id="L9" class="LineNr"> 9 </span> <a href='../../304screen.subx.html#L122'>print-string-to-real-screen</a> <span class="Constant">"usage: browse [filename]\n"</span> +<span id="L10" class="LineNr"> 10 </span> <a href='../../304screen.subx.html#L122'>print-string-to-real-screen</a> <span class="Constant">" or browse test\n"</span> +<span id="L11" class="LineNr"> 11 </span> exit-status <span class="SpecialChar"><-</span> copy <span class="Constant">1</span> +<span id="L12" class="LineNr"> 12 </span> <span class="PreProc">break</span> $main-body +<span id="L13" class="LineNr"> 13 </span> <span class="Delimiter">}</span> +<span id="L14" class="LineNr"> 14 </span> <span class="Comment"># if (args[1] == "test") run-tests()</span> +<span id="L15" class="LineNr"> 15 </span> <span class="PreProc">var</span> tmp2/<span class="Constant">ecx</span>: (addr addr array byte) <span class="SpecialChar"><-</span> index args, <span class="Constant">1</span> +<span id="L16" class="LineNr"> 16 </span> <span class="PreProc">var</span> tmp3/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='../../105string-equal.subx.html#L15'>string-equal?</a> *tmp2, <span class="Constant">"test"</span> +<span id="L17" class="LineNr"> 17 </span> compare tmp3, <span class="Constant">0</span> +<span id="L18" class="LineNr"> 18 </span> <span class="Delimiter">{</span> +<span id="L19" class="LineNr"> 19 </span> <span class="PreProc">break-if-=</span> +<span id="L20" class="LineNr"> 20 </span> run-tests +<span id="L21" class="LineNr"> 21 </span> exit-status <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> <span class="Comment"># TODO: get at Num-test-failures somehow</span> +<span id="L22" class="LineNr"> 22 </span> <span class="PreProc">break</span> $main-body +<span id="L23" class="LineNr"> 23 </span> <span class="Delimiter">}</span> +<span id="L24" class="LineNr"> 24 </span> <span class="Comment"># otherwise interactive mode</span> +<span id="L25" class="LineNr"> 25 </span> exit-status <span class="SpecialChar"><-</span> <a href='main.mu.html#L29'>interactive</a> args-on-stack +<span id="L26" class="LineNr"> 26 </span> <span class="Delimiter">}</span> +<span id="L27" class="LineNr"> 27 </span><span class="Delimiter">}</span> +<span id="L28" class="LineNr"> 28 </span> +<span id="L29" class="LineNr"> 29 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='main.mu.html#L29'>interactive</a></span> args: (addr array addr array byte)<span class="PreProc"> -> </span>exit-status/<span class="Constant">ebx</span>: int <span class="Delimiter">{</span> +<span id="L30" class="LineNr"> 30 </span> <span class="Comment"># initialize fs from args[1]</span> +<span id="L31" class="LineNr"> 31 </span> <span class="PreProc">var</span> filename/<span class="Constant">eax</span>: (addr array byte) <span class="SpecialChar"><-</span> <a href='main.mu.html#L388'>first-arg</a> args +<span id="L32" class="LineNr"> 32 </span> <span class="PreProc">var</span> file-storage: (handle buffered-file) +<span id="L33" class="LineNr"> 33 </span> <span class="PreProc">var</span> file-storage-addr/<span class="Constant">esi</span>: (addr handle buffered-file) <span class="SpecialChar"><-</span> address file-storage +<span id="L34" class="LineNr"> 34 </span> <a href='../../306files.subx.html#L12'>open</a> filename, <span class="Constant">0</span>, file-storage-addr +<span id="L35" class="LineNr"> 35 </span> <span class="PreProc">var</span> _fs/<span class="Constant">eax</span>: (addr buffered-file) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> file-storage +<span id="L36" class="LineNr"> 36 </span> <span class="PreProc">var</span> fs/<span class="Constant">esi</span>: (addr buffered-file) <span class="SpecialChar"><-</span> copy _fs +<span id="L37" class="LineNr"> 37 </span> <span class="Comment">#</span> +<span id="L38" class="LineNr"> 38 </span> <a href='../../304screen.subx.html#L6'>enable-screen-grid-mode</a> +<span id="L39" class="LineNr"> 39 </span> <a href='../../305keyboard.subx.html#L6'>enable-keyboard-immediate-mode</a> +<span id="L40" class="LineNr"> 40 </span> <span class="Comment"># initialize screen state</span> +<span id="L41" class="LineNr"> 41 </span> <span class="PreProc">var</span> paginated-screen-storage: paginated-screen +<span id="L42" class="LineNr"> 42 </span> <span class="PreProc">var</span> paginated-screen/<span class="Constant">eax</span>: (addr paginated-screen) <span class="SpecialChar"><-</span> address paginated-screen-storage +<span id="L43" class="LineNr"> 43 </span> initialize-paginated-screen paginated-screen, <span class="Constant">0x40</span>, <span class="Constant">2</span>, <span class="Constant">5</span> +<span id="L44" class="LineNr"> 44 </span> <a href='main.mu.html#L394'>normal-text</a> paginated-screen +<span id="L45" class="LineNr"> 45 </span> <span class="Comment">#</span> +<span id="L46" class="LineNr"> 46 </span> <span class="Delimiter">{</span> +<span id="L47" class="LineNr"> 47 </span> <a href='main.mu.html#L57'>render</a> paginated-screen, fs +<span id="L48" class="LineNr"> 48 </span> <span class="PreProc">var</span> key/<span class="Constant">eax</span>: byte <span class="SpecialChar"><-</span> <a href='../../305keyboard.subx.html#L122'>read-key</a> +<span id="L49" class="LineNr"> 49 </span> compare key, <span class="Constant">0x71</span> <span class="Comment"># 'q'</span> +<span id="L50" class="LineNr"> 50 </span> <span class="PreProc">loop-if-!=</span> +<span id="L51" class="LineNr"> 51 </span> <span class="Delimiter">}</span> +<span id="L52" class="LineNr"> 52 </span> <a href='../../305keyboard.subx.html#L72'>enable-keyboard-type-mode</a> +<span id="L53" class="LineNr"> 53 </span> <a href='../../304screen.subx.html#L24'>enable-screen-type-mode</a> +<span id="L54" class="LineNr"> 54 </span> exit-status <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> +<span id="L55" class="LineNr"> 55 </span><span class="Delimiter">}</span> +<span id="L56" class="LineNr"> 56 </span> +<span id="L57" class="LineNr"> 57 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='main.mu.html#L57'>render</a></span> <a href='../../405screen.mu.html#L9'>screen</a>: (addr paginated-screen), fs: (addr buffered-file) <span class="Delimiter">{</span> +<span id="L58" class="LineNr"> 58 </span> start-drawing <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L59" class="LineNr"> 59 </span> <a href='main.mu.html#L157'>render-normal</a> <a href='../../405screen.mu.html#L9'>screen</a>, fs +<span id="L60" class="LineNr"> 60 </span><span class="Delimiter">}</span> +<span id="L61" class="LineNr"> 61 </span> +<span id="L62" class="LineNr"> 62 </span><span class="PreProc">fn</span> <span class="muTest"><a href='main.mu.html#L62'>test-render-multicolumn-text</a></span> <span class="Delimiter">{</span> +<span id="L63" class="LineNr"> 63 </span> <span class="Comment"># input text</span> +<span id="L64" class="LineNr"> 64 </span> <span class="PreProc">var</span> input-storage: (handle buffered-file) +<span id="L65" class="LineNr"> 65 </span> <span class="PreProc">var</span> input-ah/<span class="Constant">eax</span>: (addr handle buffered-file) <span class="SpecialChar"><-</span> address input-storage +<span id="L66" class="LineNr"> 66 </span> <a href='../../306files.subx.html#L73'>populate-buffered-file-containing</a> <span class="Constant">"abcdefgh"</span>, input-ah +<span id="L67" class="LineNr"> 67 </span> <span class="PreProc">var</span> in/<span class="Constant">eax</span>: (addr buffered-file) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> input-storage +<span id="L68" class="LineNr"> 68 </span> <span class="Comment"># output screen</span> +<span id="L69" class="LineNr"> 69 </span> <span class="PreProc">var</span> pg: paginated-screen +<span id="L70" class="LineNr"> 70 </span> <span class="PreProc">var</span> pg-addr/<span class="Constant">ecx</span>: (addr paginated-screen) <span class="SpecialChar"><-</span> address pg +<span id="L71" class="LineNr"> 71 </span> initialize-fake-paginated-screen pg-addr, <span class="Constant">3</span>, <span class="Constant">6</span>, <span class="Constant">2</span>, <span class="Constant">1</span>, <span class="Constant">1</span> <span class="Comment"># 3 rows, 6 columns, 2 pages * 2 columns each</span> +<span id="L72" class="LineNr"> 72 </span> <span class="Comment">#</span> +<span id="L73" class="LineNr"> 73 </span> <a href='main.mu.html#L57'>render</a> pg-addr, in +<span id="L74" class="LineNr"> 74 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> pg, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L75" class="LineNr"> 75 </span> <span class="PreProc">var</span> <a href='../../405screen.mu.html#L9'>screen</a>/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L76" class="LineNr"> 76 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">1</span>, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='main.mu.html#L62'>test-render-multicolumn-text</a>/row1"</span> +<span id="L77" class="LineNr"> 77 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">2</span>, <span class="Constant">" ab ef"</span>, <span class="Constant">"F - <a href='main.mu.html#L62'>test-render-multicolumn-text</a>/row2"</span> +<span id="L78" class="LineNr"> 78 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">3</span>, <span class="Constant">" cd gh"</span>, <span class="Constant">"F - <a href='main.mu.html#L62'>test-render-multicolumn-text</a>/row3"</span> +<span id="L79" class="LineNr"> 79 </span><span class="Delimiter">}</span> +<span id="L80" class="LineNr"> 80 </span> +<span id="L81" class="LineNr"> 81 </span><span class="PreProc">fn</span> <span class="muTest"><a href='main.mu.html#L81'>test-render-heading-text</a></span> <span class="Delimiter">{</span> +<span id="L82" class="LineNr"> 82 </span> <span class="Comment"># input text</span> +<span id="L83" class="LineNr"> 83 </span> <span class="PreProc">var</span> input-storage: (handle buffered-file) +<span id="L84" class="LineNr"> 84 </span> <span class="PreProc">var</span> input-ah/<span class="Constant">eax</span>: (addr handle buffered-file) <span class="SpecialChar"><-</span> address input-storage +<span id="L85" class="LineNr"> 85 </span> <a href='../../306files.subx.html#L73'>populate-buffered-file-containing</a> <span class="Constant">"# abc\n\ndef"</span>, input-ah +<span id="L86" class="LineNr"> 86 </span> <span class="PreProc">var</span> in/<span class="Constant">eax</span>: (addr buffered-file) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> input-storage +<span id="L87" class="LineNr"> 87 </span> <span class="Comment"># output screen</span> +<span id="L88" class="LineNr"> 88 </span> <span class="PreProc">var</span> pg: paginated-screen +<span id="L89" class="LineNr"> 89 </span> <span class="PreProc">var</span> pg-addr/<span class="Constant">ecx</span>: (addr paginated-screen) <span class="SpecialChar"><-</span> address pg +<span id="L90" class="LineNr"> 90 </span> initialize-fake-paginated-screen pg-addr, <span class="Constant">8</span>, <span class="Constant">6</span>, <span class="Constant">5</span>, <span class="Constant">1</span>, <span class="Constant">1</span> <span class="Comment"># 6 columns, single page</span> +<span id="L91" class="LineNr"> 91 </span> <span class="Comment">#</span> +<span id="L92" class="LineNr"> 92 </span> <a href='main.mu.html#L57'>render</a> pg-addr, in +<span id="L93" class="LineNr"> 93 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> pg, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L94" class="LineNr"> 94 </span> <span class="PreProc">var</span> <a href='../../405screen.mu.html#L9'>screen</a>/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L95" class="LineNr"> 95 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">1</span>, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='main.mu.html#L81'>test-render-heading-text</a>/row1"</span> +<span id="L96" class="LineNr"> 96 </span> <a href='../../405screen.mu.html#L657'>check-screen-row-in-color</a> <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">0xa0</span>, <span class="Constant">2</span>, <span class="Constant">" abc "</span>, <span class="Constant">"F - <a href='main.mu.html#L81'>test-render-heading-text</a>/heading"</span> +<span id="L97" class="LineNr"> 97 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">3</span>, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='main.mu.html#L81'>test-render-heading-text</a>/row3"</span> +<span id="L98" class="LineNr"> 98 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">4</span>, <span class="Constant">" def "</span>, <span class="Constant">"F - <a href='main.mu.html#L81'>test-render-heading-text</a>/row4"</span> +<span id="L99" class="LineNr"> 99 </span><span class="Delimiter">}</span> +<span id="L100" class="LineNr">100 </span> +<span id="L101" class="LineNr">101 </span><span class="PreProc">fn</span> <span class="muTest"><a href='main.mu.html#L101'>test-render-bold-text</a></span> <span class="Delimiter">{</span> +<span id="L102" class="LineNr">102 </span> <span class="Comment"># input text</span> +<span id="L103" class="LineNr">103 </span> <span class="PreProc">var</span> input-storage: (handle buffered-file) +<span id="L104" class="LineNr">104 </span> <span class="PreProc">var</span> input-ah/<span class="Constant">eax</span>: (addr handle buffered-file) <span class="SpecialChar"><-</span> address input-storage +<span id="L105" class="LineNr">105 </span> <a href='../../306files.subx.html#L73'>populate-buffered-file-containing</a> <span class="Constant">"a *b* c"</span>, input-ah +<span id="L106" class="LineNr">106 </span> <span class="PreProc">var</span> in/<span class="Constant">eax</span>: (addr buffered-file) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> input-storage +<span id="L107" class="LineNr">107 </span> <span class="Comment"># output screen</span> +<span id="L108" class="LineNr">108 </span> <span class="PreProc">var</span> pg: paginated-screen +<span id="L109" class="LineNr">109 </span> <span class="PreProc">var</span> pg-addr/<span class="Constant">ecx</span>: (addr paginated-screen) <span class="SpecialChar"><-</span> address pg +<span id="L110" class="LineNr">110 </span> initialize-fake-paginated-screen pg-addr, <span class="Constant">8</span>, <span class="Constant">6</span>, <span class="Constant">5</span>, <span class="Constant">1</span>, <span class="Constant">1</span> <span class="Comment"># 6 columns, single page</span> +<span id="L111" class="LineNr">111 </span> <span class="Comment">#</span> +<span id="L112" class="LineNr">112 </span> <a href='main.mu.html#L57'>render</a> pg-addr, in +<span id="L113" class="LineNr">113 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> pg, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L114" class="LineNr">114 </span> <span class="PreProc">var</span> <a href='../../405screen.mu.html#L9'>screen</a>/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L115" class="LineNr">115 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">2</span>, <span class="Constant">" a b c"</span>, <span class="Constant">"F - <a href='main.mu.html#L101'>test-render-bold-text</a>/text"</span> +<span id="L116" class="LineNr">116 </span> <a href='../../405screen.mu.html#L829'>check-screen-row-in-bold</a> <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">2</span>, <span class="Constant">" b "</span>, <span class="Constant">"F - <a href='main.mu.html#L101'>test-render-bold-text</a>/bold"</span> +<span id="L117" class="LineNr">117 </span><span class="Delimiter">}</span> +<span id="L118" class="LineNr">118 </span> +<span id="L119" class="LineNr">119 </span><span class="Comment"># terminals don't always support italics, so we'll just always render italics</span> +<span id="L120" class="LineNr">120 </span><span class="Comment"># as bold.</span> +<span id="L121" class="LineNr">121 </span><span class="PreProc">fn</span> <span class="muTest"><a href='main.mu.html#L121'>test-render-pseudoitalic-text</a></span> <span class="Delimiter">{</span> +<span id="L122" class="LineNr">122 </span> <span class="Comment"># input text</span> +<span id="L123" class="LineNr">123 </span> <span class="PreProc">var</span> input-storage: (handle buffered-file) +<span id="L124" class="LineNr">124 </span> <span class="PreProc">var</span> input-ah/<span class="Constant">eax</span>: (addr handle buffered-file) <span class="SpecialChar"><-</span> address input-storage +<span id="L125" class="LineNr">125 </span> <a href='../../306files.subx.html#L73'>populate-buffered-file-containing</a> <span class="Constant">"a _b_ c"</span>, input-ah +<span id="L126" class="LineNr">126 </span> <span class="PreProc">var</span> in/<span class="Constant">eax</span>: (addr buffered-file) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> input-storage +<span id="L127" class="LineNr">127 </span> <span class="Comment"># output screen</span> +<span id="L128" class="LineNr">128 </span> <span class="PreProc">var</span> pg: paginated-screen +<span id="L129" class="LineNr">129 </span> <span class="PreProc">var</span> pg-addr/<span class="Constant">ecx</span>: (addr paginated-screen) <span class="SpecialChar"><-</span> address pg +<span id="L130" class="LineNr">130 </span> initialize-fake-paginated-screen pg-addr, <span class="Constant">8</span>, <span class="Constant">6</span>, <span class="Constant">5</span>, <span class="Constant">1</span>, <span class="Constant">1</span> <span class="Comment"># 6 columns, single page</span> +<span id="L131" class="LineNr">131 </span> <span class="Comment">#</span> +<span id="L132" class="LineNr">132 </span> <a href='main.mu.html#L57'>render</a> pg-addr, in +<span id="L133" class="LineNr">133 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> pg, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L134" class="LineNr">134 </span> <span class="PreProc">var</span> <a href='../../405screen.mu.html#L9'>screen</a>/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L135" class="LineNr">135 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">2</span>, <span class="Constant">" a b c"</span>, <span class="Constant">"F - <a href='main.mu.html#L121'>test-render-pseudoitalic-text</a>/text"</span> +<span id="L136" class="LineNr">136 </span> <a href='../../405screen.mu.html#L829'>check-screen-row-in-bold</a> <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">2</span>, <span class="Constant">" b "</span>, <span class="Constant">"F - <a href='main.mu.html#L121'>test-render-pseudoitalic-text</a>/bold"</span> +<span id="L137" class="LineNr">137 </span><span class="Delimiter">}</span> +<span id="L138" class="LineNr">138 </span> +<span id="L139" class="LineNr">139 </span><span class="PreProc">fn</span> <span class="muTest"><a href='main.mu.html#L139'>test-render-asterisk-in-text</a></span> <span class="Delimiter">{</span> +<span id="L140" class="LineNr">140 </span> <span class="Comment"># input text</span> +<span id="L141" class="LineNr">141 </span> <span class="PreProc">var</span> input-storage: (handle buffered-file) +<span id="L142" class="LineNr">142 </span> <span class="PreProc">var</span> input-ah/<span class="Constant">eax</span>: (addr handle buffered-file) <span class="SpecialChar"><-</span> address input-storage +<span id="L143" class="LineNr">143 </span> <a href='../../306files.subx.html#L73'>populate-buffered-file-containing</a> <span class="Constant">"a*b*c"</span>, input-ah +<span id="L144" class="LineNr">144 </span> <span class="PreProc">var</span> in/<span class="Constant">eax</span>: (addr buffered-file) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> input-storage +<span id="L145" class="LineNr">145 </span> <span class="Comment"># output screen</span> +<span id="L146" class="LineNr">146 </span> <span class="PreProc">var</span> pg: paginated-screen +<span id="L147" class="LineNr">147 </span> <span class="PreProc">var</span> pg-addr/<span class="Constant">ecx</span>: (addr paginated-screen) <span class="SpecialChar"><-</span> address pg +<span id="L148" class="LineNr">148 </span> initialize-fake-paginated-screen pg-addr, <span class="Constant">8</span>, <span class="Constant">6</span>, <span class="Constant">5</span>, <span class="Constant">1</span>, <span class="Constant">1</span> <span class="Comment"># 6 columns, single page</span> +<span id="L149" class="LineNr">149 </span> <span class="Comment">#</span> +<span id="L150" class="LineNr">150 </span> <a href='main.mu.html#L57'>render</a> pg-addr, in +<span id="L151" class="LineNr">151 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> pg, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L152" class="LineNr">152 </span> <span class="PreProc">var</span> <a href='../../405screen.mu.html#L9'>screen</a>/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L153" class="LineNr">153 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">2</span>, <span class="Constant">" a*b*c"</span>, <span class="Constant">"F - <a href='main.mu.html#L101'>test-render-bold-text</a>/text"</span> +<span id="L154" class="LineNr">154 </span> <a href='../../405screen.mu.html#L829'>check-screen-row-in-bold</a> <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">2</span>, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='main.mu.html#L101'>test-render-bold-text</a>/bold"</span> +<span id="L155" class="LineNr">155 </span><span class="Delimiter">}</span> +<span id="L156" class="LineNr">156 </span> +<span id="L157" class="LineNr">157 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='main.mu.html#L157'>render-normal</a></span> <a href='../../405screen.mu.html#L9'>screen</a>: (addr paginated-screen), fs: (addr buffered-file) <span class="Delimiter">{</span> +<span id="L158" class="LineNr">158 </span> <span class="PreProc">var</span> newline-seen?/<span class="Constant">esi</span>: boolean <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> <span class="Comment"># false</span> +<span id="L159" class="LineNr">159 </span> <span class="PreProc">var</span> start-of-paragraph?/<span class="Constant">edi</span>: boolean <span class="SpecialChar"><-</span> copy <span class="Constant">1</span> <span class="Comment"># true</span> +<span id="L160" class="LineNr">160 </span> <span class="PreProc">var</span> previous-grapheme/<span class="Constant">ebx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> +<span id="L161" class="LineNr">161 </span>$render-normal:<span class="PreProc">loop</span>: <span class="Delimiter">{</span> +<span id="L162" class="LineNr">162 </span> <span class="Comment"># if done-drawing?(screen) break</span> +<span id="L163" class="LineNr">163 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> done-drawing? <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L164" class="LineNr">164 </span> compare done?, <span class="Constant">0</span> <span class="Comment"># false</span> +<span id="L165" class="LineNr">165 </span> <span class="PreProc">break-if-!=</span> +<span id="L166" class="LineNr">166 </span> <span class="PreProc">var</span> c/<span class="Constant">eax</span>: grapheme <span class="SpecialChar"><-</span> <a href='../../403unicode.mu.html#L256'>read-grapheme-buffered</a> fs +<span id="L167" class="LineNr">167 </span>$render-normal:loop-body: <span class="Delimiter">{</span> +<span id="L168" class="LineNr">168 </span> <span class="Comment"># if (c == EOF) break</span> +<span id="L169" class="LineNr">169 </span> compare c, <span class="Constant">0xffffffff</span> <span class="Comment"># EOF marker</span> +<span id="L170" class="LineNr">170 </span> <span class="PreProc">break-if-=</span> $render-normal:<span class="PreProc">loop</span> +<span id="L171" class="LineNr">171 </span> +<span id="L172" class="LineNr">172 </span> <span class="SalientComment">## if (c == newline) perform some fairly sophisticated parsing for soft newlines</span> +<span id="L173" class="LineNr">173 </span> compare c, <span class="Constant">0xa</span> <span class="Comment"># newline</span> +<span id="L174" class="LineNr">174 </span> <span class="Delimiter">{</span> +<span id="L175" class="LineNr">175 </span> <span class="PreProc">break-if-!=</span> +<span id="L176" class="LineNr">176 </span> <span class="Comment"># if it's the first newline, buffer it</span> +<span id="L177" class="LineNr">177 </span> compare newline-seen?, <span class="Constant">0</span> +<span id="L178" class="LineNr">178 </span> <span class="Delimiter">{</span> +<span id="L179" class="LineNr">179 </span> <span class="PreProc">break-if-!=</span> +<span id="L180" class="LineNr">180 </span> newline-seen? <span class="SpecialChar"><-</span> copy <span class="Constant">1</span> <span class="Comment"># true</span> +<span id="L181" class="LineNr">181 </span> <span class="PreProc">break</span> $render-normal:loop-body +<span id="L182" class="LineNr">182 </span> <span class="Delimiter">}</span> +<span id="L183" class="LineNr">183 </span> <span class="Comment"># otherwise render two newlines</span> +<span id="L184" class="LineNr">184 </span> <span class="Delimiter">{</span> +<span id="L185" class="LineNr">185 </span> <span class="PreProc">break-if-=</span> +<span id="L186" class="LineNr">186 </span> add-grapheme <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">0xa</span> <span class="Comment"># newline</span> +<span id="L187" class="LineNr">187 </span> add-grapheme <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">0xa</span> <span class="Comment"># newline</span> +<span id="L188" class="LineNr">188 </span> newline-seen? <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> <span class="Comment"># false</span> +<span id="L189" class="LineNr">189 </span> start-of-paragraph? <span class="SpecialChar"><-</span> copy <span class="Constant">1</span> <span class="Comment"># true</span> +<span id="L190" class="LineNr">190 </span> <span class="PreProc">break</span> $render-normal:loop-body +<span id="L191" class="LineNr">191 </span> <span class="Delimiter">}</span> +<span id="L192" class="LineNr">192 </span> <span class="Delimiter">}</span> +<span id="L193" class="LineNr">193 </span> <span class="Comment"># if start of paragraph and c == '#', switch to header</span> +<span id="L194" class="LineNr">194 </span> compare start-of-paragraph?, <span class="Constant">0</span> +<span id="L195" class="LineNr">195 </span> <span class="Delimiter">{</span> +<span id="L196" class="LineNr">196 </span> <span class="PreProc">break-if-=</span> +<span id="L197" class="LineNr">197 </span> compare c, <span class="Constant">0x23</span> <span class="Comment"># '#'</span> +<span id="L198" class="LineNr">198 </span> <span class="Delimiter">{</span> +<span id="L199" class="LineNr">199 </span> <span class="PreProc">break-if-!=</span> +<span id="L200" class="LineNr">200 </span> <a href='main.mu.html#L267'>render-header-line</a> <a href='../../405screen.mu.html#L9'>screen</a>, fs +<span id="L201" class="LineNr">201 </span> newline-seen? <span class="SpecialChar"><-</span> copy <span class="Constant">1</span> <span class="Comment"># true</span> +<span id="L202" class="LineNr">202 </span> <span class="PreProc">break</span> $render-normal:loop-body +<span id="L203" class="LineNr">203 </span> <span class="Delimiter">}</span> +<span id="L204" class="LineNr">204 </span> <span class="Delimiter">}</span> +<span id="L205" class="LineNr">205 </span> <span class="Comment"># c is not a newline</span> +<span id="L206" class="LineNr">206 </span> start-of-paragraph? <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> <span class="Comment"># false</span> +<span id="L207" class="LineNr">207 </span> <span class="Comment"># if c is unprintable (particularly a '\r' CR), skip it</span> +<span id="L208" class="LineNr">208 </span> compare c, <span class="Constant">0x20</span> +<span id="L209" class="LineNr">209 </span> <span class="PreProc">loop-if-<</span> $render-normal:<span class="PreProc">loop</span> +<span id="L210" class="LineNr">210 </span> <span class="Comment"># If there's a newline buffered and c is a space, print the buffered</span> +<span id="L211" class="LineNr">211 </span> <span class="Comment"># newline (hard newline).</span> +<span id="L212" class="LineNr">212 </span> <span class="Comment"># If there's a newline buffered and c is not a newline or space, print a</span> +<span id="L213" class="LineNr">213 </span> <span class="Comment"># space (soft newline).</span> +<span id="L214" class="LineNr">214 </span> compare newline-seen?, <span class="Constant">0</span> <span class="Comment"># false</span> +<span id="L215" class="LineNr">215 </span>$render-normal:flush-buffered-newline: <span class="Delimiter">{</span> +<span id="L216" class="LineNr">216 </span> <span class="PreProc">break-if-=</span> +<span id="L217" class="LineNr">217 </span> newline-seen? <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> <span class="Comment"># false</span> +<span id="L218" class="LineNr">218 </span> <span class="Delimiter">{</span> +<span id="L219" class="LineNr">219 </span> compare c, <span class="Constant">0x20</span> +<span id="L220" class="LineNr">220 </span> <span class="PreProc">break-if-!=</span> +<span id="L221" class="LineNr">221 </span> add-grapheme <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">0xa</span> <span class="Comment"># newline</span> +<span id="L222" class="LineNr">222 </span> <span class="PreProc">break</span> $render-normal:flush-buffered-newline +<span id="L223" class="LineNr">223 </span> <span class="Delimiter">}</span> +<span id="L224" class="LineNr">224 </span> add-grapheme <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">0x20</span> <span class="Comment"># space</span> +<span id="L225" class="LineNr">225 </span> <span class="Comment"># fall through to print c</span> +<span id="L226" class="LineNr">226 </span> <span class="Delimiter">}</span> +<span id="L227" class="LineNr">227 </span> <span class="SalientComment">## end soft newline support</span> +<span id="L228" class="LineNr">228 </span> +<span id="L229" class="LineNr">229 </span>$render-normal:whitespace-separated-regions: <span class="Delimiter">{</span> +<span id="L230" class="LineNr">230 </span> <span class="Comment"># if previous-grapheme wasn't whitespace, skip this block</span> +<span id="L231" class="LineNr">231 </span> <span class="Delimiter">{</span> +<span id="L232" class="LineNr">232 </span> compare previous-grapheme, <span class="Constant">0x20</span> <span class="Comment"># space</span> +<span id="L233" class="LineNr">233 </span> <span class="PreProc">break-if-=</span> +<span id="L234" class="LineNr">234 </span> compare previous-grapheme, <span class="Constant">0xa</span> <span class="Comment"># newline</span> +<span id="L235" class="LineNr">235 </span> <span class="PreProc">break-if-=</span> +<span id="L236" class="LineNr">236 </span> <span class="PreProc">break</span> $render-normal:whitespace-separated-regions +<span id="L237" class="LineNr">237 </span> <span class="Delimiter">}</span> +<span id="L238" class="LineNr">238 </span> <span class="Comment"># if (c == '*') switch to bold</span> +<span id="L239" class="LineNr">239 </span> compare c, <span class="Constant">0x2a</span> <span class="Comment"># '*'</span> +<span id="L240" class="LineNr">240 </span> <span class="Delimiter">{</span> +<span id="L241" class="LineNr">241 </span> <span class="PreProc">break-if-!=</span> +<span id="L242" class="LineNr">242 </span> start-color-on-paginated-screen <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">0xec</span>, <span class="Constant">7</span> <span class="Comment"># 236 = darkish gray</span> +<span id="L243" class="LineNr">243 </span> start-bold-on-paginated-screen <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L244" class="LineNr">244 </span> <a href='main.mu.html#L346'>render-until-asterisk</a> <a href='../../405screen.mu.html#L9'>screen</a>, fs +<span id="L245" class="LineNr">245 </span> <a href='main.mu.html#L394'>normal-text</a> <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L246" class="LineNr">246 </span> <span class="PreProc">break</span> $render-normal:loop-body +<span id="L247" class="LineNr">247 </span> <span class="Delimiter">}</span> +<span id="L248" class="LineNr">248 </span> <span class="Comment"># if (c == '_') switch to bold</span> +<span id="L249" class="LineNr">249 </span> compare c, <span class="Constant">0x5f</span> <span class="Comment"># '_'</span> +<span id="L250" class="LineNr">250 </span> <span class="Delimiter">{</span> +<span id="L251" class="LineNr">251 </span> <span class="PreProc">break-if-!=</span> +<span id="L252" class="LineNr">252 </span> start-color-on-paginated-screen <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">0xec</span>, <span class="Constant">7</span> <span class="Comment"># 236 = darkish gray</span> +<span id="L253" class="LineNr">253 </span> start-bold-on-paginated-screen <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L254" class="LineNr">254 </span> <a href='main.mu.html#L367'>render-until-underscore</a> <a href='../../405screen.mu.html#L9'>screen</a>, fs +<span id="L255" class="LineNr">255 </span> <a href='main.mu.html#L394'>normal-text</a> <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L256" class="LineNr">256 </span> <span class="PreProc">break</span> $render-normal:loop-body +<span id="L257" class="LineNr">257 </span> <span class="Delimiter">}</span> +<span id="L258" class="LineNr">258 </span> <span class="Delimiter">}</span> +<span id="L259" class="LineNr">259 </span> <span class="Comment">#</span> +<span id="L260" class="LineNr">260 </span> add-grapheme <a href='../../405screen.mu.html#L9'>screen</a>, c +<span id="L261" class="LineNr">261 </span> <span class="Delimiter">}</span> <span class="Comment"># $render-normal:loop-body</span> +<span id="L262" class="LineNr">262 </span> previous-grapheme <span class="SpecialChar"><-</span> copy c +<span id="L263" class="LineNr">263 </span> <span class="PreProc">loop</span> +<span id="L264" class="LineNr">264 </span> <span class="Delimiter">}</span> <span class="Comment"># $render-normal:loop</span> +<span id="L265" class="LineNr">265 </span><span class="Delimiter">}</span> +<span id="L266" class="LineNr">266 </span> +<span id="L267" class="LineNr">267 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='main.mu.html#L267'>render-header-line</a></span> <a href='../../405screen.mu.html#L9'>screen</a>: (addr paginated-screen), fs: (addr buffered-file) <span class="Delimiter">{</span> +<span id="L268" class="LineNr">268 </span>$render-header-line:body: <span class="Delimiter">{</span> +<span id="L269" class="LineNr">269 </span> <span class="Comment"># compute color based on number of '#'s</span> +<span id="L270" class="LineNr">270 </span> <span class="PreProc">var</span> header-level/<span class="Constant">esi</span>: int <span class="SpecialChar"><-</span> copy <span class="Constant">1</span> <span class="Comment"># caller already grabbed one</span> +<span id="L271" class="LineNr">271 </span> <span class="PreProc">var</span> c/<span class="Constant">eax</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> +<span id="L272" class="LineNr">272 </span> <span class="Delimiter">{</span> +<span id="L273" class="LineNr">273 </span> <span class="Comment"># if done-drawing?(screen) return</span> +<span id="L274" class="LineNr">274 </span> <span class="Delimiter">{</span> +<span id="L275" class="LineNr">275 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> done-drawing? <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L276" class="LineNr">276 </span> compare done?, <span class="Constant">0</span> <span class="Comment"># false</span> +<span id="L277" class="LineNr">277 </span> <span class="PreProc">break-if-!=</span> $render-header-line:body +<span id="L278" class="LineNr">278 </span> <span class="Delimiter">}</span> +<span id="L279" class="LineNr">279 </span> <span class="Comment">#</span> +<span id="L280" class="LineNr">280 </span> c <span class="SpecialChar"><-</span> <a href='../../403unicode.mu.html#L256'>read-grapheme-buffered</a> fs +<span id="L281" class="LineNr">281 </span> <span class="Comment"># if (c != '#') break</span> +<span id="L282" class="LineNr">282 </span> compare c, <span class="Constant">0x23</span> <span class="Comment"># '#'</span> +<span id="L283" class="LineNr">283 </span> <span class="PreProc">break-if-!=</span> +<span id="L284" class="LineNr">284 </span> <span class="Comment">#</span> +<span id="L285" class="LineNr">285 </span> header-level <span class="SpecialChar"><-</span> increment +<span id="L286" class="LineNr">286 </span> <span class="Comment">#</span> +<span id="L287" class="LineNr">287 </span> <span class="PreProc">loop</span> +<span id="L288" class="LineNr">288 </span> <span class="Delimiter">}</span> +<span id="L289" class="LineNr">289 </span> <a href='main.mu.html#L315'>start-heading</a> <a href='../../405screen.mu.html#L9'>screen</a>, header-level +<span id="L290" class="LineNr">290 </span> <span class="Delimiter">{</span> +<span id="L291" class="LineNr">291 </span> <span class="Comment"># if done-drawing?(screen) break</span> +<span id="L292" class="LineNr">292 </span> <span class="Delimiter">{</span> +<span id="L293" class="LineNr">293 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> done-drawing? <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L294" class="LineNr">294 </span> compare done?, <span class="Constant">0</span> <span class="Comment"># false</span> +<span id="L295" class="LineNr">295 </span> <span class="PreProc">break-if-!=</span> +<span id="L296" class="LineNr">296 </span> <span class="Delimiter">}</span> +<span id="L297" class="LineNr">297 </span> <span class="Comment">#</span> +<span id="L298" class="LineNr">298 </span> c <span class="SpecialChar"><-</span> <a href='../../403unicode.mu.html#L256'>read-grapheme-buffered</a> fs +<span id="L299" class="LineNr">299 </span> <span class="Comment"># if (c == EOF) break</span> +<span id="L300" class="LineNr">300 </span> compare c, <span class="Constant">0xffffffff</span> <span class="Comment"># EOF marker</span> +<span id="L301" class="LineNr">301 </span> <span class="PreProc">break-if-=</span> +<span id="L302" class="LineNr">302 </span> <span class="Comment"># if (c == newline) break</span> +<span id="L303" class="LineNr">303 </span> compare c, <span class="Constant">0xa</span> <span class="Comment"># newline</span> +<span id="L304" class="LineNr">304 </span> <span class="PreProc">break-if-=</span> +<span id="L305" class="LineNr">305 </span> <span class="Comment">#</span> +<span id="L306" class="LineNr">306 </span> add-grapheme <a href='../../405screen.mu.html#L9'>screen</a>, c +<span id="L307" class="LineNr">307 </span> <span class="Comment">#</span> +<span id="L308" class="LineNr">308 </span> <span class="PreProc">loop</span> +<span id="L309" class="LineNr">309 </span> <span class="Delimiter">}</span> +<span id="L310" class="LineNr">310 </span> <a href='main.mu.html#L394'>normal-text</a> <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L311" class="LineNr">311 </span><span class="Delimiter">}</span> +<span id="L312" class="LineNr">312 </span><span class="Delimiter">}</span> +<span id="L313" class="LineNr">313 </span> +<span id="L314" class="LineNr">314 </span><span class="Comment"># colors for a light background, going from bright to dark (meeting up with bold-text)</span> +<span id="L315" class="LineNr">315 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='main.mu.html#L315'>start-heading</a></span> <a href='../../405screen.mu.html#L9'>screen</a>: (addr paginated-screen), header-level: int <span class="Delimiter">{</span> +<span id="L316" class="LineNr">316 </span>$start-heading:body: <span class="Delimiter">{</span> +<span id="L317" class="LineNr">317 </span> start-bold-on-paginated-screen <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L318" class="LineNr">318 </span> compare header-level, <span class="Constant">1</span> +<span id="L319" class="LineNr">319 </span> <span class="Delimiter">{</span> +<span id="L320" class="LineNr">320 </span> <span class="PreProc">break-if-!=</span> +<span id="L321" class="LineNr">321 </span> start-color-on-paginated-screen <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">0xa0</span>, <span class="Constant">7</span> +<span id="L322" class="LineNr">322 </span> <span class="PreProc">break</span> $start-heading:body +<span id="L323" class="LineNr">323 </span> <span class="Delimiter">}</span> +<span id="L324" class="LineNr">324 </span> compare header-level, <span class="Constant">2</span> +<span id="L325" class="LineNr">325 </span> <span class="Delimiter">{</span> +<span id="L326" class="LineNr">326 </span> <span class="PreProc">break-if-!=</span> +<span id="L327" class="LineNr">327 </span> start-color-on-paginated-screen <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">0x7c</span>, <span class="Constant">7</span> +<span id="L328" class="LineNr">328 </span> <span class="PreProc">break</span> $start-heading:body +<span id="L329" class="LineNr">329 </span> <span class="Delimiter">}</span> +<span id="L330" class="LineNr">330 </span> compare header-level, <span class="Constant">3</span> +<span id="L331" class="LineNr">331 </span> <span class="Delimiter">{</span> +<span id="L332" class="LineNr">332 </span> <span class="PreProc">break-if-!=</span> +<span id="L333" class="LineNr">333 </span> start-color-on-paginated-screen <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">0x58</span>, <span class="Constant">7</span> +<span id="L334" class="LineNr">334 </span> <span class="PreProc">break</span> $start-heading:body +<span id="L335" class="LineNr">335 </span> <span class="Delimiter">}</span> +<span id="L336" class="LineNr">336 </span> compare header-level, <span class="Constant">4</span> +<span id="L337" class="LineNr">337 </span> <span class="Delimiter">{</span> +<span id="L338" class="LineNr">338 </span> <span class="PreProc">break-if-!=</span> +<span id="L339" class="LineNr">339 </span> start-color-on-paginated-screen <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">0x34</span>, <span class="Constant">7</span> +<span id="L340" class="LineNr">340 </span> <span class="PreProc">break</span> $start-heading:body +<span id="L341" class="LineNr">341 </span> <span class="Delimiter">}</span> +<span id="L342" class="LineNr">342 </span> start-color-on-paginated-screen <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">0xe8</span>, <span class="Constant">7</span> +<span id="L343" class="LineNr">343 </span><span class="Delimiter">}</span> +<span id="L344" class="LineNr">344 </span><span class="Delimiter">}</span> +<span id="L345" class="LineNr">345 </span> +<span id="L346" class="LineNr">346 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='main.mu.html#L346'>render-until-asterisk</a></span> <a href='../../405screen.mu.html#L9'>screen</a>: (addr paginated-screen), fs: (addr buffered-file) <span class="Delimiter">{</span> +<span id="L347" class="LineNr">347 </span> <span class="Delimiter">{</span> +<span id="L348" class="LineNr">348 </span> <span class="Comment"># if done-drawing?(screen) break</span> +<span id="L349" class="LineNr">349 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> done-drawing? <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L350" class="LineNr">350 </span> compare done?, <span class="Constant">0</span> <span class="Comment"># false</span> +<span id="L351" class="LineNr">351 </span> <span class="PreProc">break-if-!=</span> +<span id="L352" class="LineNr">352 </span> <span class="Comment">#</span> +<span id="L353" class="LineNr">353 </span> <span class="PreProc">var</span> c/<span class="Constant">eax</span>: grapheme <span class="SpecialChar"><-</span> <a href='../../403unicode.mu.html#L256'>read-grapheme-buffered</a> fs +<span id="L354" class="LineNr">354 </span> <span class="Comment"># if (c == EOF) break</span> +<span id="L355" class="LineNr">355 </span> compare c, <span class="Constant">0xffffffff</span> <span class="Comment"># EOF marker</span> +<span id="L356" class="LineNr">356 </span> <span class="PreProc">break-if-=</span> +<span id="L357" class="LineNr">357 </span> <span class="Comment"># if (c == '*') break</span> +<span id="L358" class="LineNr">358 </span> compare c, <span class="Constant">0x2a</span> <span class="Comment"># '*'</span> +<span id="L359" class="LineNr">359 </span> <span class="PreProc">break-if-=</span> +<span id="L360" class="LineNr">360 </span> <span class="Comment">#</span> +<span id="L361" class="LineNr">361 </span> add-grapheme <a href='../../405screen.mu.html#L9'>screen</a>, c +<span id="L362" class="LineNr">362 </span> <span class="Comment">#</span> +<span id="L363" class="LineNr">363 </span> <span class="PreProc">loop</span> +<span id="L364" class="LineNr">364 </span> <span class="Delimiter">}</span> +<span id="L365" class="LineNr">365 </span><span class="Delimiter">}</span> +<span id="L366" class="LineNr">366 </span> +<span id="L367" class="LineNr">367 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='main.mu.html#L367'>render-until-underscore</a></span> <a href='../../405screen.mu.html#L9'>screen</a>: (addr paginated-screen), fs: (addr buffered-file) <span class="Delimiter">{</span> +<span id="L368" class="LineNr">368 </span> <span class="Delimiter">{</span> +<span id="L369" class="LineNr">369 </span> <span class="Comment"># if done-drawing?(screen) break</span> +<span id="L370" class="LineNr">370 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> done-drawing? <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L371" class="LineNr">371 </span> compare done?, <span class="Constant">0</span> <span class="Comment"># false</span> +<span id="L372" class="LineNr">372 </span> <span class="PreProc">break-if-!=</span> +<span id="L373" class="LineNr">373 </span> <span class="Comment">#</span> +<span id="L374" class="LineNr">374 </span> <span class="PreProc">var</span> c/<span class="Constant">eax</span>: grapheme <span class="SpecialChar"><-</span> <a href='../../403unicode.mu.html#L256'>read-grapheme-buffered</a> fs +<span id="L375" class="LineNr">375 </span> <span class="Comment"># if (c == EOF) break</span> +<span id="L376" class="LineNr">376 </span> compare c, <span class="Constant">0xffffffff</span> <span class="Comment"># EOF marker</span> +<span id="L377" class="LineNr">377 </span> <span class="PreProc">break-if-=</span> +<span id="L378" class="LineNr">378 </span> <span class="Comment"># if (c == '_') break</span> +<span id="L379" class="LineNr">379 </span> compare c, <span class="Constant">0x5f</span> <span class="Comment"># '_'</span> +<span id="L380" class="LineNr">380 </span> <span class="PreProc">break-if-=</span> +<span id="L381" class="LineNr">381 </span> <span class="Comment">#</span> +<span id="L382" class="LineNr">382 </span> add-grapheme <a href='../../405screen.mu.html#L9'>screen</a>, c +<span id="L383" class="LineNr">383 </span> <span class="Comment">#</span> +<span id="L384" class="LineNr">384 </span> <span class="PreProc">loop</span> +<span id="L385" class="LineNr">385 </span> <span class="Delimiter">}</span> +<span id="L386" class="LineNr">386 </span><span class="Delimiter">}</span> +<span id="L387" class="LineNr">387 </span> +<span id="L388" class="LineNr">388 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='main.mu.html#L388'>first-arg</a></span> args-on-stack: (addr array addr array byte)<span class="PreProc"> -> </span>out/<span class="Constant">eax</span>: (addr array byte) <span class="Delimiter">{</span> +<span id="L389" class="LineNr">389 </span> <span class="PreProc">var</span> args/<span class="Constant">eax</span>: (addr array addr array byte) <span class="SpecialChar"><-</span> copy args-on-stack +<span id="L390" class="LineNr">390 </span> <span class="PreProc">var</span> result/<span class="Constant">eax</span>: (addr addr array byte) <span class="SpecialChar"><-</span> index args, <span class="Constant">1</span> +<span id="L391" class="LineNr">391 </span> out <span class="SpecialChar"><-</span> copy *result +<span id="L392" class="LineNr">392 </span><span class="Delimiter">}</span> +<span id="L393" class="LineNr">393 </span> +<span id="L394" class="LineNr">394 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='main.mu.html#L394'>normal-text</a></span> <a href='../../405screen.mu.html#L9'>screen</a>: (addr paginated-screen) <span class="Delimiter">{</span> +<span id="L395" class="LineNr">395 </span> reset-formatting-on-paginated-screen <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L396" class="LineNr">396 </span> start-color-on-paginated-screen <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">0xec</span>, <span class="Constant">7</span> <span class="Comment"># 236 = darkish gray</span> +<span id="L397" class="LineNr">397 </span><span class="Delimiter">}</span> +</pre> +</body> +</html> +<!-- vim: set foldmethod=manual : --> diff --git a/html/apps/browse/paginated-screen.mu.html b/html/apps/browse/paginated-screen.mu.html new file mode 100644 index 00000000..d2ec0b7f --- /dev/null +++ b/html/apps/browse/paginated-screen.mu.html @@ -0,0 +1,733 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> +<html> +<head> +<meta http-equiv="content-type" content="text/html; charset=UTF-8"> +<title>Mu - apps/browse/paginated-screen.mu</title> +<meta name="Generator" content="Vim/8.1"> +<meta name="plugin-version" content="vim8.1_v1"> +<meta name="syntax" content="none"> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> +<meta name="colorscheme" content="minimal-light"> +<style type="text/css"> +<!-- +pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #c6c6c6; } +body { font-size:12pt; font-family: monospace; color: #000000; background-color: #c6c6c6; } +a { color:inherit; } +* { font-size:12pt; font-size: 1em; } +.CommentedCode { color: #8a8a8a; } +.muTest { color: #5f8700; } +.LineNr { } +.muFunction { color: #af5f00; text-decoration: underline; } +.SpecialChar { color: #d70000; } +.Comment { color: #005faf; } +.Delimiter { color: #c000c0; } +.Constant { color: #008787; } +.PreProc { color: #c000c0; } +.SalientComment { color: #0000af; } +--> +</style> + +<script type='text/javascript'> +<!-- + +/* function to open any folds containing a jumped-to line before jumping to it */ +function JumpToLine() +{ + var lineNum; + lineNum = window.location.hash; + lineNum = lineNum.substr(1); /* strip off '#' */ + + if (lineNum.indexOf('L') == -1) { + lineNum = 'L'+lineNum; + } + var lineElem = document.getElementById(lineNum); + /* Always jump to new location even if the line was hidden inside a fold, or + * we corrected the raw number to a line ID. + */ + if (lineElem) { + lineElem.scrollIntoView(true); + } + return true; +} +if ('onhashchange' in window) { + window.onhashchange = JumpToLine; +} + +--> +</script> +</head> +<body onload='JumpToLine();'> +<a href='https://github.com/akkartik/mu/blob/master/apps/browse/paginated-screen.mu'>https://github.com/akkartik/mu/blob/master/apps/browse/paginated-screen.mu</a> +<pre id='vimCodeElement'> +<span id="L1" class="LineNr"> 1 </span><span class="Comment"># If a screen is too wide, split it up into a fixed size of pages.</span> +<span id="L2" class="LineNr"> 2 </span><span class="Comment"># We take control of drawing and moving the cursor, and delegate everything else.</span> +<span id="L3" class="LineNr"> 3 </span><span class="Comment"># Never scroll; use the 'done-drawing?' method instead.</span> +<span id="L4" class="LineNr"> 4 </span><span class="Comment">#</span> +<span id="L5" class="LineNr"> 5 </span><span class="Comment"># Example usage:</span> +<span id="L6" class="LineNr"> 6 </span><span class="Comment"># initialize-paginated-screen</span> +<span id="L7" class="LineNr"> 7 </span><span class="Comment"># on each frame</span> +<span id="L8" class="LineNr"> 8 </span><span class="Comment"># start-drawing</span> +<span id="L9" class="LineNr"> 9 </span><span class="Comment"># while !done-drawing</span> +<span id="L10" class="LineNr"> 10 </span><span class="Comment"># add-grapheme ...</span> +<span id="L11" class="LineNr"> 11 </span> +<span id="L12" class="LineNr"> 12 </span><span class="PreProc">type</span> <a href='paginated-screen.mu.html#L12'>paginated-screen</a> <span class="Delimiter">{</span> +<span id="L13" class="LineNr"> 13 </span> <a href='../../405screen.mu.html#L9'>screen</a>: (handle <a href='../../405screen.mu.html#L9'>screen</a>) +<span id="L14" class="LineNr"> 14 </span> nrows: int <span class="Comment"># const</span> +<span id="L15" class="LineNr"> 15 </span> ncols: int <span class="Comment"># const</span> +<span id="L16" class="LineNr"> 16 </span> page-width: int +<span id="L17" class="LineNr"> 17 </span> top-margin: int +<span id="L18" class="LineNr"> 18 </span> left-margin: int +<span id="L19" class="LineNr"> 19 </span> <span class="Comment"># page bounds</span> +<span id="L20" class="LineNr"> 20 </span> toprow: int +<span id="L21" class="LineNr"> 21 </span> botrow: int <span class="Comment"># (inclusive)</span> +<span id="L22" class="LineNr"> 22 </span> leftcol: int +<span id="L23" class="LineNr"> 23 </span> rightcol: int <span class="Comment"># (exclusive)</span> +<span id="L24" class="LineNr"> 24 </span> <span class="Comment"># current cursor position</span> +<span id="L25" class="LineNr"> 25 </span> row: int +<span id="L26" class="LineNr"> 26 </span> col: int +<span id="L27" class="LineNr"> 27 </span><span class="Delimiter">}</span> +<span id="L28" class="LineNr"> 28 </span> +<span id="L29" class="LineNr"> 29 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='paginated-screen.mu.html#L29'>initialize-paginated-screen</a></span> _self: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>), page-width: int, top-margin: int, left-margin: int <span class="Delimiter">{</span> +<span id="L30" class="LineNr"> 30 </span> <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> copy _self +<span id="L31" class="LineNr"> 31 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L32" class="LineNr"> 32 </span> <span class="PreProc">var</span> _screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L33" class="LineNr"> 33 </span> <span class="PreProc">var</span> screen-addr/<span class="Constant">edi</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> copy _screen-addr +<span id="L34" class="LineNr"> 34 </span> <span class="PreProc">var</span> nrows/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> +<span id="L35" class="LineNr"> 35 </span> <span class="PreProc">var</span> ncols/<span class="Constant">ecx</span>: int <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> +<span id="L36" class="LineNr"> 36 </span> nrows, ncols <span class="SpecialChar"><-</span> <a href='../../405screen.mu.html#L60'>screen-size</a> screen-addr +<span id="L37" class="LineNr"> 37 </span> <span class="PreProc">var</span> dest/<span class="Constant">edx</span>: (addr int) <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> +<span id="L38" class="LineNr"> 38 </span> <span class="Comment"># self->nrows = nrows</span> +<span id="L39" class="LineNr"> 39 </span> dest <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, nrows +<span id="L40" class="LineNr"> 40 </span> copy-to *dest, nrows +<span id="L41" class="LineNr"> 41 </span> <span class="Comment"># self->ncols = ncols</span> +<span id="L42" class="LineNr"> 42 </span> dest <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, ncols +<span id="L43" class="LineNr"> 43 </span> copy-to *dest, ncols +<span id="L44" class="LineNr"> 44 </span> <span class="Comment"># self->page-width = page-width</span> +<span id="L45" class="LineNr"> 45 </span> <span class="Delimiter">{</span> +<span id="L46" class="LineNr"> 46 </span> <span class="PreProc">var</span> tmp/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy page-width +<span id="L47" class="LineNr"> 47 </span> dest <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, page-width +<span id="L48" class="LineNr"> 48 </span> copy-to *dest, tmp +<span id="L49" class="LineNr"> 49 </span> <span class="Delimiter">}</span> +<span id="L50" class="LineNr"> 50 </span> <span class="Comment"># self->top-margin = top-margin</span> +<span id="L51" class="LineNr"> 51 </span> <span class="Delimiter">{</span> +<span id="L52" class="LineNr"> 52 </span> <span class="PreProc">var</span> tmp/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy top-margin +<span id="L53" class="LineNr"> 53 </span> dest <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, top-margin +<span id="L54" class="LineNr"> 54 </span> copy-to *dest, tmp +<span id="L55" class="LineNr"> 55 </span> <span class="Delimiter">}</span> +<span id="L56" class="LineNr"> 56 </span> <span class="Comment"># self->left-margin = left-margin</span> +<span id="L57" class="LineNr"> 57 </span> <span class="Delimiter">{</span> +<span id="L58" class="LineNr"> 58 </span> <span class="PreProc">var</span> tmp/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy left-margin +<span id="L59" class="LineNr"> 59 </span> dest <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, left-margin +<span id="L60" class="LineNr"> 60 </span> copy-to *dest, tmp +<span id="L61" class="LineNr"> 61 </span> <span class="Delimiter">}</span> +<span id="L62" class="LineNr"> 62 </span> <span class="Comment"># self->toprow = 1 + top-margin</span> +<span id="L63" class="LineNr"> 63 </span> <span class="Delimiter">{</span> +<span id="L64" class="LineNr"> 64 </span> <span class="PreProc">var</span> tmp/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy top-margin +<span id="L65" class="LineNr"> 65 </span> dest <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, toprow +<span id="L66" class="LineNr"> 66 </span> copy-to *dest, <span class="Constant">1</span> +<span id="L67" class="LineNr"> 67 </span> add-to *dest, tmp +<span id="L68" class="LineNr"> 68 </span> <span class="Delimiter">}</span> +<span id="L69" class="LineNr"> 69 </span> <span class="Comment"># self->botrow = nrows</span> +<span id="L70" class="LineNr"> 70 </span> <span class="Delimiter">{</span> +<span id="L71" class="LineNr"> 71 </span> dest <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, botrow +<span id="L72" class="LineNr"> 72 </span> copy-to *dest, nrows +<span id="L73" class="LineNr"> 73 </span> <span class="Delimiter">}</span> +<span id="L74" class="LineNr"> 74 </span> <span class="Comment">#</span> +<span id="L75" class="LineNr"> 75 </span> <a href='paginated-screen.mu.html#L78'>start-drawing</a> self +<span id="L76" class="LineNr"> 76 </span><span class="Delimiter">}</span> +<span id="L77" class="LineNr"> 77 </span> +<span id="L78" class="LineNr"> 78 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='paginated-screen.mu.html#L78'>start-drawing</a></span> _self: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="Delimiter">{</span> +<span id="L79" class="LineNr"> 79 </span> <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> copy _self +<span id="L80" class="LineNr"> 80 </span> <a href='paginated-screen.mu.html#L550'>clear-paginated-screen</a> self +<span id="L81" class="LineNr"> 81 </span> <span class="PreProc">var</span> tmp/<span class="Constant">eax</span>: (addr int) <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> +<span id="L82" class="LineNr"> 82 </span> <span class="PreProc">var</span> tmp2/<span class="Constant">ecx</span>: int <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> +<span id="L83" class="LineNr"> 83 </span> <span class="Comment"># self->leftcol = 1 + left-margin</span> +<span id="L84" class="LineNr"> 84 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, left-margin +<span id="L85" class="LineNr"> 85 </span> tmp2 <span class="SpecialChar"><-</span> copy *tmp +<span id="L86" class="LineNr"> 86 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, leftcol +<span id="L87" class="LineNr"> 87 </span> copy-to *tmp, <span class="Constant">1</span> +<span id="L88" class="LineNr"> 88 </span> add-to *tmp, tmp2 +<span id="L89" class="LineNr"> 89 </span><span class="CommentedCode">#? print-string-to-real-screen "start: left column: "</span> +<span id="L90" class="LineNr"> 90 </span><span class="CommentedCode">#? print-int32-hex-to-real-screen *tmp</span> +<span id="L91" class="LineNr"> 91 </span> <span class="Comment"># self->rightcol = min(ncols+1, self->leftcol + page-width)</span> +<span id="L92" class="LineNr"> 92 </span> <span class="Comment"># . tmp2 = self->leftcol + page-width</span> +<span id="L93" class="LineNr"> 93 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, page-width +<span id="L94" class="LineNr"> 94 </span> tmp2 <span class="SpecialChar"><-</span> copy *tmp +<span id="L95" class="LineNr"> 95 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, leftcol +<span id="L96" class="LineNr"> 96 </span> tmp2 <span class="SpecialChar"><-</span> add *tmp +<span id="L97" class="LineNr"> 97 </span> <span class="Comment"># . if (tmp2 > ncols+1) tmp2 = ncols+1</span> +<span id="L98" class="LineNr"> 98 </span> <span class="Delimiter">{</span> +<span id="L99" class="LineNr"> 99 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, ncols +<span id="L100" class="LineNr">100 </span> compare tmp2, *tmp +<span id="L101" class="LineNr">101 </span> <span class="PreProc">break-if-<=</span> +<span id="L102" class="LineNr">102 </span> tmp2 <span class="SpecialChar"><-</span> copy *tmp +<span id="L103" class="LineNr">103 </span> tmp2 <span class="SpecialChar"><-</span> increment +<span id="L104" class="LineNr">104 </span> <span class="Delimiter">}</span> +<span id="L105" class="LineNr">105 </span> <span class="Comment"># . self->rightcol = tmp2</span> +<span id="L106" class="LineNr">106 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, rightcol +<span id="L107" class="LineNr">107 </span> copy-to *tmp, tmp2 +<span id="L108" class="LineNr">108 </span><span class="CommentedCode">#? print-string-to-real-screen "; right column: "</span> +<span id="L109" class="LineNr">109 </span><span class="CommentedCode">#? print-int32-hex-to-real-screen *tmp</span> +<span id="L110" class="LineNr">110 </span><span class="CommentedCode">#? print-string-to-real-screen "\n"</span> +<span id="L111" class="LineNr">111 </span> <span class="Comment"># self->row = self->toprow</span> +<span id="L112" class="LineNr">112 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, toprow +<span id="L113" class="LineNr">113 </span> tmp2 <span class="SpecialChar"><-</span> copy *tmp +<span id="L114" class="LineNr">114 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, row +<span id="L115" class="LineNr">115 </span> copy-to *tmp, tmp2 +<span id="L116" class="LineNr">116 </span> <span class="Comment"># self->col = self->leftcol</span> +<span id="L117" class="LineNr">117 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, leftcol +<span id="L118" class="LineNr">118 </span> tmp2 <span class="SpecialChar"><-</span> copy *tmp +<span id="L119" class="LineNr">119 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, col +<span id="L120" class="LineNr">120 </span> copy-to *tmp, tmp2 +<span id="L121" class="LineNr">121 </span> <span class="Comment">#</span> +<span id="L122" class="LineNr">122 </span> <a href='paginated-screen.mu.html#L536'>reposition-cursor</a> self +<span id="L123" class="LineNr">123 </span><span class="Delimiter">}</span> +<span id="L124" class="LineNr">124 </span> +<span id="L125" class="LineNr">125 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='paginated-screen.mu.html#L125'>done-drawing?</a></span> _self: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>)<span class="PreProc"> -> </span>result/<span class="Constant">eax</span>: boolean <span class="Delimiter">{</span> +<span id="L126" class="LineNr">126 </span>$done-drawing?:body: <span class="Delimiter">{</span> +<span id="L127" class="LineNr">127 </span> <span class="Comment"># if (self->leftcol == left-margin + 1) return false</span> +<span id="L128" class="LineNr">128 </span> <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> copy _self +<span id="L129" class="LineNr">129 </span> <span class="PreProc">var</span> tmp/<span class="Constant">eax</span>: (addr int) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, left-margin +<span id="L130" class="LineNr">130 </span> <span class="PreProc">var</span> first-col/<span class="Constant">ecx</span>: int <span class="SpecialChar"><-</span> copy *tmp +<span id="L131" class="LineNr">131 </span> first-col <span class="SpecialChar"><-</span> increment +<span id="L132" class="LineNr">132 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, leftcol +<span id="L133" class="LineNr">133 </span> $done-drawing:first-page?: <span class="Delimiter">{</span> +<span id="L134" class="LineNr">134 </span> compare first-col, *tmp +<span id="L135" class="LineNr">135 </span> <span class="PreProc">break-if-!=</span> +<span id="L136" class="LineNr">136 </span> result <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> +<span id="L137" class="LineNr">137 </span> <span class="PreProc">break</span> $done-drawing?:body +<span id="L138" class="LineNr">138 </span> <span class="Delimiter">}</span> +<span id="L139" class="LineNr">139 </span> <span class="Comment"># return self->rightcol > self->ncols + 1</span> +<span id="L140" class="LineNr">140 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, ncols +<span id="L141" class="LineNr">141 </span> <span class="PreProc">var</span> max/<span class="Constant">ecx</span>: int <span class="SpecialChar"><-</span> copy *tmp +<span id="L142" class="LineNr">142 </span> max <span class="SpecialChar"><-</span> increment +<span id="L143" class="LineNr">143 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, rightcol +<span id="L144" class="LineNr">144 </span><span class="CommentedCode">#? print-string-to-real-screen "done-drawing? "</span> +<span id="L145" class="LineNr">145 </span><span class="CommentedCode">#? print-int32-hex-to-real-screen *tmp</span> +<span id="L146" class="LineNr">146 </span><span class="CommentedCode">#? print-string-to-real-screen " vs "</span> +<span id="L147" class="LineNr">147 </span><span class="CommentedCode">#? print-int32-hex-to-real-screen max</span> +<span id="L148" class="LineNr">148 </span><span class="CommentedCode">#? print-string-to-real-screen "\n"</span> +<span id="L149" class="LineNr">149 </span> compare *tmp, max +<span id="L150" class="LineNr">150 </span> <span class="Delimiter">{</span> +<span id="L151" class="LineNr">151 </span> <span class="PreProc">break-if-></span> +<span id="L152" class="LineNr">152 </span> result <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> <span class="Comment"># false</span> +<span id="L153" class="LineNr">153 </span> <span class="PreProc">break</span> $done-drawing?:body +<span id="L154" class="LineNr">154 </span> <span class="Delimiter">}</span> +<span id="L155" class="LineNr">155 </span> <span class="Delimiter">{</span> +<span id="L156" class="LineNr">156 </span> <span class="PreProc">break-if-<=</span> +<span id="L157" class="LineNr">157 </span> result <span class="SpecialChar"><-</span> copy <span class="Constant">1</span> <span class="Comment"># true</span> +<span id="L158" class="LineNr">158 </span> <span class="Delimiter">}</span> +<span id="L159" class="LineNr">159 </span><span class="Delimiter">}</span> +<span id="L160" class="LineNr">160 </span><span class="Delimiter">}</span> +<span id="L161" class="LineNr">161 </span> +<span id="L162" class="LineNr">162 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='paginated-screen.mu.html#L162'>add-grapheme</a></span> _self: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>), c: grapheme <span class="Delimiter">{</span> +<span id="L163" class="LineNr">163 </span><span class="CommentedCode">#? print-string-to-real-screen "add-grapheme: "</span> +<span id="L164" class="LineNr">164 </span><span class="CommentedCode">#? print-grapheme-to-real-screen c</span> +<span id="L165" class="LineNr">165 </span><span class="CommentedCode">#? print-string-to-real-screen "\n"</span> +<span id="L166" class="LineNr">166 </span>$add-grapheme:body: <span class="Delimiter">{</span> +<span id="L167" class="LineNr">167 </span> <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> copy _self +<span id="L168" class="LineNr">168 </span> <span class="Delimiter">{</span> +<span id="L169" class="LineNr">169 </span> compare c, <span class="Constant">0xa</span> <span class="Comment"># newline</span> +<span id="L170" class="LineNr">170 </span> <span class="PreProc">break-if-!=</span> +<span id="L171" class="LineNr">171 </span> <a href='paginated-screen.mu.html#L601'>next-line</a> self +<span id="L172" class="LineNr">172 </span> <a href='paginated-screen.mu.html#L536'>reposition-cursor</a> self +<span id="L173" class="LineNr">173 </span> <span class="PreProc">break</span> $add-grapheme:body +<span id="L174" class="LineNr">174 </span> <span class="Delimiter">}</span> +<span id="L175" class="LineNr">175 </span> <span class="Comment"># print c</span> +<span id="L176" class="LineNr">176 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L177" class="LineNr">177 </span> <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L178" class="LineNr">178 </span> <a href='../../405screen.mu.html#L206'>print-grapheme</a> screen-addr, c +<span id="L179" class="LineNr">179 </span> <span class="Comment"># self->col++</span> +<span id="L180" class="LineNr">180 </span> <span class="PreProc">var</span> tmp/<span class="Constant">eax</span>: (addr int) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, col +<span id="L181" class="LineNr">181 </span> increment *tmp +<span id="L182" class="LineNr">182 </span> <span class="Comment"># if (self->col > self->rightcol) next-line(self)</span> +<span id="L183" class="LineNr">183 </span> <span class="PreProc">var</span> tmp2/<span class="Constant">ecx</span>: int <span class="SpecialChar"><-</span> copy *tmp +<span id="L184" class="LineNr">184 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, rightcol +<span id="L185" class="LineNr">185 </span> compare tmp2, *tmp +<span id="L186" class="LineNr">186 </span> <span class="Delimiter">{</span> +<span id="L187" class="LineNr">187 </span> <span class="PreProc">break-if-<</span> +<span id="L188" class="LineNr">188 </span> <a href='paginated-screen.mu.html#L601'>next-line</a> self +<span id="L189" class="LineNr">189 </span> <a href='paginated-screen.mu.html#L536'>reposition-cursor</a> self +<span id="L190" class="LineNr">190 </span> <span class="Delimiter">}</span> +<span id="L191" class="LineNr">191 </span><span class="Delimiter">}</span> +<span id="L192" class="LineNr">192 </span><span class="Delimiter">}</span> +<span id="L193" class="LineNr">193 </span> +<span id="L194" class="LineNr">194 </span><span class="SalientComment">## tests</span> +<span id="L195" class="LineNr">195 </span> +<span id="L196" class="LineNr">196 </span><span class="PreProc">fn</span> <span class="muTest"><a href='paginated-screen.mu.html#L196'>test-print-grapheme-on-paginated-screen</a></span> <span class="Delimiter">{</span> +<span id="L197" class="LineNr">197 </span> <span class="PreProc">var</span> pg-on-stack: <a href='paginated-screen.mu.html#L12'>paginated-screen</a> +<span id="L198" class="LineNr">198 </span> <span class="PreProc">var</span> pg/<span class="Constant">eax</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> address pg-on-stack +<span id="L199" class="LineNr">199 </span> <a href='paginated-screen.mu.html#L525'>initialize-fake-paginated-screen</a> pg, <span class="Constant">3</span>, <span class="Constant">0xa</span>, <span class="Constant">0xa</span>, <span class="Constant">0</span>, <span class="Constant">0</span> +<span id="L200" class="LineNr">200 </span> <a href='paginated-screen.mu.html#L78'>start-drawing</a> pg +<span id="L201" class="LineNr">201 </span> <span class="Delimiter">{</span> +<span id="L202" class="LineNr">202 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x61</span> <span class="Comment"># 'a'</span> +<span id="L203" class="LineNr">203 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L204" class="LineNr">204 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L205" class="LineNr">205 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L206" class="LineNr">206 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L196'>test-print-grapheme-on-paginated-screen</a>/done"</span> +<span id="L207" class="LineNr">207 </span> <span class="Delimiter">}</span> +<span id="L208" class="LineNr">208 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> pg, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L209" class="LineNr">209 </span> <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L210" class="LineNr">210 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> screen-addr, <span class="Constant">1</span>, <span class="Constant">"a"</span>, <span class="Constant">"F - test-print-grapheme-on-paginated-screen"</span> +<span id="L211" class="LineNr">211 </span><span class="Delimiter">}</span> +<span id="L212" class="LineNr">212 </span> +<span id="L213" class="LineNr">213 </span><span class="PreProc">fn</span> <span class="muTest"><a href='paginated-screen.mu.html#L213'>test-print-single-page</a></span> <span class="Delimiter">{</span> +<span id="L214" class="LineNr">214 </span> <span class="PreProc">var</span> pg-on-stack: <a href='paginated-screen.mu.html#L12'>paginated-screen</a> +<span id="L215" class="LineNr">215 </span> <span class="PreProc">var</span> pg/<span class="Constant">eax</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> address pg-on-stack +<span id="L216" class="LineNr">216 </span> <a href='paginated-screen.mu.html#L525'>initialize-fake-paginated-screen</a> pg, <span class="Constant">2</span>, <span class="Constant">4</span>, <span class="Constant">2</span>, <span class="Constant">0</span>, <span class="Constant">0</span> <span class="Comment"># 2 rows, 4 columns, 2 pages * 2 columns each</span> +<span id="L217" class="LineNr">217 </span> <a href='paginated-screen.mu.html#L78'>start-drawing</a> pg +<span id="L218" class="LineNr">218 </span> <span class="Comment"># pages at columns [1, 3), [3, 5)</span> +<span id="L219" class="LineNr">219 </span> <span class="Delimiter">{</span> +<span id="L220" class="LineNr">220 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x61</span> <span class="Comment"># 'a'</span> +<span id="L221" class="LineNr">221 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L222" class="LineNr">222 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L223" class="LineNr">223 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L224" class="LineNr">224 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L213'>test-print-single-page</a>/done-1"</span> +<span id="L225" class="LineNr">225 </span> <span class="Delimiter">}</span> +<span id="L226" class="LineNr">226 </span> <span class="Delimiter">{</span> +<span id="L227" class="LineNr">227 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x62</span> <span class="Comment"># 'b'</span> +<span id="L228" class="LineNr">228 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L229" class="LineNr">229 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L230" class="LineNr">230 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L231" class="LineNr">231 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L213'>test-print-single-page</a>/done-2"</span> +<span id="L232" class="LineNr">232 </span> <span class="Delimiter">}</span> +<span id="L233" class="LineNr">233 </span> <span class="Delimiter">{</span> +<span id="L234" class="LineNr">234 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x63</span> <span class="Comment"># 'c'</span> +<span id="L235" class="LineNr">235 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L236" class="LineNr">236 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L237" class="LineNr">237 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L238" class="LineNr">238 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L213'>test-print-single-page</a>/done-3"</span> +<span id="L239" class="LineNr">239 </span> <span class="Delimiter">}</span> +<span id="L240" class="LineNr">240 </span> <span class="Delimiter">{</span> +<span id="L241" class="LineNr">241 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x64</span> <span class="Comment"># 'd'</span> +<span id="L242" class="LineNr">242 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L243" class="LineNr">243 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L244" class="LineNr">244 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L245" class="LineNr">245 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L213'>test-print-single-page</a>/done-4"</span> +<span id="L246" class="LineNr">246 </span> <span class="Delimiter">}</span> +<span id="L247" class="LineNr">247 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> pg, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L248" class="LineNr">248 </span> <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L249" class="LineNr">249 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> screen-addr, <span class="Constant">1</span>, <span class="Constant">"ab "</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L213'>test-print-single-page</a>/row1"</span> +<span id="L250" class="LineNr">250 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> screen-addr, <span class="Constant">2</span>, <span class="Constant">"cd "</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L213'>test-print-single-page</a>/row2"</span> +<span id="L251" class="LineNr">251 </span> <span class="Comment"># currently it's hard-coded that we avoid printing to the bottom-most row of the screen</span> +<span id="L252" class="LineNr">252 </span><span class="Delimiter">}</span> +<span id="L253" class="LineNr">253 </span> +<span id="L254" class="LineNr">254 </span><span class="PreProc">fn</span> <span class="muTest"><a href='paginated-screen.mu.html#L254'>test-print-single-page-narrower-than-page-width</a></span> <span class="Delimiter">{</span> +<span id="L255" class="LineNr">255 </span> <span class="PreProc">var</span> pg-on-stack: <a href='paginated-screen.mu.html#L12'>paginated-screen</a> +<span id="L256" class="LineNr">256 </span> <span class="PreProc">var</span> pg/<span class="Constant">eax</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> address pg-on-stack +<span id="L257" class="LineNr">257 </span> <a href='paginated-screen.mu.html#L525'>initialize-fake-paginated-screen</a> pg, <span class="Constant">2</span>, <span class="Constant">4</span>, <span class="Constant">5</span>, <span class="Constant">0</span>, <span class="Constant">0</span> <span class="Comment"># 2 rows, 4 columns, 5-column pages</span> +<span id="L258" class="LineNr">258 </span> <a href='paginated-screen.mu.html#L78'>start-drawing</a> pg +<span id="L259" class="LineNr">259 </span> <span class="Delimiter">{</span> +<span id="L260" class="LineNr">260 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x61</span> <span class="Comment"># 'a'</span> +<span id="L261" class="LineNr">261 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L262" class="LineNr">262 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L263" class="LineNr">263 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L264" class="LineNr">264 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L254'>test-print-single-page-narrower-than-page-width</a>/done-1"</span> +<span id="L265" class="LineNr">265 </span> <span class="Delimiter">}</span> +<span id="L266" class="LineNr">266 </span> <span class="Delimiter">{</span> +<span id="L267" class="LineNr">267 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x62</span> <span class="Comment"># 'b'</span> +<span id="L268" class="LineNr">268 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L269" class="LineNr">269 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L270" class="LineNr">270 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L271" class="LineNr">271 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L254'>test-print-single-page-narrower-than-page-width</a>/done-2"</span> +<span id="L272" class="LineNr">272 </span> <span class="Delimiter">}</span> +<span id="L273" class="LineNr">273 </span> <span class="Delimiter">{</span> +<span id="L274" class="LineNr">274 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x63</span> <span class="Comment"># 'c'</span> +<span id="L275" class="LineNr">275 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L276" class="LineNr">276 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L277" class="LineNr">277 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L278" class="LineNr">278 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L254'>test-print-single-page-narrower-than-page-width</a>/done-3"</span> +<span id="L279" class="LineNr">279 </span> <span class="Delimiter">}</span> +<span id="L280" class="LineNr">280 </span> <span class="Delimiter">{</span> +<span id="L281" class="LineNr">281 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x64</span> <span class="Comment"># 'd'</span> +<span id="L282" class="LineNr">282 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L283" class="LineNr">283 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L284" class="LineNr">284 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L285" class="LineNr">285 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L254'>test-print-single-page-narrower-than-page-width</a>/done-4"</span> +<span id="L286" class="LineNr">286 </span> <span class="Delimiter">}</span> +<span id="L287" class="LineNr">287 </span> <span class="Delimiter">{</span> +<span id="L288" class="LineNr">288 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x65</span> <span class="Comment"># 'e'</span> +<span id="L289" class="LineNr">289 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L290" class="LineNr">290 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L291" class="LineNr">291 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L292" class="LineNr">292 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L254'>test-print-single-page-narrower-than-page-width</a>/done-5"</span> +<span id="L293" class="LineNr">293 </span> <span class="Delimiter">}</span> +<span id="L294" class="LineNr">294 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> pg, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L295" class="LineNr">295 </span> <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L296" class="LineNr">296 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> screen-addr, <span class="Constant">1</span>, <span class="Constant">"abcd"</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L254'>test-print-single-page-narrower-than-page-width</a>/row1"</span> +<span id="L297" class="LineNr">297 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> screen-addr, <span class="Constant">2</span>, <span class="Constant">"e "</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L254'>test-print-single-page-narrower-than-page-width</a>/row2"</span> +<span id="L298" class="LineNr">298 </span> <span class="Comment"># currently it's hard-coded that we avoid printing to the bottom-most row of the screen</span> +<span id="L299" class="LineNr">299 </span><span class="Delimiter">}</span> +<span id="L300" class="LineNr">300 </span> +<span id="L301" class="LineNr">301 </span><span class="PreProc">fn</span> <span class="muTest"><a href='paginated-screen.mu.html#L301'>test-print-single-page-narrower-than-page-width-with-margin</a></span> <span class="Delimiter">{</span> +<span id="L302" class="LineNr">302 </span> <span class="PreProc">var</span> pg-on-stack: <a href='paginated-screen.mu.html#L12'>paginated-screen</a> +<span id="L303" class="LineNr">303 </span> <span class="PreProc">var</span> pg/<span class="Constant">eax</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> address pg-on-stack +<span id="L304" class="LineNr">304 </span> <a href='paginated-screen.mu.html#L525'>initialize-fake-paginated-screen</a> pg, <span class="Constant">2</span>, <span class="Constant">4</span>, <span class="Constant">5</span>, <span class="Constant">0</span>, <span class="Constant">1</span> <span class="Comment"># 2 rows, 4 columns, 5-column pages, left margin</span> +<span id="L305" class="LineNr">305 </span> <a href='paginated-screen.mu.html#L78'>start-drawing</a> pg +<span id="L306" class="LineNr">306 </span> <span class="Delimiter">{</span> +<span id="L307" class="LineNr">307 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x61</span> <span class="Comment"># 'a'</span> +<span id="L308" class="LineNr">308 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L309" class="LineNr">309 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L310" class="LineNr">310 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L311" class="LineNr">311 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L301'>test-print-single-page-narrower-than-page-width-with-margin</a>/done-1"</span> +<span id="L312" class="LineNr">312 </span> <span class="Delimiter">}</span> +<span id="L313" class="LineNr">313 </span> <span class="Delimiter">{</span> +<span id="L314" class="LineNr">314 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x62</span> <span class="Comment"># 'b'</span> +<span id="L315" class="LineNr">315 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L316" class="LineNr">316 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L317" class="LineNr">317 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L318" class="LineNr">318 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L301'>test-print-single-page-narrower-than-page-width-with-margin</a>/done-2"</span> +<span id="L319" class="LineNr">319 </span> <span class="Delimiter">}</span> +<span id="L320" class="LineNr">320 </span> <span class="Delimiter">{</span> +<span id="L321" class="LineNr">321 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x63</span> <span class="Comment"># 'c'</span> +<span id="L322" class="LineNr">322 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L323" class="LineNr">323 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L324" class="LineNr">324 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L325" class="LineNr">325 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L301'>test-print-single-page-narrower-than-page-width-with-margin</a>/done-3"</span> +<span id="L326" class="LineNr">326 </span> <span class="Delimiter">}</span> +<span id="L327" class="LineNr">327 </span> <span class="Delimiter">{</span> +<span id="L328" class="LineNr">328 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x64</span> <span class="Comment"># 'd'</span> +<span id="L329" class="LineNr">329 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L330" class="LineNr">330 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L331" class="LineNr">331 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L332" class="LineNr">332 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L301'>test-print-single-page-narrower-than-page-width-with-margin</a>/done-4"</span> +<span id="L333" class="LineNr">333 </span> <span class="Delimiter">}</span> +<span id="L334" class="LineNr">334 </span> <span class="Delimiter">{</span> +<span id="L335" class="LineNr">335 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x65</span> <span class="Comment"># 'e'</span> +<span id="L336" class="LineNr">336 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L337" class="LineNr">337 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L338" class="LineNr">338 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L339" class="LineNr">339 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L301'>test-print-single-page-narrower-than-page-width-with-margin</a>/done-5"</span> +<span id="L340" class="LineNr">340 </span> <span class="Delimiter">}</span> +<span id="L341" class="LineNr">341 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> pg, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L342" class="LineNr">342 </span> <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L343" class="LineNr">343 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> screen-addr, <span class="Constant">1</span>, <span class="Constant">" abc"</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L301'>test-print-single-page-narrower-than-page-width-with-margin</a>/row1"</span> +<span id="L344" class="LineNr">344 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> screen-addr, <span class="Constant">2</span>, <span class="Constant">" de "</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L301'>test-print-single-page-narrower-than-page-width-with-margin</a>/row2"</span> +<span id="L345" class="LineNr">345 </span> <span class="Comment"># currently it's hard-coded that we avoid printing to the bottom-most row of the screen</span> +<span id="L346" class="LineNr">346 </span><span class="Delimiter">}</span> +<span id="L347" class="LineNr">347 </span> +<span id="L348" class="LineNr">348 </span><span class="PreProc">fn</span> <span class="muTest"><a href='paginated-screen.mu.html#L348'>test-print-multiple-pages</a></span> <span class="Delimiter">{</span> +<span id="L349" class="LineNr">349 </span> <span class="PreProc">var</span> pg-on-stack: <a href='paginated-screen.mu.html#L12'>paginated-screen</a> +<span id="L350" class="LineNr">350 </span> <span class="PreProc">var</span> pg/<span class="Constant">eax</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> address pg-on-stack +<span id="L351" class="LineNr">351 </span> <a href='paginated-screen.mu.html#L525'>initialize-fake-paginated-screen</a> pg, <span class="Constant">2</span>, <span class="Constant">2</span>, <span class="Constant">1</span>, <span class="Constant">0</span>, <span class="Constant">0</span> <span class="Comment"># 2 rows, 2 columns, 2 pages * 1 column each</span> +<span id="L352" class="LineNr">352 </span> <a href='paginated-screen.mu.html#L78'>start-drawing</a> pg +<span id="L353" class="LineNr">353 </span> <span class="Delimiter">{</span> +<span id="L354" class="LineNr">354 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x61</span> <span class="Comment"># 'a'</span> +<span id="L355" class="LineNr">355 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L356" class="LineNr">356 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L357" class="LineNr">357 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L358" class="LineNr">358 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L348'>test-print-multiple-pages</a>/done-1"</span> +<span id="L359" class="LineNr">359 </span> <span class="Delimiter">}</span> +<span id="L360" class="LineNr">360 </span> <span class="Delimiter">{</span> +<span id="L361" class="LineNr">361 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x62</span> <span class="Comment"># 'b'</span> +<span id="L362" class="LineNr">362 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L363" class="LineNr">363 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L364" class="LineNr">364 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L365" class="LineNr">365 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L348'>test-print-multiple-pages</a>/done-2"</span> +<span id="L366" class="LineNr">366 </span> <span class="Delimiter">}</span> +<span id="L367" class="LineNr">367 </span> <span class="Delimiter">{</span> +<span id="L368" class="LineNr">368 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x63</span> <span class="Comment"># 'c'</span> +<span id="L369" class="LineNr">369 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L370" class="LineNr">370 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L371" class="LineNr">371 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L372" class="LineNr">372 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L348'>test-print-multiple-pages</a>/done-3"</span> +<span id="L373" class="LineNr">373 </span> <span class="Delimiter">}</span> +<span id="L374" class="LineNr">374 </span> <span class="Delimiter">{</span> +<span id="L375" class="LineNr">375 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x64</span> <span class="Comment"># 'd'</span> +<span id="L376" class="LineNr">376 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L377" class="LineNr">377 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L378" class="LineNr">378 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L379" class="LineNr">379 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">1</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L348'>test-print-multiple-pages</a>/done-4"</span> +<span id="L380" class="LineNr">380 </span> <span class="Delimiter">}</span> +<span id="L381" class="LineNr">381 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> pg, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L382" class="LineNr">382 </span> <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L383" class="LineNr">383 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> screen-addr, <span class="Constant">1</span>, <span class="Constant">"ac"</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L348'>test-print-multiple-pages</a>/row1"</span> +<span id="L384" class="LineNr">384 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> screen-addr, <span class="Constant">2</span>, <span class="Constant">"bd"</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L348'>test-print-multiple-pages</a>/row2"</span> +<span id="L385" class="LineNr">385 </span> <span class="Comment"># currently it's hard-coded that we avoid printing to the bottom-most row of the screen</span> +<span id="L386" class="LineNr">386 </span><span class="Delimiter">}</span> +<span id="L387" class="LineNr">387 </span> +<span id="L388" class="LineNr">388 </span><span class="PreProc">fn</span> <span class="muTest"><a href='paginated-screen.mu.html#L388'>test-print-multiple-pages-2</a></span> <span class="Delimiter">{</span> +<span id="L389" class="LineNr">389 </span> <span class="PreProc">var</span> pg-on-stack: <a href='paginated-screen.mu.html#L12'>paginated-screen</a> +<span id="L390" class="LineNr">390 </span> <span class="PreProc">var</span> pg/<span class="Constant">eax</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> address pg-on-stack +<span id="L391" class="LineNr">391 </span> <a href='paginated-screen.mu.html#L525'>initialize-fake-paginated-screen</a> pg, <span class="Constant">2</span>, <span class="Constant">4</span>, <span class="Constant">2</span>, <span class="Constant">0</span>, <span class="Constant">0</span> <span class="Comment"># 2 rows, 4 columns, 2 pages * 2 columns each</span> +<span id="L392" class="LineNr">392 </span> <a href='paginated-screen.mu.html#L78'>start-drawing</a> pg +<span id="L393" class="LineNr">393 </span> <span class="Delimiter">{</span> +<span id="L394" class="LineNr">394 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x61</span> <span class="Comment"># 'a'</span> +<span id="L395" class="LineNr">395 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L396" class="LineNr">396 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L397" class="LineNr">397 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L398" class="LineNr">398 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L388'>test-print-multiple-pages-2</a>/done-1"</span> +<span id="L399" class="LineNr">399 </span> <span class="Delimiter">}</span> +<span id="L400" class="LineNr">400 </span> <span class="Delimiter">{</span> +<span id="L401" class="LineNr">401 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x62</span> <span class="Comment"># 'b'</span> +<span id="L402" class="LineNr">402 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L403" class="LineNr">403 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L404" class="LineNr">404 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L405" class="LineNr">405 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L388'>test-print-multiple-pages-2</a>/done-2"</span> +<span id="L406" class="LineNr">406 </span> <span class="Delimiter">}</span> +<span id="L407" class="LineNr">407 </span> <span class="Delimiter">{</span> +<span id="L408" class="LineNr">408 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x63</span> <span class="Comment"># 'c'</span> +<span id="L409" class="LineNr">409 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L410" class="LineNr">410 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L411" class="LineNr">411 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L412" class="LineNr">412 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L388'>test-print-multiple-pages-2</a>/done-3"</span> +<span id="L413" class="LineNr">413 </span> <span class="Delimiter">}</span> +<span id="L414" class="LineNr">414 </span> <span class="Delimiter">{</span> +<span id="L415" class="LineNr">415 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x64</span> <span class="Comment"># 'd'</span> +<span id="L416" class="LineNr">416 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L417" class="LineNr">417 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L418" class="LineNr">418 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L419" class="LineNr">419 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L388'>test-print-multiple-pages-2</a>/done-4"</span> +<span id="L420" class="LineNr">420 </span> <span class="Delimiter">}</span> +<span id="L421" class="LineNr">421 </span> <span class="Delimiter">{</span> +<span id="L422" class="LineNr">422 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x65</span> <span class="Comment"># 'e'</span> +<span id="L423" class="LineNr">423 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L424" class="LineNr">424 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L425" class="LineNr">425 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L426" class="LineNr">426 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L388'>test-print-multiple-pages-2</a>/done-5"</span> +<span id="L427" class="LineNr">427 </span> <span class="Delimiter">}</span> +<span id="L428" class="LineNr">428 </span> <span class="Delimiter">{</span> +<span id="L429" class="LineNr">429 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x66</span> <span class="Comment"># 'f'</span> +<span id="L430" class="LineNr">430 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L431" class="LineNr">431 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L432" class="LineNr">432 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L433" class="LineNr">433 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L388'>test-print-multiple-pages-2</a>/done-6"</span> +<span id="L434" class="LineNr">434 </span> <span class="Delimiter">}</span> +<span id="L435" class="LineNr">435 </span> <span class="Delimiter">{</span> +<span id="L436" class="LineNr">436 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x67</span> <span class="Comment"># 'g'</span> +<span id="L437" class="LineNr">437 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L438" class="LineNr">438 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L439" class="LineNr">439 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L440" class="LineNr">440 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L388'>test-print-multiple-pages-2</a>/done-7"</span> +<span id="L441" class="LineNr">441 </span> <span class="Delimiter">}</span> +<span id="L442" class="LineNr">442 </span> <span class="Delimiter">{</span> +<span id="L443" class="LineNr">443 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x68</span> <span class="Comment"># 'h'</span> +<span id="L444" class="LineNr">444 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L445" class="LineNr">445 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L446" class="LineNr">446 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L447" class="LineNr">447 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">1</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L388'>test-print-multiple-pages-2</a>/done-8"</span> +<span id="L448" class="LineNr">448 </span> <span class="Delimiter">}</span> +<span id="L449" class="LineNr">449 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> pg, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L450" class="LineNr">450 </span> <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L451" class="LineNr">451 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> screen-addr, <span class="Constant">1</span>, <span class="Constant">"abef"</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L388'>test-print-multiple-pages-2</a>/row1"</span> +<span id="L452" class="LineNr">452 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> screen-addr, <span class="Constant">2</span>, <span class="Constant">"cdgh"</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L388'>test-print-multiple-pages-2</a>/row2"</span> +<span id="L453" class="LineNr">453 </span> <span class="Comment"># currently it's hard-coded that we avoid printing to the bottom-most row of the screen</span> +<span id="L454" class="LineNr">454 </span><span class="Delimiter">}</span> +<span id="L455" class="LineNr">455 </span> +<span id="L456" class="LineNr">456 </span><span class="PreProc">fn</span> <span class="muTest"><a href='paginated-screen.mu.html#L456'>test-print-multiple-pages-with-margins</a></span> <span class="Delimiter">{</span> +<span id="L457" class="LineNr">457 </span> <span class="PreProc">var</span> pg-on-stack: <a href='paginated-screen.mu.html#L12'>paginated-screen</a> +<span id="L458" class="LineNr">458 </span> <span class="PreProc">var</span> pg/<span class="Constant">eax</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> address pg-on-stack +<span id="L459" class="LineNr">459 </span> <a href='paginated-screen.mu.html#L525'>initialize-fake-paginated-screen</a> pg, <span class="Constant">3</span>, <span class="Constant">6</span>, <span class="Constant">2</span>, <span class="Constant">1</span>, <span class="Constant">1</span> <span class="Comment"># 3 rows, 5 columns, 2 pages * 2 columns each</span> +<span id="L460" class="LineNr">460 </span> <a href='paginated-screen.mu.html#L78'>start-drawing</a> pg +<span id="L461" class="LineNr">461 </span> <span class="Delimiter">{</span> +<span id="L462" class="LineNr">462 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x61</span> <span class="Comment"># 'a'</span> +<span id="L463" class="LineNr">463 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L464" class="LineNr">464 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L465" class="LineNr">465 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L466" class="LineNr">466 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L456'>test-print-multiple-pages-with-margins</a>/grapheme-1"</span> +<span id="L467" class="LineNr">467 </span> <span class="Delimiter">}</span> +<span id="L468" class="LineNr">468 </span> <span class="Delimiter">{</span> +<span id="L469" class="LineNr">469 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x62</span> <span class="Comment"># 'b'</span> +<span id="L470" class="LineNr">470 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L471" class="LineNr">471 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L472" class="LineNr">472 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L473" class="LineNr">473 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L456'>test-print-multiple-pages-with-margins</a>/grapheme-2"</span> +<span id="L474" class="LineNr">474 </span> <span class="Delimiter">}</span> +<span id="L475" class="LineNr">475 </span> <span class="Delimiter">{</span> +<span id="L476" class="LineNr">476 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x63</span> <span class="Comment"># 'c'</span> +<span id="L477" class="LineNr">477 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L478" class="LineNr">478 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L479" class="LineNr">479 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L480" class="LineNr">480 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L456'>test-print-multiple-pages-with-margins</a>/grapheme-3"</span> +<span id="L481" class="LineNr">481 </span> <span class="Delimiter">}</span> +<span id="L482" class="LineNr">482 </span> <span class="Delimiter">{</span> +<span id="L483" class="LineNr">483 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x64</span> <span class="Comment"># 'd'</span> +<span id="L484" class="LineNr">484 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L485" class="LineNr">485 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L486" class="LineNr">486 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L487" class="LineNr">487 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L456'>test-print-multiple-pages-with-margins</a>/grapheme-4"</span> +<span id="L488" class="LineNr">488 </span> <span class="Delimiter">}</span> +<span id="L489" class="LineNr">489 </span> <span class="Delimiter">{</span> +<span id="L490" class="LineNr">490 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x65</span> <span class="Comment"># 'e'</span> +<span id="L491" class="LineNr">491 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L492" class="LineNr">492 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L493" class="LineNr">493 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L494" class="LineNr">494 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L456'>test-print-multiple-pages-with-margins</a>/grapheme-5"</span> +<span id="L495" class="LineNr">495 </span> <span class="Delimiter">}</span> +<span id="L496" class="LineNr">496 </span> <span class="Delimiter">{</span> +<span id="L497" class="LineNr">497 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x66</span> <span class="Comment"># 'f'</span> +<span id="L498" class="LineNr">498 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L499" class="LineNr">499 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L500" class="LineNr">500 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L501" class="LineNr">501 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L456'>test-print-multiple-pages-with-margins</a>/grapheme-6"</span> +<span id="L502" class="LineNr">502 </span> <span class="Delimiter">}</span> +<span id="L503" class="LineNr">503 </span> <span class="Delimiter">{</span> +<span id="L504" class="LineNr">504 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x67</span> <span class="Comment"># 'g'</span> +<span id="L505" class="LineNr">505 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L506" class="LineNr">506 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L507" class="LineNr">507 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L508" class="LineNr">508 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">0</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L456'>test-print-multiple-pages-with-margins</a>/grapheme-7"</span> +<span id="L509" class="LineNr">509 </span> <span class="Delimiter">}</span> +<span id="L510" class="LineNr">510 </span> <span class="Delimiter">{</span> +<span id="L511" class="LineNr">511 </span> <span class="PreProc">var</span> c/<span class="Constant">ecx</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0x68</span> <span class="Comment"># 'h'</span> +<span id="L512" class="LineNr">512 </span> <a href='paginated-screen.mu.html#L162'>add-grapheme</a> pg, c +<span id="L513" class="LineNr">513 </span> <span class="PreProc">var</span> done?/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> <a href='paginated-screen.mu.html#L125'>done-drawing?</a> pg +<span id="L514" class="LineNr">514 </span> <span class="PreProc">var</span> done/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy done? +<span id="L515" class="LineNr">515 </span> <a href='../../102test.subx.html#L23'>check-ints-equal</a> done, <span class="Constant">1</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L456'>test-print-multiple-pages-with-margins</a>/grapheme-8"</span> +<span id="L516" class="LineNr">516 </span> <span class="Delimiter">}</span> +<span id="L517" class="LineNr">517 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> pg, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L518" class="LineNr">518 </span> <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L519" class="LineNr">519 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> screen-addr, <span class="Constant">1</span>, <span class="Constant">" "</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L456'>test-print-multiple-pages-with-margins</a>/row1"</span> +<span id="L520" class="LineNr">520 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> screen-addr, <span class="Constant">2</span>, <span class="Constant">" ab ef"</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L456'>test-print-multiple-pages-with-margins</a>/row2"</span> +<span id="L521" class="LineNr">521 </span> <a href='../../405screen.mu.html#L603'>check-screen-row</a> screen-addr, <span class="Constant">3</span>, <span class="Constant">" cd gh"</span>, <span class="Constant">"F - <a href='paginated-screen.mu.html#L456'>test-print-multiple-pages-with-margins</a>/row3"</span> +<span id="L522" class="LineNr">522 </span> <span class="Comment"># currently it's hard-coded that we avoid printing to the bottom-most row of the screen</span> +<span id="L523" class="LineNr">523 </span><span class="Delimiter">}</span> +<span id="L524" class="LineNr">524 </span> +<span id="L525" class="LineNr">525 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='paginated-screen.mu.html#L525'>initialize-fake-paginated-screen</a></span> _self: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>), nrows: int, ncols: int, page-width: int, top-margin: int, left-margin: int <span class="Delimiter">{</span> +<span id="L526" class="LineNr">526 </span> <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> copy _self +<span id="L527" class="LineNr">527 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L528" class="LineNr">528 </span> <a href='../../120allocate.subx.html#L66'>allocate</a> screen-ah +<span id="L529" class="LineNr">529 </span> <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L530" class="LineNr">530 </span> <a href='../../405screen.mu.html#L30'>initialize-screen</a> screen-addr, nrows, ncols +<span id="L531" class="LineNr">531 </span> <a href='paginated-screen.mu.html#L29'>initialize-paginated-screen</a> self, page-width, top-margin, left-margin +<span id="L532" class="LineNr">532 </span><span class="Delimiter">}</span> +<span id="L533" class="LineNr">533 </span> +<span id="L534" class="LineNr">534 </span><span class="SalientComment">## simple delegates</span> +<span id="L535" class="LineNr">535 </span> +<span id="L536" class="LineNr">536 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='paginated-screen.mu.html#L536'>reposition-cursor</a></span> _self: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="Delimiter">{</span> +<span id="L537" class="LineNr">537 </span> <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> copy _self +<span id="L538" class="LineNr">538 </span> <span class="PreProc">var</span> r/<span class="Constant">ecx</span>: (addr int) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, row +<span id="L539" class="LineNr">539 </span> <span class="PreProc">var</span> c/<span class="Constant">edx</span>: (addr int) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, col +<span id="L540" class="LineNr">540 </span><span class="CommentedCode">#? print-string-to-real-screen "reposition cursor: "</span> +<span id="L541" class="LineNr">541 </span><span class="CommentedCode">#? print-int32-hex-to-real-screen *r</span> +<span id="L542" class="LineNr">542 </span><span class="CommentedCode">#? print-string-to-real-screen ", "</span> +<span id="L543" class="LineNr">543 </span><span class="CommentedCode">#? print-int32-hex-to-real-screen *c</span> +<span id="L544" class="LineNr">544 </span><span class="CommentedCode">#? print-string-to-real-screen "\n"</span> +<span id="L545" class="LineNr">545 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L546" class="LineNr">546 </span> <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L547" class="LineNr">547 </span> <a href='../../405screen.mu.html#L116'>move-cursor</a> screen-addr, *r *c +<span id="L548" class="LineNr">548 </span><span class="Delimiter">}</span> +<span id="L549" class="LineNr">549 </span> +<span id="L550" class="LineNr">550 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='paginated-screen.mu.html#L550'>clear-paginated-screen</a></span> _self: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="Delimiter">{</span> +<span id="L551" class="LineNr">551 </span> <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> copy _self +<span id="L552" class="LineNr">552 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L553" class="LineNr">553 </span> <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L554" class="LineNr">554 </span> <a href='../../405screen.mu.html#L80'>clear-screen</a> screen-addr +<span id="L555" class="LineNr">555 </span><span class="Delimiter">}</span> +<span id="L556" class="LineNr">556 </span> +<span id="L557" class="LineNr">557 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='paginated-screen.mu.html#L557'>start-color-on-paginated-screen</a></span> _self: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>), fg: int, bg: int <span class="Delimiter">{</span> +<span id="L558" class="LineNr">558 </span> <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> copy _self +<span id="L559" class="LineNr">559 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L560" class="LineNr">560 </span> <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L561" class="LineNr">561 </span> <a href='../../405screen.mu.html#L464'>start-color</a> screen-addr, fg, bg +<span id="L562" class="LineNr">562 </span><span class="Delimiter">}</span> +<span id="L563" class="LineNr">563 </span> +<span id="L564" class="LineNr">564 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='paginated-screen.mu.html#L564'>start-bold-on-paginated-screen</a></span> _self: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="Delimiter">{</span> +<span id="L565" class="LineNr">565 </span> <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> copy _self +<span id="L566" class="LineNr">566 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L567" class="LineNr">567 </span> <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L568" class="LineNr">568 </span> <a href='../../405screen.mu.html#L487'>start-bold</a> screen-addr +<span id="L569" class="LineNr">569 </span><span class="Delimiter">}</span> +<span id="L570" class="LineNr">570 </span> +<span id="L571" class="LineNr">571 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='paginated-screen.mu.html#L571'>start-underline-on-paginated-screen</a></span> _self: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="Delimiter">{</span> +<span id="L572" class="LineNr">572 </span> <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> copy _self +<span id="L573" class="LineNr">573 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L574" class="LineNr">574 </span> <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L575" class="LineNr">575 </span> <a href='../../405screen.mu.html#L506'>start-underline</a> screen-addr +<span id="L576" class="LineNr">576 </span><span class="Delimiter">}</span> +<span id="L577" class="LineNr">577 </span> +<span id="L578" class="LineNr">578 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='paginated-screen.mu.html#L578'>start-reverse-video-on-paginated-screen</a></span> _self: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="Delimiter">{</span> +<span id="L579" class="LineNr">579 </span> <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> copy _self +<span id="L580" class="LineNr">580 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L581" class="LineNr">581 </span> <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L582" class="LineNr">582 </span> <a href='../../405screen.mu.html#L525'>start-reverse-video</a> screen-addr +<span id="L583" class="LineNr">583 </span><span class="Delimiter">}</span> +<span id="L584" class="LineNr">584 </span> +<span id="L585" class="LineNr">585 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='paginated-screen.mu.html#L585'>start-blinking-on-paginated-screen</a></span> _self: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="Delimiter">{</span> +<span id="L586" class="LineNr">586 </span> <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> copy _self +<span id="L587" class="LineNr">587 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L588" class="LineNr">588 </span> <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L589" class="LineNr">589 </span> <a href='../../405screen.mu.html#L544'>start-blinking</a> screen-addr +<span id="L590" class="LineNr">590 </span><span class="Delimiter">}</span> +<span id="L591" class="LineNr">591 </span> +<span id="L592" class="LineNr">592 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='paginated-screen.mu.html#L592'>reset-formatting-on-paginated-screen</a></span> _self: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="Delimiter">{</span> +<span id="L593" class="LineNr">593 </span> <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> copy _self +<span id="L594" class="LineNr">594 </span> <span class="PreProc">var</span> screen-ah/<span class="Constant">eax</span>: (addr handle <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, <a href='../../405screen.mu.html#L9'>screen</a> +<span id="L595" class="LineNr">595 </span> <span class="PreProc">var</span> screen-addr/<span class="Constant">eax</span>: (addr <a href='../../405screen.mu.html#L9'>screen</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *screen-ah +<span id="L596" class="LineNr">596 </span> <a href='../../405screen.mu.html#L442'>reset-formatting</a> screen-addr +<span id="L597" class="LineNr">597 </span><span class="Delimiter">}</span> +<span id="L598" class="LineNr">598 </span> +<span id="L599" class="LineNr">599 </span><span class="SalientComment">## helpers</span> +<span id="L600" class="LineNr">600 </span> +<span id="L601" class="LineNr">601 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='paginated-screen.mu.html#L601'>next-line</a></span> _self: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="Delimiter">{</span> +<span id="L602" class="LineNr">602 </span><span class="CommentedCode">#? print-string-to-real-screen "next-line\n"</span> +<span id="L603" class="LineNr">603 </span> <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> copy _self +<span id="L604" class="LineNr">604 </span> <span class="PreProc">var</span> tmp/<span class="Constant">eax</span>: (addr int) <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> +<span id="L605" class="LineNr">605 </span> <span class="PreProc">var</span> tmp2/<span class="Constant">ecx</span>: int <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> +<span id="L606" class="LineNr">606 </span> <span class="Comment"># self->col = self->leftcol</span> +<span id="L607" class="LineNr">607 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, leftcol +<span id="L608" class="LineNr">608 </span> tmp2 <span class="SpecialChar"><-</span> copy *tmp +<span id="L609" class="LineNr">609 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, col +<span id="L610" class="LineNr">610 </span> copy-to *tmp, tmp2 +<span id="L611" class="LineNr">611 </span> <span class="Comment"># self->row++</span> +<span id="L612" class="LineNr">612 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, row +<span id="L613" class="LineNr">613 </span> increment *tmp +<span id="L614" class="LineNr">614 </span><span class="CommentedCode">#? print-string-to-real-screen "next-line: row: "</span> +<span id="L615" class="LineNr">615 </span><span class="CommentedCode">#? print-int32-hex-to-real-screen *tmp</span> +<span id="L616" class="LineNr">616 </span><span class="CommentedCode">#? print-string-to-real-screen "\n"</span> +<span id="L617" class="LineNr">617 </span> <span class="Comment"># if (self->row > self->botrow) next-page(self)</span> +<span id="L618" class="LineNr">618 </span> tmp2 <span class="SpecialChar"><-</span> copy *tmp +<span id="L619" class="LineNr">619 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, botrow +<span id="L620" class="LineNr">620 </span> compare tmp2, *tmp +<span id="L621" class="LineNr">621 </span> <span class="Delimiter">{</span> +<span id="L622" class="LineNr">622 </span> <span class="PreProc">break-if-<=</span> +<span id="L623" class="LineNr">623 </span> <a href='paginated-screen.mu.html#L627'>next-page</a> self +<span id="L624" class="LineNr">624 </span> <span class="Delimiter">}</span> +<span id="L625" class="LineNr">625 </span><span class="Delimiter">}</span> +<span id="L626" class="LineNr">626 </span> +<span id="L627" class="LineNr">627 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='paginated-screen.mu.html#L627'>next-page</a></span> _self: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="Delimiter">{</span> +<span id="L628" class="LineNr">628 </span><span class="CommentedCode">#? print-string-to-real-screen "next-page\n"</span> +<span id="L629" class="LineNr">629 </span> <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='paginated-screen.mu.html#L12'>paginated-screen</a>) <span class="SpecialChar"><-</span> copy _self +<span id="L630" class="LineNr">630 </span> <span class="PreProc">var</span> tmp/<span class="Constant">eax</span>: (addr int) <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> +<span id="L631" class="LineNr">631 </span> <span class="PreProc">var</span> tmp2/<span class="Constant">ecx</span>: int <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> +<span id="L632" class="LineNr">632 </span><span class="CommentedCode">#? # temporary: stop</span> +<span id="L633" class="LineNr">633 </span><span class="CommentedCode">#? tmp <- get self, ncols</span> +<span id="L634" class="LineNr">634 </span><span class="CommentedCode">#? tmp2 <- copy *tmp</span> +<span id="L635" class="LineNr">635 </span><span class="CommentedCode">#? tmp <- get self, rightcol</span> +<span id="L636" class="LineNr">636 </span><span class="CommentedCode">#? copy-to *tmp, tmp2</span> +<span id="L637" class="LineNr">637 </span> <span class="Comment"># real: multiple pages</span> +<span id="L638" class="LineNr">638 </span> <span class="Comment"># self->leftcol = self->rightcol + left-margin</span> +<span id="L639" class="LineNr">639 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, rightcol +<span id="L640" class="LineNr">640 </span> tmp2 <span class="SpecialChar"><-</span> copy *tmp +<span id="L641" class="LineNr">641 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, left-margin +<span id="L642" class="LineNr">642 </span> tmp2 <span class="SpecialChar"><-</span> add *tmp +<span id="L643" class="LineNr">643 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, leftcol +<span id="L644" class="LineNr">644 </span> copy-to *tmp, tmp2 +<span id="L645" class="LineNr">645 </span><span class="CommentedCode">#? print-string-to-real-screen "left: "</span> +<span id="L646" class="LineNr">646 </span><span class="CommentedCode">#? print-int32-hex-to-real-screen tmp2</span> +<span id="L647" class="LineNr">647 </span><span class="CommentedCode">#? print-string-to-real-screen "\n"</span> +<span id="L648" class="LineNr">648 </span> <span class="Comment"># self->rightcol = self->leftcol + page-width</span> +<span id="L649" class="LineNr">649 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, page-width +<span id="L650" class="LineNr">650 </span> tmp2 <span class="SpecialChar"><-</span> copy *tmp +<span id="L651" class="LineNr">651 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, leftcol +<span id="L652" class="LineNr">652 </span> tmp2 <span class="SpecialChar"><-</span> add *tmp +<span id="L653" class="LineNr">653 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, rightcol +<span id="L654" class="LineNr">654 </span> copy-to *tmp, tmp2 +<span id="L655" class="LineNr">655 </span><span class="CommentedCode">#? print-string-to-real-screen "right: "</span> +<span id="L656" class="LineNr">656 </span><span class="CommentedCode">#? print-int32-hex-to-real-screen tmp2</span> +<span id="L657" class="LineNr">657 </span><span class="CommentedCode">#? print-string-to-real-screen "\n"</span> +<span id="L658" class="LineNr">658 </span> <span class="Comment"># self->row = self->toprow</span> +<span id="L659" class="LineNr">659 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, toprow +<span id="L660" class="LineNr">660 </span> tmp2 <span class="SpecialChar"><-</span> copy *tmp +<span id="L661" class="LineNr">661 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, row +<span id="L662" class="LineNr">662 </span> copy-to *tmp, tmp2 +<span id="L663" class="LineNr">663 </span> <span class="Comment"># self->col = self->leftcol</span> +<span id="L664" class="LineNr">664 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, leftcol +<span id="L665" class="LineNr">665 </span> tmp2 <span class="SpecialChar"><-</span> copy *tmp +<span id="L666" class="LineNr">666 </span> tmp <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, col +<span id="L667" class="LineNr">667 </span> copy-to *tmp, tmp2 +<span id="L668" class="LineNr">668 </span><span class="Delimiter">}</span> +</pre> +</body> +</html> +<!-- vim: set foldmethod=manual : --> diff --git a/html/apps/calls.subx.html b/html/apps/calls.subx.html index a963b135..b1d13705 100644 --- a/html/apps/calls.subx.html +++ b/html/apps/calls.subx.html @@ -332,7 +332,7 @@ if ('onhashchange' in window) { <span id="L271" class="LineNr"> 271 </span> <span class="subxS1Comment"># . if (eax != false) break</span> <span id="L272" class="LineNr"> 272 </span> 3d/compare-eax-and 0/imm32/false <span id="L273" class="LineNr"> 273 </span> 0f 85/jump-if-!= $parse-line:end/disp32 -<span id="L274" class="Folded"> 274 </span><span class="Folded">+-- 40 lines: #? # dump word-slice --------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L274" class="Folded"> 274 </span><span class="Folded">+-- 40 lines: #? # dump word-slice -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L314" class="LineNr"> 314 </span><span class="Constant">$parse-line:write-word</span>: <span id="L315" class="LineNr"> 315 </span> <span class="subxComment"># write-int(words, word-slice->start)</span> <span id="L316" class="LineNr"> 316 </span> <span class="subxS2Comment"># . . push args</span> @@ -688,7 +688,7 @@ if ('onhashchange' in window) { <span id="L666" class="LineNr"> 666 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L667" class="LineNr"> 667 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L668" class="LineNr"> 668 </span> 81 0/subop/add %esp 4/imm32 -<span id="L669" class="Folded"> 669 </span><span class="Folded">+-- 33 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L669" class="Folded"> 669 </span><span class="Folded">+-- 33 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L702" class="LineNr"> 702 </span> <span class="subxS1Comment"># . check-next-stream-line-equal(_test-output-stream, "# . (foo %eax)", msg)</span> <span id="L703" class="LineNr"> 703 </span> <span class="subxS2Comment"># . . push args</span> <span id="L704" class="LineNr"> 704 </span> 68/push <span class="Constant">"F - <a href='calls.subx.html#L612'>test-subx-calls-processes-calls</a>: comment"</span>/imm32 diff --git a/html/apps/dquotes.subx.html b/html/apps/dquotes.subx.html index ac5c706a..338782a4 100644 --- a/html/apps/dquotes.subx.html +++ b/html/apps/dquotes.subx.html @@ -610,7 +610,7 @@ if ('onhashchange' in window) { <span id="L547" class="LineNr"> 547 </span> <span class="subxComment"># == data 0x2</span> <span id="L548" class="LineNr"> 548 </span> <span class="subxComment"># 4 5/imm32</span> <span id="L549" class="LineNr"> 549 </span> <span class="subxComment"># We don't care right now what exactly happens to comments. Trailing spaces are also minor details.</span> -<span id="L550" class="Folded"> 550 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L550" class="Folded"> 550 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L576" class="LineNr"> 576 </span> <span class="subxS1Comment"># . check-next-stream-line-equal(_test-output-stream, "", msg)</span> <span id="L577" class="LineNr"> 577 </span> <span class="subxS2Comment"># . . push args</span> <span id="L578" class="LineNr"> 578 </span> 68/push <span class="Constant">"F - <a href='dquotes.subx.html#L409'>test-subx-dquotes-is-idempotent-by-default</a>/0"</span>/imm32 @@ -787,7 +787,7 @@ if ('onhashchange' in window) { <span id="L749" class="LineNr"> 749 </span> <span class="subxComment"># called. We just want to make sure instructions using string literals</span> <span id="L750" class="LineNr"> 750 </span> <span class="subxComment"># switch to a string variable with the right value.</span> <span id="L751" class="LineNr"> 751 </span> <span class="subxComment"># (Modifying string literals completely off the radar for now.)</span> -<span id="L752" class="Folded"> 752 </span><span class="Folded">+-- 33 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L752" class="Folded"> 752 </span><span class="Folded">+-- 33 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L785" class="LineNr"> 785 </span> <span class="subxS1Comment"># . check-next-stream-line-equal(_test-output-stream, "== code 0x1 ", msg)</span> <span id="L786" class="LineNr"> 786 </span> <span class="subxS2Comment"># . . push args</span> <span id="L787" class="LineNr"> 787 </span> 68/push <span class="Constant">"F - <a href='dquotes.subx.html#L662'>test-subx-dquotes-processes-string-literals</a>/0"</span>/imm32 @@ -1101,7 +1101,7 @@ if ('onhashchange' in window) { <span id="L1095" class="LineNr">1095 </span> e8/call <a href='dquotes.subx.html#L863'>emit-string-literal-data</a>/disp32 <span id="L1096" class="LineNr">1096 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1097" class="LineNr">1097 </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="L1098" class="Folded">1098 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1098" class="Folded">1098 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1124" class="LineNr">1124 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "3/imm32 61/a 62/b 63/c ", msg)</span> <span id="L1125" class="LineNr">1125 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1126" class="LineNr">1126 </span> 68/push <span class="Constant">"F - test-emit-string-literal-data"</span>/imm32 @@ -1140,7 +1140,7 @@ if ('onhashchange' in window) { <span id="L1159" class="LineNr">1159 </span> e8/call <a href='dquotes.subx.html#L863'>emit-string-literal-data</a>/disp32 <span id="L1160" class="LineNr">1160 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1161" class="LineNr">1161 </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="L1162" class="Folded">1162 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1162" class="Folded">1162 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1188" class="LineNr">1188 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "0/imm32 ", msg)</span> <span id="L1189" class="LineNr">1189 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1190" class="LineNr">1190 </span> 68/push <span class="Constant">"F - test-emit-string-literal-data-empty"</span>/imm32 @@ -1180,7 +1180,7 @@ if ('onhashchange' in window) { <span id="L1224" class="LineNr">1224 </span> e8/call <a href='dquotes.subx.html#L863'>emit-string-literal-data</a>/disp32 <span id="L1225" class="LineNr">1225 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1226" class="LineNr">1226 </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="L1227" class="Folded">1227 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1227" class="Folded">1227 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1253" class="LineNr">1253 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "3/imm32 61/a 20 62/b ", msg) # ideally we'd like to say '20/space' but that requires managing names for codepoints</span> <span id="L1254" class="LineNr">1254 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1255" class="LineNr">1255 </span> 68/push <span class="Constant">"F - test-emit-string-literal-data-no-metadata-for-non-alphanumerics"</span>/imm32 @@ -1219,7 +1219,7 @@ if ('onhashchange' in window) { <span id="L1288" class="LineNr">1288 </span> e8/call <a href='dquotes.subx.html#L863'>emit-string-literal-data</a>/disp32 <span id="L1289" class="LineNr">1289 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1290" class="LineNr">1290 </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="L1291" class="Folded">1291 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1291" class="Folded">1291 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1317" class="LineNr">1317 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "3/imm32 61/a 22 62/b ", msg)</span> <span id="L1318" class="LineNr">1318 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1319" class="LineNr">1319 </span> 68/push <span class="Constant">"F - test-emit-string-literal-data-handles-escape-sequences"</span>/imm32 @@ -1258,7 +1258,7 @@ if ('onhashchange' in window) { <span id="L1352" class="LineNr">1352 </span> e8/call <a href='dquotes.subx.html#L863'>emit-string-literal-data</a>/disp32 <span id="L1353" class="LineNr">1353 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1354" class="LineNr">1354 </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="L1355" class="Folded">1355 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1355" class="Folded">1355 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1381" class="LineNr">1381 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "3/imm32 61/a 0a 62/b ", msg)</span> <span id="L1382" class="LineNr">1382 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1383" class="LineNr">1383 </span> 68/push <span class="Constant">"F - test-emit-string-literal-data-handles-newline-escape"</span>/imm32 @@ -1633,7 +1633,7 @@ if ('onhashchange' in window) { <span id="L1752" class="LineNr">1752 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L1753" class="LineNr">1753 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1754" class="LineNr">1754 </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="L1755" class="Folded">1755 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1755" class="Folded">1755 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1781" class="LineNr">1781 </span> <span class="subxComment"># check-stream-equal(_test-output-stream, "/ghi", msg) # important that there's no leading space</span> <span id="L1782" class="LineNr">1782 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1783" class="LineNr">1783 </span> 68/push <span class="Constant">"F - test-emit-metadata-in-string-literal"</span>/imm32 diff --git a/html/apps/mu.subx.html b/html/apps/mu.subx.html index e96bafb5..37d71ac7 100644 --- a/html/apps/mu.subx.html +++ b/html/apps/mu.subx.html @@ -623,7 +623,7 @@ if ('onhashchange' in window) { <span id="L561" class="LineNr"> 561 </span> <span class="subxComment"># convert</span> <span id="L562" class="LineNr"> 562 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L563" class="LineNr"> 563 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L564" class="Folded"> 564 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L564" class="Folded"> 564 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L570" class="LineNr"> 570 </span> <span class="subxComment"># check output</span> <span id="L571" class="LineNr"> 571 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L549'>test-convert-function-skeleton</a>/0"</span>) <span id="L572" class="LineNr"> 572 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-skeleton/1"</span>) @@ -655,7 +655,7 @@ if ('onhashchange' in window) { <span id="L598" class="LineNr"> 598 </span> <span class="subxComment"># convert</span> <span id="L599" class="LineNr"> 599 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L600" class="LineNr"> 600 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L601" class="Folded"> 601 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L601" class="Folded"> 601 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L607" class="LineNr"> 607 </span> <span class="subxComment"># check first function</span> <span id="L608" class="LineNr"> 608 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L584'>test-convert-multiple-function-skeletons</a>/0"</span>) <span id="L609" class="LineNr"> 609 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-multiple-function-skeletons/1"</span>) @@ -694,7 +694,7 @@ if ('onhashchange' in window) { <span id="L642" class="LineNr"> 642 </span> <span class="subxComment"># convert</span> <span id="L643" class="LineNr"> 643 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L644" class="LineNr"> 644 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L645" class="Folded"> 645 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L645" class="Folded"> 645 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L651" class="LineNr"> 651 </span> <span class="subxComment"># check output</span> <span id="L652" class="LineNr"> 652 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L630'>test-convert-function-with-arg</a>/0"</span>) <span id="L653" class="LineNr"> 653 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-arg/1"</span>) @@ -725,7 +725,7 @@ if ('onhashchange' in window) { <span id="L678" class="LineNr"> 678 </span> <span class="subxComment"># convert</span> <span id="L679" class="LineNr"> 679 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L680" class="LineNr"> 680 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L681" class="Folded"> 681 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L681" class="Folded"> 681 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L687" class="LineNr"> 687 </span> <span class="subxComment"># check output</span> <span id="L688" class="LineNr"> 688 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L665'>test-convert-function-with-arg-and-body</a>/0"</span>) <span id="L689" class="LineNr"> 689 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-arg-and-body/1"</span>) @@ -761,7 +761,7 @@ if ('onhashchange' in window) { <span id="L719" class="LineNr"> 719 </span> <span class="subxComment"># convert</span> <span id="L720" class="LineNr"> 720 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L721" class="LineNr"> 721 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L722" class="Folded"> 722 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L722" class="Folded"> 722 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L728" class="LineNr"> 728 </span> <span class="subxComment"># check output</span> <span id="L729" class="LineNr"> 729 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L706'>test-convert-function-distinguishes-args</a>/0"</span>) <span id="L730" class="LineNr"> 730 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-distinguishes-args/1"</span>) @@ -798,7 +798,7 @@ if ('onhashchange' in window) { <span id="L761" class="LineNr"> 761 </span> <span class="subxComment"># convert</span> <span id="L762" class="LineNr"> 762 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L763" class="LineNr"> 763 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L764" class="Folded"> 764 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L764" class="Folded"> 764 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L770" class="LineNr"> 770 </span> <span class="subxComment"># check output</span> <span id="L771" class="LineNr"> 771 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L747'>test-convert-function-returns-result</a>/0"</span>) <span id="L772" class="LineNr"> 772 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-returns-result/1"</span>) @@ -836,7 +836,7 @@ if ('onhashchange' in window) { <span id="L804" class="LineNr"> 804 </span> <span class="subxComment"># convert</span> <span id="L805" class="LineNr"> 805 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L806" class="LineNr"> 806 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L807" class="Folded"> 807 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L807" class="Folded"> 807 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L813" class="LineNr"> 813 </span> <span class="subxComment"># check output</span> <span id="L814" class="LineNr"> 814 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L790'>test-convert-function-with-literal-arg</a>/0"</span>) <span id="L815" class="LineNr"> 815 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-literal-arg/1"</span>) @@ -874,7 +874,7 @@ if ('onhashchange' in window) { <span id="L847" class="LineNr"> 847 </span> <span class="subxComment"># convert</span> <span id="L848" class="LineNr"> 848 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L849" class="LineNr"> 849 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L850" class="Folded"> 850 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L850" class="Folded"> 850 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L856" class="LineNr"> 856 </span> <span class="subxComment"># check output</span> <span id="L857" class="LineNr"> 857 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L833'>test-convert-function-with-literal-arg-2</a>/0"</span>) <span id="L858" class="LineNr"> 858 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-literal-arg-2/1"</span>) @@ -915,7 +915,7 @@ if ('onhashchange' in window) { <span id="L893" class="LineNr"> 893 </span> <span class="subxComment"># convert</span> <span id="L894" class="LineNr"> 894 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L895" class="LineNr"> 895 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L896" class="Folded"> 896 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L896" class="Folded"> 896 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L902" class="LineNr"> 902 </span> <span class="subxComment"># check output</span> <span id="L903" class="LineNr"> 903 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"main:"</span> <span class="Constant">"F - <a href='mu.subx.html#L876'>test-convert-function-call-with-literal-arg</a>/0"</span>) <span id="L904" class="LineNr"> 904 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-call-with-literal-arg/1"</span>) @@ -966,7 +966,7 @@ if ('onhashchange' in window) { <span id="L949" class="LineNr"> 949 </span> <span class="subxComment"># convert</span> <span id="L950" class="LineNr"> 950 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L951" class="LineNr"> 951 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L952" class="Folded"> 952 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L952" class="Folded"> 952 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L958" class="LineNr"> 958 </span> <span class="subxComment"># check output</span> <span id="L959" class="LineNr"> 959 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"main:"</span> <span class="Constant">"F - <a href='mu.subx.html#L935'>test-convert-function-call-with-signature</a>/0"</span>) <span id="L960" class="LineNr"> 960 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-call-with-signature/1"</span>) @@ -1003,7 +1003,7 @@ if ('onhashchange' in window) { <span id="L991" class="LineNr"> 991 </span> <span class="subxComment"># convert</span> <span id="L992" class="LineNr"> 992 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L993" class="LineNr"> 993 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L994" class="Folded"> 994 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L994" class="Folded"> 994 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1000" class="LineNr"> 1000 </span> <span class="subxComment"># check output</span> <span id="L1001" class="LineNr"> 1001 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L977'>test-convert-function-with-local-var-in-mem</a>/0"</span>) <span id="L1002" class="LineNr"> 1002 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-local-var-in-mem/1"</span>) @@ -1052,7 +1052,7 @@ if ('onhashchange' in window) { <span id="L1045" class="LineNr"> 1045 </span> 89/<- %edx 4/r32/esp <span id="L1046" class="LineNr"> 1046 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L1047" class="LineNr"> 1047 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L1048" class="Folded"> 1048 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1048" class="Folded"> 1048 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1054" class="LineNr"> 1054 </span> <span class="subxComment"># check output</span> <span id="L1055" class="LineNr"> 1055 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L1021'>test-convert-invalid-literal</a>: output should be empty"</span>) <span id="L1056" class="LineNr"> 1056 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: variable '1n' cannot begin with a digit (or do you have a typo in a number?)"</span> <span class="Constant">"F - <a href='mu.subx.html#L1021'>test-convert-invalid-literal</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -1092,7 +1092,7 @@ if ('onhashchange' in window) { <span id="L1090" class="LineNr"> 1090 </span> 89/<- %edx 4/r32/esp <span id="L1091" class="LineNr"> 1091 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L1092" class="LineNr"> 1092 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L1093" class="Folded"> 1093 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1093" class="Folded"> 1093 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1099" class="LineNr"> 1099 </span> <span class="subxComment"># check output</span> <span id="L1100" class="LineNr"> 1100 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - test-var-in-mem-has-no-initializer: output should be empty"</span>) <span id="L1101" class="LineNr"> 1101 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: var x: variables on the stack can't take an initializer"</span> <span class="Constant">"F - test-var-in-mem-has-no-initializer: error message"</span>) @@ -1121,7 +1121,7 @@ if ('onhashchange' in window) { <span id="L1124" class="LineNr"> 1124 </span> <span class="subxComment"># convert</span> <span id="L1125" class="LineNr"> 1125 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L1126" class="LineNr"> 1126 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L1127" class="Folded"> 1127 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1127" class="Folded"> 1127 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1133" class="LineNr"> 1133 </span> <span class="subxComment"># check output</span> <span id="L1134" class="LineNr"> 1134 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L1110'>test-convert-function-with-local-var-with-compound-type-in-mem</a>/0"</span>) <span id="L1135" class="LineNr"> 1135 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-local-var-with-compound-type-in-mem/1"</span>) @@ -1160,7 +1160,7 @@ if ('onhashchange' in window) { <span id="L1168" class="LineNr"> 1168 </span> <span class="subxComment"># convert</span> <span id="L1169" class="LineNr"> 1169 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L1170" class="LineNr"> 1170 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L1171" class="Folded"> 1171 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1171" class="Folded"> 1171 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1177" class="LineNr"> 1177 </span> <span class="subxComment"># check output</span> <span id="L1178" class="LineNr"> 1178 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L1154'>test-convert-function-with-local-var-in-reg</a>/0"</span>) <span id="L1179" class="LineNr"> 1179 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-local-var-in-reg/1"</span>) @@ -1200,7 +1200,7 @@ if ('onhashchange' in window) { <span id="L1213" class="LineNr"> 1213 </span> <span class="subxComment"># convert</span> <span id="L1214" class="LineNr"> 1214 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L1215" class="LineNr"> 1215 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L1216" class="Folded"> 1216 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1216" class="Folded"> 1216 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1222" class="LineNr"> 1222 </span> <span class="subxComment"># check output</span> <span id="L1223" class="LineNr"> 1223 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L1199'>test-convert-function-with-allocate</a>/0"</span>) <span id="L1224" class="LineNr"> 1224 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-allocate/1"</span>) @@ -1250,7 +1250,7 @@ if ('onhashchange' in window) { <span id="L1268" class="LineNr"> 1268 </span> 89/<- %edx 4/r32/esp <span id="L1269" class="LineNr"> 1269 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L1270" class="LineNr"> 1270 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L1271" class="Folded"> 1271 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1271" class="Folded"> 1271 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1277" class="LineNr"> 1277 </span> <span class="subxComment"># check output</span> <span id="L1278" class="LineNr"> 1278 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L1244'>test-initializer-in-hex</a>: output should be empty"</span>) <span id="L1279" class="LineNr"> 1279 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"literal integers are always hex in Mu; either start '10' with a '0x' to be unambiguous, or convert it to decimal."</span> <span class="Constant">"F - <a href='mu.subx.html#L1244'>test-initializer-in-hex</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -1280,7 +1280,7 @@ if ('onhashchange' in window) { <span id="L1303" class="LineNr"> 1303 </span> <span class="subxComment"># convert</span> <span id="L1304" class="LineNr"> 1304 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L1305" class="LineNr"> 1305 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L1306" class="Folded"> 1306 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1306" class="Folded"> 1306 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1312" class="LineNr"> 1312 </span> <span class="subxComment"># check output</span> <span id="L1313" class="LineNr"> 1313 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L1288'>test-convert-function-with-second-local-var-in-same-reg</a>/0"</span>) <span id="L1314" class="LineNr"> 1314 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-second-local-var-in-same-reg/1"</span>) @@ -1333,7 +1333,7 @@ if ('onhashchange' in window) { <span id="L1361" class="LineNr"> 1361 </span> 89/<- %edx 4/r32/esp <span id="L1362" class="LineNr"> 1362 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L1363" class="LineNr"> 1363 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L1364" class="Folded"> 1364 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1364" class="Folded"> 1364 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1370" class="LineNr"> 1370 </span> <span class="subxComment"># check output</span> <span id="L1371" class="LineNr"> 1371 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L1335'>test-read-clobbered-reg-var</a>: output should be empty"</span>) <span id="L1372" class="LineNr"> 1372 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: register ecx reads var 'x' after writing var 'y'"</span> <span class="Constant">"F - <a href='mu.subx.html#L1335'>test-read-clobbered-reg-var</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -1364,7 +1364,7 @@ if ('onhashchange' in window) { <span id="L1397" class="LineNr"> 1397 </span> <span class="subxComment"># convert</span> <span id="L1398" class="LineNr"> 1398 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L1399" class="LineNr"> 1399 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L1400" class="Folded"> 1400 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1400" class="Folded"> 1400 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1406" class="LineNr"> 1406 </span> <span class="subxComment"># check output</span> <span id="L1407" class="LineNr"> 1407 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"main:"</span> <span class="Constant">"F - <a href='mu.subx.html#L1381'>test-convert-function-call</a>/0"</span>) <span id="L1408" class="LineNr"> 1408 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-call/1"</span>) @@ -1416,7 +1416,7 @@ if ('onhashchange' in window) { <span id="L1454" class="LineNr"> 1454 </span> <span class="subxComment"># convert</span> <span id="L1455" class="LineNr"> 1455 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L1456" class="LineNr"> 1456 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L1457" class="Folded"> 1457 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1457" class="Folded"> 1457 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1463" class="LineNr"> 1463 </span> <span class="subxComment"># check output</span> <span id="L1464" class="LineNr"> 1464 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"f:"</span> <span class="Constant">"F - <a href='mu.subx.html#L1438'>test-convert-function-call-with-inout-with-compound-type</a>/0"</span>) <span id="L1465" class="LineNr"> 1465 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-call-with-inout-with-compound-type/1"</span>) @@ -1476,7 +1476,7 @@ if ('onhashchange' in window) { <span id="L1519" class="LineNr"> 1519 </span> 89/<- %edx 4/r32/esp <span id="L1520" class="LineNr"> 1520 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L1521" class="LineNr"> 1521 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L1522" class="Folded"> 1522 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1522" class="Folded"> 1522 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1528" class="LineNr"> 1528 </span> <span class="subxComment"># no error; types matched</span> <span id="L1529" class="LineNr"> 1529 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L1492'>test-convert-function-call-with-inout-with-type-parameter</a>: <a href='../114error.subx.html#L9'>error</a> stream should be empty"</span>) <span id="L1530" class="LineNr"> 1530 </span> <span class="subxComment"># don't bother checking the generated code; that's in the test 'test-local-clobbered-by-fn-output' below</span> @@ -1516,7 +1516,7 @@ if ('onhashchange' in window) { <span id="L1564" class="LineNr"> 1564 </span> 89/<- %edx 4/r32/esp <span id="L1565" class="LineNr"> 1565 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L1566" class="LineNr"> 1566 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L1567" class="Folded"> 1567 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1567" class="Folded"> 1567 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1573" class="LineNr"> 1573 </span> <span class="subxComment"># check output</span> <span id="L1574" class="LineNr"> 1574 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L1537'>test-convert-function-call-with-incorrect-inout-type</a>: output should be empty"</span>) <span id="L1575" class="LineNr"> 1575 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn f: call g: type for inout 'x' is not right"</span> <span class="Constant">"F - <a href='mu.subx.html#L1537'>test-convert-function-call-with-incorrect-inout-type</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -1557,7 +1557,7 @@ if ('onhashchange' in window) { <span id="L1610" class="LineNr"> 1610 </span> 89/<- %edx 4/r32/esp <span id="L1611" class="LineNr"> 1611 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L1612" class="LineNr"> 1612 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L1613" class="Folded"> 1613 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1613" class="Folded"> 1613 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1619" class="LineNr"> 1619 </span> <span class="subxComment"># check output</span> <span id="L1620" class="LineNr"> 1620 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L1583'>test-convert-function-call-with-inout-with-incorrect-compound-type</a>: output should be empty"</span>) <span id="L1621" class="LineNr"> 1621 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn f: call g: type for inout 'x' is not right"</span> <span class="Constant">"F - <a href='mu.subx.html#L1583'>test-convert-function-call-with-inout-with-incorrect-compound-type</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -1598,7 +1598,7 @@ if ('onhashchange' in window) { <span id="L1656" class="LineNr"> 1656 </span> 89/<- %edx 4/r32/esp <span id="L1657" class="LineNr"> 1657 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L1658" class="LineNr"> 1658 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L1659" class="Folded"> 1659 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1659" class="Folded"> 1659 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1665" class="LineNr"> 1665 </span> <span class="subxComment"># no errors</span> <span id="L1666" class="LineNr"> 1666 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L1628'>test-convert-function-call-with-inout-with-multiple-type-parameters</a>: <a href='../114error.subx.html#L9'>error</a> stream should be empty"</span>) <span id="L1667" class="LineNr"> 1667 </span> <span class="subxComment"># don't bother checking the generated code</span> @@ -1638,7 +1638,7 @@ if ('onhashchange' in window) { <span id="L1701" class="LineNr"> 1701 </span> 89/<- %edx 4/r32/esp <span id="L1702" class="LineNr"> 1702 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L1703" class="LineNr"> 1703 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L1704" class="Folded"> 1704 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1704" class="Folded"> 1704 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1710" class="LineNr"> 1710 </span> <span class="subxComment"># no errors</span> <span id="L1711" class="LineNr"> 1711 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L1674'>test-type-parameter-matches-rest-of-type</a>: <a href='../114error.subx.html#L9'>error</a> stream should be empty"</span>) <span id="L1712" class="LineNr"> 1712 </span> <span class="subxComment"># don't bother checking the generated code</span> @@ -1679,7 +1679,7 @@ if ('onhashchange' in window) { <span id="L1747" class="LineNr"> 1747 </span> 89/<- %edx 4/r32/esp <span id="L1748" class="LineNr"> 1748 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L1749" class="LineNr"> 1749 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L1750" class="Folded"> 1750 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1750" class="Folded"> 1750 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1756" class="LineNr"> 1756 </span> <span class="subxComment"># check output</span> <span id="L1757" class="LineNr"> 1757 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L1719'>test-convert-function-call-with-inout-with-incompatible-type-parameters</a>: output should be empty"</span>) <span id="L1758" class="LineNr"> 1758 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn f: call g: type for inout 'y' is not right"</span> <span class="Constant">"F - <a href='mu.subx.html#L1719'>test-convert-function-call-with-inout-with-incompatible-type-parameters</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -1718,7 +1718,7 @@ if ('onhashchange' in window) { <span id="L1791" class="LineNr"> 1791 </span> 89/<- %edx 4/r32/esp <span id="L1792" class="LineNr"> 1792 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L1793" class="LineNr"> 1793 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L1794" class="Folded"> 1794 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1794" class="Folded"> 1794 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1800" class="LineNr"> 1800 </span> <span class="subxComment"># check output</span> <span id="L1801" class="LineNr"> 1801 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L1765'>test-convert-function-call-with-too-few-inouts</a>: output should be empty"</span>) <span id="L1802" class="LineNr"> 1802 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn f: call g: too few inouts"</span> <span class="Constant">"F - <a href='mu.subx.html#L1765'>test-convert-function-call-with-too-few-inouts</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -1759,7 +1759,7 @@ if ('onhashchange' in window) { <span id="L1837" class="LineNr"> 1837 </span> 89/<- %edx 4/r32/esp <span id="L1838" class="LineNr"> 1838 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L1839" class="LineNr"> 1839 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L1840" class="Folded"> 1840 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1840" class="Folded"> 1840 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1846" class="LineNr"> 1846 </span> <span class="subxComment"># check output</span> <span id="L1847" class="LineNr"> 1847 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L1810'>test-convert-function-call-with-too-many-inouts</a>: output should be empty"</span>) <span id="L1848" class="LineNr"> 1848 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn f: call g: too many inouts"</span> <span class="Constant">"F - <a href='mu.subx.html#L1810'>test-convert-function-call-with-too-many-inouts</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -1799,7 +1799,7 @@ if ('onhashchange' in window) { <span id="L1882" class="LineNr"> 1882 </span> 89/<- %edx 4/r32/esp <span id="L1883" class="LineNr"> 1883 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L1884" class="LineNr"> 1884 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L1885" class="Folded"> 1885 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1885" class="Folded"> 1885 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1891" class="LineNr"> 1891 </span> <span class="subxComment"># check output</span> <span id="L1892" class="LineNr"> 1892 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L1856'>test-convert-function-call-with-incorrect-output-type</a>: output should be empty"</span>) <span id="L1893" class="LineNr"> 1893 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn f: call g: type for output 'x' is not right"</span> <span class="Constant">"F - <a href='mu.subx.html#L1856'>test-convert-function-call-with-incorrect-output-type</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -1839,7 +1839,7 @@ if ('onhashchange' in window) { <span id="L1927" class="LineNr"> 1927 </span> 89/<- %edx 4/r32/esp <span id="L1928" class="LineNr"> 1928 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L1929" class="LineNr"> 1929 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L1930" class="Folded"> 1930 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1930" class="Folded"> 1930 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1936" class="LineNr"> 1936 </span> <span class="subxComment"># check output</span> <span id="L1937" class="LineNr"> 1937 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L1901'>test-convert-function-call-with-too-few-outputs</a>: output should be empty"</span>) <span id="L1938" class="LineNr"> 1938 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn f: call g: too few outputs"</span> <span class="Constant">"F - <a href='mu.subx.html#L1901'>test-convert-function-call-with-too-few-outputs</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -1879,7 +1879,7 @@ if ('onhashchange' in window) { <span id="L1972" class="LineNr"> 1972 </span> 89/<- %edx 4/r32/esp <span id="L1973" class="LineNr"> 1973 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L1974" class="LineNr"> 1974 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L1975" class="Folded"> 1975 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1975" class="Folded"> 1975 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1981" class="LineNr"> 1981 </span> <span class="subxComment"># check output</span> <span id="L1982" class="LineNr"> 1982 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L1946'>test-convert-function-call-with-too-many-outputs</a>: output should be empty"</span>) <span id="L1983" class="LineNr"> 1983 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn f: call g: too many outputs"</span> <span class="Constant">"F - <a href='mu.subx.html#L1946'>test-convert-function-call-with-too-many-outputs</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -1919,7 +1919,7 @@ if ('onhashchange' in window) { <span id="L2017" class="LineNr"> 2017 </span> 89/<- %edx 4/r32/esp <span id="L2018" class="LineNr"> 2018 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L2019" class="LineNr"> 2019 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L2020" class="Folded"> 2020 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2020" class="Folded"> 2020 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2026" class="LineNr"> 2026 </span> <span class="subxComment"># check output</span> <span id="L2027" class="LineNr"> 2027 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L1991'>test-convert-function-call-with-incorrect-output-register</a>: output should be empty"</span>) <span id="L2028" class="LineNr"> 2028 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn f: call g: register for output 'x' is not right"</span> <span class="Constant">"F - <a href='mu.subx.html#L1991'>test-convert-function-call-with-incorrect-output-register</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -1947,7 +1947,7 @@ if ('onhashchange' in window) { <span id="L2050" class="LineNr"> 2050 </span> <span class="subxComment"># convert</span> <span id="L2051" class="LineNr"> 2051 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L2052" class="LineNr"> 2052 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L2053" class="Folded"> 2053 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2053" class="Folded"> 2053 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2059" class="LineNr"> 2059 </span> <span class="subxComment"># check output</span> <span id="L2060" class="LineNr"> 2060 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L2036'>test-convert-function-with-local-var-dereferenced</a>/0"</span>) <span id="L2061" class="LineNr"> 2061 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-local-var-dereferenced/1"</span>) @@ -1992,7 +1992,7 @@ if ('onhashchange' in window) { <span id="L2100" class="LineNr"> 2100 </span> <span class="subxComment"># convert</span> <span id="L2101" class="LineNr"> 2101 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L2102" class="LineNr"> 2102 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L2103" class="Folded"> 2103 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2103" class="Folded"> 2103 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2109" class="LineNr"> 2109 </span> <span class="subxComment"># check output</span> <span id="L2110" class="LineNr"> 2110 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L2082'>test-convert-function-with-byte-operations</a>/0"</span>) <span id="L2111" class="LineNr"> 2111 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-byte-operations/1"</span>) @@ -2041,7 +2041,7 @@ if ('onhashchange' in window) { <span id="L2154" class="LineNr"> 2154 </span> <span class="subxComment"># convert</span> <span id="L2155" class="LineNr"> 2155 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L2156" class="LineNr"> 2156 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L2157" class="Folded"> 2157 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2157" class="Folded"> 2157 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2163" class="LineNr"> 2163 </span> <span class="subxComment"># check output</span> <span id="L2164" class="LineNr"> 2164 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - test-copy-byte-from-fn-arg/0"</span>) <span id="L2165" class="LineNr"> 2165 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-copy-byte-from-fn-arg/1"</span>) @@ -2081,7 +2081,7 @@ if ('onhashchange' in window) { <span id="L2199" class="LineNr"> 2199 </span> <span class="subxComment"># convert</span> <span id="L2200" class="LineNr"> 2200 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L2201" class="LineNr"> 2201 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L2202" class="Folded"> 2202 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2202" class="Folded"> 2202 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2208" class="LineNr"> 2208 </span> <span class="subxComment"># check output</span> <span id="L2209" class="LineNr"> 2209 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L2185'>test-convert-compare-register-with-literal</a>/0"</span>) <span id="L2210" class="LineNr"> 2210 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-compare-register-with-literal/1"</span>) @@ -2131,7 +2131,7 @@ if ('onhashchange' in window) { <span id="L2254" class="LineNr"> 2254 </span> 89/<- %edx 4/r32/esp <span id="L2255" class="LineNr"> 2255 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L2256" class="LineNr"> 2256 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L2257" class="Folded"> 2257 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2257" class="Folded"> 2257 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2263" class="LineNr"> 2263 </span> <span class="subxComment"># check output</span> <span id="L2264" class="LineNr"> 2264 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L2230'>test-unknown-variable</a>: output should be empty"</span>) <span id="L2265" class="LineNr"> 2265 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: unknown variable 'x'"</span> <span class="Constant">"F - <a href='mu.subx.html#L2230'>test-unknown-variable</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -2162,7 +2162,7 @@ if ('onhashchange' in window) { <span id="L2290" class="LineNr"> 2290 </span> <span class="subxComment"># convert</span> <span id="L2291" class="LineNr"> 2291 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L2292" class="LineNr"> 2292 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L2293" class="Folded"> 2293 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2293" class="Folded"> 2293 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2299" class="LineNr"> 2299 </span> <span class="subxComment"># check output</span> <span id="L2300" class="LineNr"> 2300 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L2274'>test-convert-function-with-local-var-in-block</a>/0"</span>) <span id="L2301" class="LineNr"> 2301 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-local-var-in-block/1"</span>) @@ -2207,7 +2207,7 @@ if ('onhashchange' in window) { <span id="L2340" class="LineNr"> 2340 </span> <span class="subxComment"># convert</span> <span id="L2341" class="LineNr"> 2341 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L2342" class="LineNr"> 2342 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L2343" class="Folded"> 2343 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2343" class="Folded"> 2343 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2349" class="LineNr"> 2349 </span> <span class="subxComment"># check output</span> <span id="L2350" class="LineNr"> 2350 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L2324'>test-convert-function-with-local-var-in-named-block</a>/0"</span>) <span id="L2351" class="LineNr"> 2351 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-local-var-in-named-block/1"</span>) @@ -2262,7 +2262,7 @@ if ('onhashchange' in window) { <span id="L2400" class="LineNr"> 2400 </span> 89/<- %edx 4/r32/esp <span id="L2401" class="LineNr"> 2401 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L2402" class="LineNr"> 2402 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L2403" class="Folded"> 2403 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2403" class="Folded"> 2403 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2409" class="LineNr"> 2409 </span> <span class="subxComment"># check output</span> <span id="L2410" class="LineNr"> 2410 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L2374'>test-unknown-variable-in-named-block</a>: output should be empty"</span>) <span id="L2411" class="LineNr"> 2411 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: unknown variable 'x'"</span> <span class="Constant">"F - <a href='mu.subx.html#L2374'>test-unknown-variable-in-named-block</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -2290,7 +2290,7 @@ if ('onhashchange' in window) { <span id="L2433" class="LineNr"> 2433 </span> <span class="subxComment"># convert</span> <span id="L2434" class="LineNr"> 2434 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L2435" class="LineNr"> 2435 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L2436" class="Folded"> 2436 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2436" class="Folded"> 2436 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2442" class="LineNr"> 2442 </span> <span class="subxComment"># check output</span> <span id="L2443" class="LineNr"> 2443 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L2420'>test-always-shadow-outermost-reg-vars-in-function</a>/0"</span>) <span id="L2444" class="LineNr"> 2444 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-always-shadow-outermost-reg-vars-in-function/1"</span>) @@ -2331,7 +2331,7 @@ if ('onhashchange' in window) { <span id="L2479" class="LineNr"> 2479 </span> <span class="subxComment"># convert</span> <span id="L2480" class="LineNr"> 2480 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L2481" class="LineNr"> 2481 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L2482" class="Folded"> 2482 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2482" class="Folded"> 2482 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2488" class="LineNr"> 2488 </span> <span class="subxComment"># check output</span> <span id="L2489" class="LineNr"> 2489 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - test-clobber-dead-local/0"</span>) <span id="L2490" class="LineNr"> 2490 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-clobber-dead-local/1"</span>) @@ -2378,7 +2378,7 @@ if ('onhashchange' in window) { <span id="L2531" class="LineNr"> 2531 </span> <span class="subxComment"># convert</span> <span id="L2532" class="LineNr"> 2532 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L2533" class="LineNr"> 2533 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L2534" class="Folded"> 2534 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2534" class="Folded"> 2534 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2540" class="LineNr"> 2540 </span> <span class="subxComment"># check output</span> <span id="L2541" class="LineNr"> 2541 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L2514'>test-shadow-live-local</a>/0"</span>) <span id="L2542" class="LineNr"> 2542 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-shadow-live-local/1"</span>) @@ -2428,7 +2428,7 @@ if ('onhashchange' in window) { <span id="L2586" class="LineNr"> 2586 </span> <span class="subxComment"># convert</span> <span id="L2587" class="LineNr"> 2587 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L2588" class="LineNr"> 2588 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L2589" class="Folded"> 2589 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2589" class="Folded"> 2589 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2595" class="LineNr"> 2595 </span> <span class="subxComment"># check output</span> <span id="L2596" class="LineNr"> 2596 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L2569'>test-shadow-name</a>/0"</span>) <span id="L2597" class="LineNr"> 2597 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-shadow-name/1"</span>) @@ -2479,7 +2479,7 @@ if ('onhashchange' in window) { <span id="L2642" class="LineNr"> 2642 </span> <span class="subxComment"># convert</span> <span id="L2643" class="LineNr"> 2643 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L2644" class="LineNr"> 2644 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L2645" class="Folded"> 2645 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2645" class="Folded"> 2645 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2651" class="LineNr"> 2651 </span> <span class="subxComment"># check output</span> <span id="L2652" class="LineNr"> 2652 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L2624'>test-shadow-name-2</a>/0"</span>) <span id="L2653" class="LineNr"> 2653 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-shadow-name-2/1"</span>) @@ -2530,7 +2530,7 @@ if ('onhashchange' in window) { <span id="L2698" class="LineNr"> 2698 </span> <span class="subxComment"># convert</span> <span id="L2699" class="LineNr"> 2699 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L2700" class="LineNr"> 2700 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L2701" class="Folded"> 2701 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2701" class="Folded"> 2701 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2707" class="LineNr"> 2707 </span> <span class="subxComment"># check output</span> <span id="L2708" class="LineNr"> 2708 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L2683'>test-do-not-spill-same-register-in-block</a>/0"</span>) <span id="L2709" class="LineNr"> 2709 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-do-not-spill-same-register-in-block/1"</span>) @@ -2572,7 +2572,7 @@ if ('onhashchange' in window) { <span id="L2745" class="LineNr"> 2745 </span> <span class="subxComment"># convert</span> <span id="L2746" class="LineNr"> 2746 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L2747" class="LineNr"> 2747 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L2748" class="Folded"> 2748 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2748" class="Folded"> 2748 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2754" class="LineNr"> 2754 </span> <span class="subxComment"># check output</span> <span id="L2755" class="LineNr"> 2755 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L2730'>test-spill-different-register-in-block</a>/0"</span>) <span id="L2756" class="LineNr"> 2756 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-spill-different-register-in-block/1"</span>) @@ -2618,7 +2618,7 @@ if ('onhashchange' in window) { <span id="L2796" class="LineNr"> 2796 </span> <span class="subxComment"># convert</span> <span id="L2797" class="LineNr"> 2797 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L2798" class="LineNr"> 2798 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L2799" class="Folded"> 2799 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2799" class="Folded"> 2799 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2805" class="LineNr"> 2805 </span> <span class="subxComment"># check output</span> <span id="L2806" class="LineNr"> 2806 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L2779'>test-shadow-live-output</a>/0"</span>) <span id="L2807" class="LineNr"> 2807 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-shadow-live-output/1"</span>) @@ -2674,7 +2674,7 @@ if ('onhashchange' in window) { <span id="L2857" class="LineNr"> 2857 </span> 89/<- %edx 4/r32/esp <span id="L2858" class="LineNr"> 2858 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L2859" class="LineNr"> 2859 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L2860" class="Folded"> 2860 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2860" class="Folded"> 2860 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2866" class="LineNr"> 2866 </span> <span class="subxComment"># no error; we looked up 'y' correctly before pushing the binding for 'x'</span> <span id="L2867" class="LineNr"> 2867 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L2832'>test-stmt-defines-output-in-same-register-as-inout</a>: <a href='../114error.subx.html#L9'>error</a> stream should be empty"</span>) <span id="L2868" class="LineNr"> 2868 </span> <span class="subxComment"># don't bother checking the generated code; that's in the test 'test-local-clobbered-by-fn-output' below</span> @@ -2701,7 +2701,7 @@ if ('onhashchange' in window) { <span id="L2889" class="LineNr"> 2889 </span> <span class="subxComment"># convert</span> <span id="L2890" class="LineNr"> 2890 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L2891" class="LineNr"> 2891 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L2892" class="Folded"> 2892 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2892" class="Folded"> 2892 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2898" class="LineNr"> 2898 </span> <span class="subxComment"># check output</span> <span id="L2899" class="LineNr"> 2899 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L2875'>test-local-clobbered-by-fn-output</a>/0"</span>) <span id="L2900" class="LineNr"> 2900 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-local-clobbered-by-fn-output/1"</span>) @@ -2739,7 +2739,7 @@ if ('onhashchange' in window) { <span id="L2932" class="LineNr"> 2932 </span> <span class="subxComment"># convert</span> <span id="L2933" class="LineNr"> 2933 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L2934" class="LineNr"> 2934 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L2935" class="Folded"> 2935 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2935" class="Folded"> 2935 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2941" class="LineNr"> 2941 </span> <span class="subxComment"># check output</span> <span id="L2942" class="LineNr"> 2942 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L2918'>test-read-output</a>/0"</span>) <span id="L2943" class="LineNr"> 2943 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-read-output/1"</span>) @@ -2781,7 +2781,7 @@ if ('onhashchange' in window) { <span id="L2979" class="LineNr"> 2979 </span> <span class="subxComment"># convert</span> <span id="L2980" class="LineNr"> 2980 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L2981" class="LineNr"> 2981 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L2982" class="Folded"> 2982 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2982" class="Folded"> 2982 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2988" class="LineNr"> 2988 </span> <span class="subxComment"># no error; defining 'out' didn't interfere with the reclamation of 'b'</span> <span id="L2989" class="LineNr"> 2989 </span> <span class="subxComment"># check output</span> <span id="L2990" class="LineNr"> 2990 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L2961'>test-fn-output-written-in-inner-block</a>/0"</span>) @@ -2834,7 +2834,7 @@ if ('onhashchange' in window) { <span id="L3037" class="LineNr"> 3037 </span> <span class="subxComment"># convert</span> <span id="L3038" class="LineNr"> 3038 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L3039" class="LineNr"> 3039 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L3040" class="Folded"> 3040 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3040" class="Folded"> 3040 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3046" class="LineNr"> 3046 </span> <span class="subxComment"># check output</span> <span id="L3047" class="LineNr"> 3047 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L3019'>test-convert-function-with-branches-in-block</a>/0"</span>) <span id="L3048" class="LineNr"> 3048 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-branches-in-block/1"</span>) @@ -2888,7 +2888,7 @@ if ('onhashchange' in window) { <span id="L3096" class="LineNr"> 3096 </span> <span class="subxComment"># convert</span> <span id="L3097" class="LineNr"> 3097 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L3098" class="LineNr"> 3098 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L3099" class="Folded"> 3099 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3099" class="Folded"> 3099 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3105" class="LineNr"> 3105 </span> <span class="subxComment"># check output</span> <span id="L3106" class="LineNr"> 3106 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L3078'>test-convert-function-with-branches-in-named-block</a>/0"</span>) <span id="L3107" class="LineNr"> 3107 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-branches-in-named-block/1"</span>) @@ -2942,7 +2942,7 @@ if ('onhashchange' in window) { <span id="L3155" class="LineNr"> 3155 </span> <span class="subxComment"># convert</span> <span id="L3156" class="LineNr"> 3156 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L3157" class="LineNr"> 3157 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L3158" class="Folded"> 3158 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3158" class="Folded"> 3158 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3164" class="LineNr"> 3164 </span> <span class="subxComment"># check output</span> <span id="L3165" class="LineNr"> 3165 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L3137'>test-convert-function-with-var-in-nested-block</a>/0"</span>) <span id="L3166" class="LineNr"> 3166 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-var-in-nested-block/1"</span>) @@ -2994,7 +2994,7 @@ if ('onhashchange' in window) { <span id="L3212" class="LineNr"> 3212 </span> <span class="subxComment"># convert</span> <span id="L3213" class="LineNr"> 3213 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L3214" class="LineNr"> 3214 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L3215" class="Folded"> 3215 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3215" class="Folded"> 3215 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3221" class="LineNr"> 3221 </span> <span class="subxComment"># check output</span> <span id="L3222" class="LineNr"> 3222 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L3193'>test-convert-function-with-multiple-vars-in-nested-blocks</a>/0"</span>) <span id="L3223" class="LineNr"> 3223 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-multiple-vars-in-nested-blocks/1"</span>) @@ -3050,7 +3050,7 @@ if ('onhashchange' in window) { <span id="L3273" class="LineNr"> 3273 </span> <span class="subxComment"># convert</span> <span id="L3274" class="LineNr"> 3274 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L3275" class="LineNr"> 3275 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L3276" class="Folded"> 3276 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3276" class="Folded"> 3276 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3282" class="LineNr"> 3282 </span> <span class="subxComment"># check output</span> <span id="L3283" class="LineNr"> 3283 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L3253'>test-convert-function-with-branches-and-local-vars</a>/0"</span>) <span id="L3284" class="LineNr"> 3284 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-branches-and-local-vars/1"</span>) @@ -3104,7 +3104,7 @@ if ('onhashchange' in window) { <span id="L3332" class="LineNr"> 3332 </span> <span class="subxComment"># convert</span> <span id="L3333" class="LineNr"> 3333 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L3334" class="LineNr"> 3334 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L3335" class="Folded"> 3335 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3335" class="Folded"> 3335 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3341" class="LineNr"> 3341 </span> <span class="subxComment"># check output</span> <span id="L3342" class="LineNr"> 3342 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L3312'>test-convert-function-with-conditional-loops-and-local-vars</a>/0"</span>) <span id="L3343" class="LineNr"> 3343 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-conditional-loops-and-local-vars/1"</span>) @@ -3158,7 +3158,7 @@ if ('onhashchange' in window) { <span id="L3391" class="LineNr"> 3391 </span> <span class="subxComment"># convert</span> <span id="L3392" class="LineNr"> 3392 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L3393" class="LineNr"> 3393 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L3394" class="Folded"> 3394 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3394" class="Folded"> 3394 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3400" class="LineNr"> 3400 </span> <span class="subxComment"># check output</span> <span id="L3401" class="LineNr"> 3401 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L3371'>test-convert-function-with-unconditional-loops-and-local-vars</a>/0"</span>) <span id="L3402" class="LineNr"> 3402 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-unconditional-loops-and-local-vars/1"</span>) @@ -3206,7 +3206,7 @@ if ('onhashchange' in window) { <span id="L3444" class="LineNr"> 3444 </span> <span class="subxComment"># convert</span> <span id="L3445" class="LineNr"> 3445 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L3446" class="LineNr"> 3446 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L3447" class="Folded"> 3447 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3447" class="Folded"> 3447 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3453" class="LineNr"> 3453 </span> <span class="subxComment"># check output</span> <span id="L3454" class="LineNr"> 3454 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L3426'>test-convert-function-with-branches-and-loops-and-local-vars</a>/0"</span>) <span id="L3455" class="LineNr"> 3455 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-branches-and-loops-and-local-vars/1"</span>) @@ -3262,7 +3262,7 @@ if ('onhashchange' in window) { <span id="L3505" class="LineNr"> 3505 </span> <span class="subxComment"># convert</span> <span id="L3506" class="LineNr"> 3506 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L3507" class="LineNr"> 3507 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L3508" class="Folded"> 3508 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3508" class="Folded"> 3508 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3514" class="LineNr"> 3514 </span> <span class="subxComment"># check output</span> <span id="L3515" class="LineNr"> 3515 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L3484'>test-convert-function-with-nonlocal-branches-and-loops-and-local-vars</a>/0"</span>) <span id="L3516" class="LineNr"> 3516 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-nonlocal-branches-and-loops-and-local-vars/1"</span>) @@ -3323,7 +3323,7 @@ if ('onhashchange' in window) { <span id="L3571" class="LineNr"> 3571 </span> <span class="subxComment"># convert</span> <span id="L3572" class="LineNr"> 3572 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L3573" class="LineNr"> 3573 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L3574" class="Folded"> 3574 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3574" class="Folded"> 3574 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3580" class="LineNr"> 3580 </span> <span class="subxComment"># check output</span> <span id="L3581" class="LineNr"> 3581 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L3552'>test-convert-function-with-nonlocal-branches-and-loops-and-local-vars-2</a>/0"</span>) <span id="L3582" class="LineNr"> 3582 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-nonlocal-branches-and-loops-and-local-vars-2/1"</span>) @@ -3379,7 +3379,7 @@ if ('onhashchange' in window) { <span id="L3632" class="LineNr"> 3632 </span> <span class="subxComment"># convert</span> <span id="L3633" class="LineNr"> 3633 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L3634" class="LineNr"> 3634 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L3635" class="Folded"> 3635 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3635" class="Folded"> 3635 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3641" class="LineNr"> 3641 </span> <span class="subxComment"># check output</span> <span id="L3642" class="LineNr"> 3642 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L3613'>test-convert-function-with-nonlocal-branches-and-loops-and-local-vars-3</a>/0"</span>) <span id="L3643" class="LineNr"> 3643 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-nonlocal-branches-and-loops-and-local-vars-3/1"</span>) @@ -3431,7 +3431,7 @@ if ('onhashchange' in window) { <span id="L3689" class="LineNr"> 3689 </span> <span class="subxComment"># convert</span> <span id="L3690" class="LineNr"> 3690 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L3691" class="LineNr"> 3691 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L3692" class="Folded"> 3692 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3692" class="Folded"> 3692 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3698" class="LineNr"> 3698 </span> <span class="subxComment"># check output</span> <span id="L3699" class="LineNr"> 3699 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L3671'>test-convert-function-with-nonlocal-branches-and-loops-and-local-vars-4</a>/0"</span>) <span id="L3700" class="LineNr"> 3700 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-nonlocal-branches-and-loops-and-local-vars-4/1"</span>) @@ -3486,7 +3486,7 @@ if ('onhashchange' in window) { <span id="L3749" class="LineNr"> 3749 </span> <span class="subxComment"># convert</span> <span id="L3750" class="LineNr"> 3750 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L3751" class="LineNr"> 3751 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L3752" class="Folded"> 3752 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3752" class="Folded"> 3752 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3758" class="LineNr"> 3758 </span> <span class="subxComment"># check output</span> <span id="L3759" class="LineNr"> 3759 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L3729'>test-convert-function-with-nonlocal-unconditional-break-and-local-vars</a>/0"</span>) <span id="L3760" class="LineNr"> 3760 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-nonlocal-unconditional-break-and-local-vars/1"</span>) @@ -3542,7 +3542,7 @@ if ('onhashchange' in window) { <span id="L3810" class="LineNr"> 3810 </span> <span class="subxComment"># convert</span> <span id="L3811" class="LineNr"> 3811 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L3812" class="LineNr"> 3812 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L3813" class="Folded"> 3813 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3813" class="Folded"> 3813 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3819" class="LineNr"> 3819 </span> <span class="subxComment"># check output</span> <span id="L3820" class="LineNr"> 3820 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L3790'>test-convert-function-with-unconditional-break-and-local-vars</a>/0"</span>) <span id="L3821" class="LineNr"> 3821 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-unconditional-break-and-local-vars/1"</span>) @@ -3596,7 +3596,7 @@ if ('onhashchange' in window) { <span id="L3869" class="LineNr"> 3869 </span> <span class="subxComment"># convert</span> <span id="L3870" class="LineNr"> 3870 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L3871" class="LineNr"> 3871 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L3872" class="Folded"> 3872 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3872" class="Folded"> 3872 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3878" class="LineNr"> 3878 </span> <span class="subxComment"># check output</span> <span id="L3879" class="LineNr"> 3879 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L3849'>test-convert-function-with-nonlocal-unconditional-loop-and-local-vars</a>/0"</span>) <span id="L3880" class="LineNr"> 3880 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-nonlocal-unconditional-loop-and-local-vars/1"</span>) @@ -3645,7 +3645,7 @@ if ('onhashchange' in window) { <span id="L3923" class="LineNr"> 3923 </span> <span class="subxComment"># convert</span> <span id="L3924" class="LineNr"> 3924 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L3925" class="LineNr"> 3925 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L3926" class="Folded"> 3926 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3926" class="Folded"> 3926 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3932" class="LineNr"> 3932 </span> <span class="subxComment"># check output</span> <span id="L3933" class="LineNr"> 3933 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L3910'>test-convert-function-with-local-array-var-in-mem</a>/0"</span>) <span id="L3934" class="LineNr"> 3934 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-local-array-var-in-mem/1"</span>) @@ -3697,7 +3697,7 @@ if ('onhashchange' in window) { <span id="L3980" class="LineNr"> 3980 </span> 89/<- %edx 4/r32/esp <span id="L3981" class="LineNr"> 3981 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L3982" class="LineNr"> 3982 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L3983" class="Folded"> 3983 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3983" class="Folded"> 3983 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3989" class="LineNr"> 3989 </span> <span class="subxComment"># check output</span> <span id="L3990" class="LineNr"> 3990 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L3956'>test-array-size-in-hex</a>: output should be empty"</span>) <span id="L3991" class="LineNr"> 3991 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"literal integers are always hex in Mu; either start '10' with a '0x' to be unambiguous, or convert it to decimal."</span> <span class="Constant">"F - <a href='mu.subx.html#L3956'>test-array-size-in-hex</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -3726,7 +3726,7 @@ if ('onhashchange' in window) { <span id="L4014" class="LineNr"> 4014 </span> <span class="subxComment"># convert</span> <span id="L4015" class="LineNr"> 4015 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L4016" class="LineNr"> 4016 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L4017" class="Folded"> 4017 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4017" class="Folded"> 4017 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4023" class="LineNr"> 4023 </span> <span class="subxComment"># check output</span> <span id="L4024" class="LineNr"> 4024 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L4000'>test-convert-function-with-populate</a>/0"</span>) <span id="L4025" class="LineNr"> 4025 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-populate/1"</span>) @@ -3766,7 +3766,7 @@ if ('onhashchange' in window) { <span id="L4059" class="LineNr"> 4059 </span> <span class="subxComment"># convert</span> <span id="L4060" class="LineNr"> 4060 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L4061" class="LineNr"> 4061 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L4062" class="Folded"> 4062 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4062" class="Folded"> 4062 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4068" class="LineNr"> 4068 </span> <span class="subxComment"># check output</span> <span id="L4069" class="LineNr"> 4069 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L4046'>test-convert-function-with-local-array-of-bytes-in-mem</a>/0"</span>) <span id="L4070" class="LineNr"> 4070 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-local-array-of-bytes-in-mem/1"</span>) @@ -3808,7 +3808,7 @@ if ('onhashchange' in window) { <span id="L4106" class="LineNr"> 4106 </span> <span class="subxComment"># convert</span> <span id="L4107" class="LineNr"> 4107 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L4108" class="LineNr"> 4108 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L4109" class="Folded"> 4109 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4109" class="Folded"> 4109 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4115" class="LineNr"> 4115 </span> <span class="subxComment"># check output</span> <span id="L4116" class="LineNr"> 4116 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L4092'>test-convert-address</a>/0"</span>) <span id="L4117" class="LineNr"> 4117 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-address/1"</span>) @@ -3849,7 +3849,7 @@ if ('onhashchange' in window) { <span id="L4152" class="LineNr"> 4152 </span> <span class="subxComment"># convert</span> <span id="L4153" class="LineNr"> 4153 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L4154" class="LineNr"> 4154 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L4155" class="Folded"> 4155 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4155" class="Folded"> 4155 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4161" class="LineNr"> 4161 </span> <span class="subxComment"># check output</span> <span id="L4162" class="LineNr"> 4162 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L4138'>test-convert-length-of-array</a>/0"</span>) <span id="L4163" class="LineNr"> 4163 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-length-of-array/1"</span>) @@ -3891,7 +3891,7 @@ if ('onhashchange' in window) { <span id="L4199" class="LineNr"> 4199 </span> <span class="subxComment"># convert</span> <span id="L4200" class="LineNr"> 4200 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L4201" class="LineNr"> 4201 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L4202" class="Folded"> 4202 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4202" class="Folded"> 4202 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4208" class="LineNr"> 4208 </span> <span class="subxComment"># check output</span> <span id="L4209" class="LineNr"> 4209 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L4185'>test-convert-length-of-array-of-bytes</a>/0"</span>) <span id="L4210" class="LineNr"> 4210 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-length-of-array-of-bytes/1"</span>) @@ -3931,7 +3931,7 @@ if ('onhashchange' in window) { <span id="L4244" class="LineNr"> 4244 </span> <span class="subxComment"># convert</span> <span id="L4245" class="LineNr"> 4245 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L4246" class="LineNr"> 4246 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L4247" class="Folded"> 4247 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4247" class="Folded"> 4247 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4253" class="LineNr"> 4253 </span> <span class="subxComment"># check output</span> <span id="L4254" class="LineNr"> 4254 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L4230'>test-convert-length-of-array-on-stack</a>/0"</span>) <span id="L4255" class="LineNr"> 4255 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-length-of-array-on-stack/1"</span>) @@ -3987,8 +3987,8 @@ if ('onhashchange' in window) { <span id="L4305" class="LineNr"> 4305 </span> 89/<- %edx 4/r32/esp <span id="L4306" class="LineNr"> 4306 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L4307" class="LineNr"> 4307 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L4308" class="Folded"> 4308 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> -<span id="L4314" class="Folded"> 4314 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4308" class="Folded"> 4308 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4314" class="Folded"> 4314 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4320" class="LineNr"> 4320 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L4279'>test-reg-var-def-with-read-of-same-register</a>: <a href='../114error.subx.html#L9'>error</a> stream should be empty"</span>) <span id="L4321" class="LineNr"> 4321 </span> <span class="subxComment"># check output</span> <span id="L4322" class="LineNr"> 4322 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L4279'>test-reg-var-def-with-read-of-same-register</a>/0"</span>) @@ -4034,7 +4034,7 @@ if ('onhashchange' in window) { <span id="L4362" class="LineNr"> 4362 </span> <span class="subxComment"># convert</span> <span id="L4363" class="LineNr"> 4363 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L4364" class="LineNr"> 4364 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L4365" class="Folded"> 4365 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4365" class="Folded"> 4365 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4371" class="LineNr"> 4371 </span> <span class="subxComment"># check output</span> <span id="L4372" class="LineNr"> 4372 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L4347'>test-convert-index-into-array</a>/0"</span>) <span id="L4373" class="LineNr"> 4373 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-index-into-array/1"</span>) @@ -4078,7 +4078,7 @@ if ('onhashchange' in window) { <span id="L4411" class="LineNr"> 4411 </span> <span class="subxComment"># convert</span> <span id="L4412" class="LineNr"> 4412 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L4413" class="LineNr"> 4413 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L4414" class="Folded"> 4414 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4414" class="Folded"> 4414 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4420" class="LineNr"> 4420 </span> <span class="subxComment"># check output</span> <span id="L4421" class="LineNr"> 4421 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L4396'>test-convert-index-into-array-of-bytes</a>/0"</span>) <span id="L4422" class="LineNr"> 4422 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-index-into-array-of-bytes/1"</span>) @@ -4121,7 +4121,7 @@ if ('onhashchange' in window) { <span id="L4459" class="LineNr"> 4459 </span> <span class="subxComment"># convert</span> <span id="L4460" class="LineNr"> 4460 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L4461" class="LineNr"> 4461 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L4462" class="Folded"> 4462 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4462" class="Folded"> 4462 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4468" class="LineNr"> 4468 </span> <span class="subxComment"># check output</span> <span id="L4469" class="LineNr"> 4469 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L4445'>test-convert-index-into-array-with-literal</a>/0"</span>) <span id="L4470" class="LineNr"> 4470 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-index-into-array-with-literal/1"</span>) @@ -4162,7 +4162,7 @@ if ('onhashchange' in window) { <span id="L4505" class="LineNr"> 4505 </span> <span class="subxComment"># convert</span> <span id="L4506" class="LineNr"> 4506 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L4507" class="LineNr"> 4507 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L4508" class="Folded"> 4508 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4508" class="Folded"> 4508 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4514" class="LineNr"> 4514 </span> <span class="subxComment"># check output</span> <span id="L4515" class="LineNr"> 4515 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L4491'>test-convert-index-into-array-of-bytes-with-literal</a>/0"</span>) <span id="L4516" class="LineNr"> 4516 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-index-into-array-of-bytes-with-literal/1"</span>) @@ -4204,7 +4204,7 @@ if ('onhashchange' in window) { <span id="L4552" class="LineNr"> 4552 </span> <span class="subxComment"># convert</span> <span id="L4553" class="LineNr"> 4553 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L4554" class="LineNr"> 4554 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L4555" class="Folded"> 4555 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4555" class="Folded"> 4555 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4561" class="LineNr"> 4561 </span> <span class="subxComment"># check output</span> <span id="L4562" class="LineNr"> 4562 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L4537'>test-convert-index-into-array-on-stack</a>/0"</span>) <span id="L4563" class="LineNr"> 4563 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-index-into-array-on-stack/1"</span>) @@ -4253,7 +4253,7 @@ if ('onhashchange' in window) { <span id="L4606" class="LineNr"> 4606 </span> <span class="subxComment"># convert</span> <span id="L4607" class="LineNr"> 4607 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L4608" class="LineNr"> 4608 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L4609" class="Folded"> 4609 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4609" class="Folded"> 4609 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4615" class="LineNr"> 4615 </span> <span class="subxComment"># check output</span> <span id="L4616" class="LineNr"> 4616 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L4592'>test-convert-index-into-array-on-stack-with-literal</a>/0"</span>) <span id="L4617" class="LineNr"> 4617 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-index-into-array-on-stack-with-literal/1"</span>) @@ -4301,7 +4301,7 @@ if ('onhashchange' in window) { <span id="L4659" class="LineNr"> 4659 </span> <span class="subxComment"># convert</span> <span id="L4660" class="LineNr"> 4660 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L4661" class="LineNr"> 4661 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L4662" class="Folded"> 4662 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4662" class="Folded"> 4662 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4668" class="LineNr"> 4668 </span> <span class="subxComment"># check output</span> <span id="L4669" class="LineNr"> 4669 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L4645'>test-convert-index-into-array-of-bytes-on-stack-with-literal</a>/0"</span>) <span id="L4670" class="LineNr"> 4670 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-index-into-array-of-bytes-on-stack-with-literal/1"</span>) @@ -4351,7 +4351,7 @@ if ('onhashchange' in window) { <span id="L4714" class="LineNr"> 4714 </span> <span class="subxComment"># convert</span> <span id="L4715" class="LineNr"> 4715 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L4716" class="LineNr"> 4716 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L4717" class="Folded"> 4717 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4717" class="Folded"> 4717 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4723" class="LineNr"> 4723 </span> <span class="subxComment"># check output</span> <span id="L4724" class="LineNr"> 4724 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L4698'>test-convert-index-into-array-using-offset</a>/0"</span>) <span id="L4725" class="LineNr"> 4725 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-index-into-array-using-offset/1"</span>) @@ -4397,7 +4397,7 @@ if ('onhashchange' in window) { <span id="L4765" class="LineNr"> 4765 </span> <span class="subxComment"># convert</span> <span id="L4766" class="LineNr"> 4766 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L4767" class="LineNr"> 4767 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L4768" class="Folded"> 4768 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4768" class="Folded"> 4768 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4774" class="LineNr"> 4774 </span> <span class="subxComment"># check output</span> <span id="L4775" class="LineNr"> 4775 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L4749'>test-convert-index-into-array-of-bytes-using-offset</a>/0"</span>) <span id="L4776" class="LineNr"> 4776 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-index-into-array-of-bytes-using-offset/1"</span>) @@ -4443,7 +4443,7 @@ if ('onhashchange' in window) { <span id="L4816" class="LineNr"> 4816 </span> <span class="subxComment"># convert</span> <span id="L4817" class="LineNr"> 4817 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L4818" class="LineNr"> 4818 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L4819" class="Folded"> 4819 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4819" class="Folded"> 4819 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4825" class="LineNr"> 4825 </span> <span class="subxComment"># check output</span> <span id="L4826" class="LineNr"> 4826 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L4800'>test-convert-index-into-array-using-offset-on-stack</a>/0"</span>) <span id="L4827" class="LineNr"> 4827 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-index-into-array-using-offset-on-stack/1"</span>) @@ -4490,7 +4490,7 @@ if ('onhashchange' in window) { <span id="L4868" class="LineNr"> 4868 </span> <span class="subxComment"># convert</span> <span id="L4869" class="LineNr"> 4869 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L4870" class="LineNr"> 4870 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L4871" class="Folded"> 4871 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4871" class="Folded"> 4871 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4877" class="LineNr"> 4877 </span> <span class="subxComment"># check output</span> <span id="L4878" class="LineNr"> 4878 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L4852'>test-convert-index-into-array-of-bytes-using-offset-on-stack</a>/0"</span>) <span id="L4879" class="LineNr"> 4879 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-index-into-array-of-bytes-using-offset-on-stack/1"</span>) @@ -4540,7 +4540,7 @@ if ('onhashchange' in window) { <span id="L4923" class="LineNr"> 4923 </span> <span class="subxComment"># convert</span> <span id="L4924" class="LineNr"> 4924 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L4925" class="LineNr"> 4925 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L4926" class="Folded"> 4926 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4926" class="Folded"> 4926 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4932" class="LineNr"> 4932 </span> <span class="subxComment"># check output</span> <span id="L4933" class="LineNr"> 4933 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L4904'>test-convert-function-and-type-definition</a>/0"</span>) <span id="L4934" class="LineNr"> 4934 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-and-type-definition/1"</span>) @@ -4593,7 +4593,7 @@ if ('onhashchange' in window) { <span id="L4981" class="LineNr"> 4981 </span> 89/<- %edx 4/r32/esp <span id="L4982" class="LineNr"> 4982 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L4983" class="LineNr"> 4983 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L4984" class="Folded"> 4984 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4984" class="Folded"> 4984 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4990" class="LineNr"> 4990 </span> <span class="subxComment"># check output</span> <span id="L4991" class="LineNr"> 4991 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L4957'>test-type-definition-with-array</a>: output should be empty"</span>) <span id="L4992" class="LineNr"> 4992 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"type t: 'array' elements not allowed for now"</span> <span class="Constant">"F - <a href='mu.subx.html#L4957'>test-type-definition-with-array</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -4632,7 +4632,7 @@ if ('onhashchange' in window) { <span id="L5025" class="LineNr"> 5025 </span> 89/<- %edx 4/r32/esp <span id="L5026" class="LineNr"> 5026 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L5027" class="LineNr"> 5027 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L5028" class="Folded"> 5028 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5028" class="Folded"> 5028 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5034" class="LineNr"> 5034 </span> <span class="subxComment"># check output</span> <span id="L5035" class="LineNr"> 5035 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L5001'>test-type-definition-with-addr</a>: output should be empty"</span>) <span id="L5036" class="LineNr"> 5036 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"type t: 'addr' elements not allowed"</span> <span class="Constant">"F - <a href='mu.subx.html#L5001'>test-type-definition-with-addr</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -4664,7 +4664,7 @@ if ('onhashchange' in window) { <span id="L5062" class="LineNr"> 5062 </span> <span class="subxComment"># convert</span> <span id="L5063" class="LineNr"> 5063 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L5064" class="LineNr"> 5064 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L5065" class="Folded"> 5065 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5065" class="Folded"> 5065 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5071" class="LineNr"> 5071 </span> <span class="subxComment"># check output</span> <span id="L5072" class="LineNr"> 5072 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L5045'>test-convert-function-with-local-var-with-user-defined-type</a>/0"</span>) <span id="L5073" class="LineNr"> 5073 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-local-var-with-user-defined-type/1"</span>) @@ -4708,7 +4708,7 @@ if ('onhashchange' in window) { <span id="L5111" class="LineNr"> 5111 </span> <span class="subxComment"># convert</span> <span id="L5112" class="LineNr"> 5112 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L5113" class="LineNr"> 5113 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L5114" class="Folded"> 5114 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5114" class="Folded"> 5114 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5120" class="LineNr"> 5120 </span> <span class="subxComment"># check output</span> <span id="L5121" class="LineNr"> 5121 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L5092'>test-convert-function-with-local-var-with-user-defined-type-containing-user-defined-type</a>/0"</span>) <span id="L5122" class="LineNr"> 5122 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-with-local-var-with-user-defined-type-containing-user-defined-type/1"</span>) @@ -4752,7 +4752,7 @@ if ('onhashchange' in window) { <span id="L5160" class="LineNr"> 5160 </span> <span class="subxComment"># convert</span> <span id="L5161" class="LineNr"> 5161 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L5162" class="LineNr"> 5162 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L5163" class="Folded"> 5163 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5163" class="Folded"> 5163 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5169" class="LineNr"> 5169 </span> <span class="subxComment"># check output</span> <span id="L5170" class="LineNr"> 5170 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"f:"</span> <span class="Constant">"F - <a href='mu.subx.html#L5140'>test-convert-function-call-with-arg-of-user-defined-type</a>/0"</span>) <span id="L5171" class="LineNr"> 5171 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-call-with-arg-of-user-defined-type/1"</span>) @@ -4809,7 +4809,7 @@ if ('onhashchange' in window) { <span id="L5222" class="LineNr"> 5222 </span> <span class="subxComment"># convert</span> <span id="L5223" class="LineNr"> 5223 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L5224" class="LineNr"> 5224 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L5225" class="Folded"> 5225 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5225" class="Folded"> 5225 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5231" class="LineNr"> 5231 </span> <span class="subxComment"># check output</span> <span id="L5232" class="LineNr"> 5232 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"f:"</span> <span class="Constant">"F - <a href='mu.subx.html#L5140'>test-convert-function-call-with-arg-of-user-defined-type</a>/0"</span>) <span id="L5233" class="LineNr"> 5233 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-call-with-arg-of-user-defined-type/1"</span>) @@ -4871,7 +4871,7 @@ if ('onhashchange' in window) { <span id="L5289" class="LineNr"> 5289 </span> <span class="subxComment"># convert</span> <span id="L5290" class="LineNr"> 5290 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L5291" class="LineNr"> 5291 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L5292" class="Folded"> 5292 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5292" class="Folded"> 5292 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5298" class="LineNr"> 5298 </span> <span class="subxComment"># check output</span> <span id="L5299" class="LineNr"> 5299 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"f:"</span> <span class="Constant">"F - <a href='mu.subx.html#L5266'>test-convert-function-call-with-arg-of-user-defined-type-by-reference</a>/0"</span>) <span id="L5300" class="LineNr"> 5300 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-function-call-with-arg-of-user-defined-type-by-reference/1"</span>) @@ -4938,7 +4938,7 @@ if ('onhashchange' in window) { <span id="L5361" class="LineNr"> 5361 </span> <span class="subxComment"># convert</span> <span id="L5362" class="LineNr"> 5362 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L5363" class="LineNr"> 5363 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L5364" class="Folded"> 5364 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5364" class="Folded"> 5364 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5370" class="LineNr"> 5370 </span> <span class="subxComment"># check output</span> <span id="L5371" class="LineNr"> 5371 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L5343'>test-convert-get-on-local-variable</a>/0"</span>) <span id="L5372" class="LineNr"> 5372 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-get-on-local-variable/1"</span>) @@ -4988,7 +4988,7 @@ if ('onhashchange' in window) { <span id="L5416" class="LineNr"> 5416 </span> <span class="subxComment"># convert</span> <span id="L5417" class="LineNr"> 5417 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L5418" class="LineNr"> 5418 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L5419" class="Folded"> 5419 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5419" class="Folded"> 5419 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5425" class="LineNr"> 5425 </span> <span class="subxComment"># check output</span> <span id="L5426" class="LineNr"> 5426 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L5399'>test-convert-get-on-function-argument</a>/0"</span>) <span id="L5427" class="LineNr"> 5427 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-get-on-function-argument/1"</span>) @@ -5033,7 +5033,7 @@ if ('onhashchange' in window) { <span id="L5466" class="LineNr"> 5466 </span> <span class="subxComment"># convert</span> <span id="L5467" class="LineNr"> 5467 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L5468" class="LineNr"> 5468 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L5469" class="Folded"> 5469 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5469" class="Folded"> 5469 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5475" class="LineNr"> 5475 </span> <span class="subxComment"># check output</span> <span id="L5476" class="LineNr"> 5476 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L5449'>test-convert-get-on-function-argument-with-known-type</a>/0"</span>) <span id="L5477" class="LineNr"> 5477 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-get-on-function-argument-with-known-type/1"</span>) @@ -5086,7 +5086,7 @@ if ('onhashchange' in window) { <span id="L5524" class="LineNr"> 5524 </span> 89/<- %edx 4/r32/esp <span id="L5525" class="LineNr"> 5525 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L5526" class="LineNr"> 5526 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L5527" class="Folded"> 5527 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5527" class="Folded"> 5527 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5533" class="LineNr"> 5533 </span> <span class="subxComment"># check output</span> <span id="L5534" class="LineNr"> 5534 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L5499'>test-add-with-too-many-inouts</a>: output should be empty"</span>) <span id="L5535" class="LineNr"> 5535 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt add: too many inouts; most primitives support at most two arguments, across inouts and outputs"</span> <span class="Constant">"F - <a href='mu.subx.html#L5499'>test-add-with-too-many-inouts</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -5126,7 +5126,7 @@ if ('onhashchange' in window) { <span id="L5569" class="LineNr"> 5569 </span> 89/<- %edx 4/r32/esp <span id="L5570" class="LineNr"> 5570 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L5571" class="LineNr"> 5571 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L5572" class="Folded"> 5572 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5572" class="Folded"> 5572 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5578" class="LineNr"> 5578 </span> <span class="subxComment"># check output</span> <span id="L5579" class="LineNr"> 5579 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L5544'>test-add-with-too-many-inouts-2</a>: output should be empty"</span>) <span id="L5580" class="LineNr"> 5580 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt add-to: too many inouts; most primitives support at most two arguments, across inouts and outputs"</span> <span class="Constant">"F - <a href='mu.subx.html#L5544'>test-add-with-too-many-inouts-2</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -5168,7 +5168,7 @@ if ('onhashchange' in window) { <span id="L5616" class="LineNr"> 5616 </span> 89/<- %edx 4/r32/esp <span id="L5617" class="LineNr"> 5617 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L5618" class="LineNr"> 5618 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L5619" class="Folded"> 5619 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5619" class="Folded"> 5619 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5625" class="LineNr"> 5625 </span> <span class="subxComment"># check output</span> <span id="L5626" class="LineNr"> 5626 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L5589'>test-add-with-too-many-outputs</a>: output should be empty"</span>) <span id="L5627" class="LineNr"> 5627 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt add: too many outputs; most primitives support at most one output"</span> <span class="Constant">"F - <a href='mu.subx.html#L5589'>test-add-with-too-many-outputs</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -5208,7 +5208,7 @@ if ('onhashchange' in window) { <span id="L5661" class="LineNr"> 5661 </span> 89/<- %edx 4/r32/esp <span id="L5662" class="LineNr"> 5662 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L5663" class="LineNr"> 5663 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L5664" class="Folded"> 5664 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5664" class="Folded"> 5664 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5670" class="LineNr"> 5670 </span> <span class="subxComment"># check output</span> <span id="L5671" class="LineNr"> 5671 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L5636'>test-add-with-non-number</a>: output should be empty"</span>) <span id="L5672" class="LineNr"> 5672 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt add: only non-addr scalar args permitted"</span> <span class="Constant">"F - <a href='mu.subx.html#L5636'>test-add-with-non-number</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -5274,7 +5274,7 @@ if ('onhashchange' in window) { <span id="L5732" class="LineNr"> 5732 </span> 89/<- %edx 4/r32/esp <span id="L5733" class="LineNr"> 5733 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L5734" class="LineNr"> 5734 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L5735" class="Folded"> 5735 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5735" class="Folded"> 5735 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5741" class="LineNr"> 5741 </span> <span class="subxComment"># check output</span> <span id="L5742" class="LineNr"> 5742 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L5704'>test-get-with-wrong-field</a>: output should be empty"</span>) <span id="L5743" class="LineNr"> 5743 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt <a href='../131table.subx.html#L26'>get</a>: type 't' has no member called 'y'"</span> <span class="Constant">"F - <a href='mu.subx.html#L5704'>test-get-with-wrong-field</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -5314,7 +5314,7 @@ if ('onhashchange' in window) { <span id="L5777" class="LineNr"> 5777 </span> 89/<- %edx 4/r32/esp <span id="L5778" class="LineNr"> 5778 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L5779" class="LineNr"> 5779 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L5780" class="Folded"> 5780 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5780" class="Folded"> 5780 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5786" class="LineNr"> 5786 </span> <span class="subxComment"># check output</span> <span id="L5787" class="LineNr"> 5787 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L5752'>test-get-with-wrong-base-type</a>: output should be empty"</span>) <span id="L5788" class="LineNr"> 5788 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt <a href='../131table.subx.html#L26'>get</a>: var 'a' must have a 'type' definition"</span> <span class="Constant">"F - <a href='mu.subx.html#L5752'>test-get-with-wrong-base-type</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -5357,7 +5357,7 @@ if ('onhashchange' in window) { <span id="L5825" class="LineNr"> 5825 </span> 89/<- %edx 4/r32/esp <span id="L5826" class="LineNr"> 5826 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L5827" class="LineNr"> 5827 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L5828" class="Folded"> 5828 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5828" class="Folded"> 5828 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5834" class="LineNr"> 5834 </span> <span class="subxComment"># check output</span> <span id="L5835" class="LineNr"> 5835 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L5797'>test-get-with-wrong-base-type-2</a>: output should be empty"</span>) <span id="L5836" class="LineNr"> 5836 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt <a href='../131table.subx.html#L26'>get</a>: var 'a' is an 'addr' type, and so must live in a register"</span> <span class="Constant">"F - <a href='mu.subx.html#L5797'>test-get-with-wrong-base-type-2</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -5401,7 +5401,7 @@ if ('onhashchange' in window) { <span id="L5874" class="LineNr"> 5874 </span> 89/<- %edx 4/r32/esp <span id="L5875" class="LineNr"> 5875 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L5876" class="LineNr"> 5876 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L5877" class="Folded"> 5877 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5877" class="Folded"> 5877 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5883" class="LineNr"> 5883 </span> <span class="subxComment"># check output</span> <span id="L5884" class="LineNr"> 5884 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L5845'>test-get-with-wrong-offset-type</a>: output should be empty"</span>) <span id="L5885" class="LineNr"> 5885 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt <a href='../131table.subx.html#L26'>get</a>: type 't' has no member called 'b'"</span> <span class="Constant">"F - <a href='mu.subx.html#L5845'>test-get-with-wrong-offset-type</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -5445,7 +5445,7 @@ if ('onhashchange' in window) { <span id="L5923" class="LineNr"> 5923 </span> 89/<- %edx 4/r32/esp <span id="L5924" class="LineNr"> 5924 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L5925" class="LineNr"> 5925 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L5926" class="Folded"> 5926 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5926" class="Folded"> 5926 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5932" class="LineNr"> 5932 </span> <span class="subxComment"># check output</span> <span id="L5933" class="LineNr"> 5933 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L5894'>test-get-with-wrong-output-type</a>: output should be empty"</span>) <span id="L5934" class="LineNr"> 5934 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt <a href='../131table.subx.html#L26'>get</a>: output 'c' is not in a register"</span> <span class="Constant">"F - <a href='mu.subx.html#L5894'>test-get-with-wrong-output-type</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -5488,7 +5488,7 @@ if ('onhashchange' in window) { <span id="L5971" class="LineNr"> 5971 </span> 89/<- %edx 4/r32/esp <span id="L5972" class="LineNr"> 5972 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L5973" class="LineNr"> 5973 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L5974" class="Folded"> 5974 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5974" class="Folded"> 5974 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5980" class="LineNr"> 5980 </span> <span class="subxComment"># check output</span> <span id="L5981" class="LineNr"> 5981 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L5943'>test-get-with-wrong-output-type-2</a>: output should be empty"</span>) <span id="L5982" class="LineNr"> 5982 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt <a href='../131table.subx.html#L26'>get</a>: output must be an address"</span> <span class="Constant">"F - <a href='mu.subx.html#L5943'>test-get-with-wrong-output-type-2</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -5531,7 +5531,7 @@ if ('onhashchange' in window) { <span id="L6019" class="LineNr"> 6019 </span> 89/<- %edx 4/r32/esp <span id="L6020" class="LineNr"> 6020 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L6021" class="LineNr"> 6021 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L6022" class="Folded"> 6022 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L6022" class="Folded"> 6022 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L6028" class="LineNr"> 6028 </span> <span class="subxComment"># check output</span> <span id="L6029" class="LineNr"> 6029 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L5991'>test-get-with-wrong-output-type-3</a>: output should be empty"</span>) <span id="L6030" class="LineNr"> 6030 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt <a href='../131table.subx.html#L26'>get</a>: output must be an address"</span> <span class="Constant">"F - <a href='mu.subx.html#L5991'>test-get-with-wrong-output-type-3</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -5574,7 +5574,7 @@ if ('onhashchange' in window) { <span id="L6067" class="LineNr"> 6067 </span> 89/<- %edx 4/r32/esp <span id="L6068" class="LineNr"> 6068 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L6069" class="LineNr"> 6069 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L6070" class="Folded"> 6070 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L6070" class="Folded"> 6070 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L6076" class="LineNr"> 6076 </span> <span class="subxComment"># check output</span> <span id="L6077" class="LineNr"> 6077 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L6039'>test-get-with-wrong-output-type-4</a>: output should be empty"</span>) <span id="L6078" class="LineNr"> 6078 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt <a href='../131table.subx.html#L26'>get</a>: wrong output type for member 'x' of type 't'"</span> <span class="Constant">"F - <a href='mu.subx.html#L6039'>test-get-with-wrong-output-type-4</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -5643,7 +5643,7 @@ if ('onhashchange' in window) { <span id="L6141" class="LineNr"> 6141 </span> 89/<- %edx 4/r32/esp <span id="L6142" class="LineNr"> 6142 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L6143" class="LineNr"> 6143 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L6144" class="Folded"> 6144 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L6144" class="Folded"> 6144 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L6150" class="LineNr"> 6150 </span> <span class="subxComment"># check output</span> <span id="L6151" class="LineNr"> 6151 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L6113'>test-get-with-too-few-inouts</a>: output should be empty"</span>) <span id="L6152" class="LineNr"> 6152 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt <a href='../131table.subx.html#L26'>get</a>: too few inouts (2 required)"</span> <span class="Constant">"F - <a href='mu.subx.html#L6113'>test-get-with-too-few-inouts</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -5686,7 +5686,7 @@ if ('onhashchange' in window) { <span id="L6189" class="LineNr"> 6189 </span> 89/<- %edx 4/r32/esp <span id="L6190" class="LineNr"> 6190 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L6191" class="LineNr"> 6191 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L6192" class="Folded"> 6192 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L6192" class="Folded"> 6192 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L6198" class="LineNr"> 6198 </span> <span class="subxComment"># check output</span> <span id="L6199" class="LineNr"> 6199 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L6161'>test-get-with-too-many-inouts</a>: output should be empty"</span>) <span id="L6200" class="LineNr"> 6200 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt <a href='../131table.subx.html#L26'>get</a>: too many inouts (2 required)"</span> <span class="Constant">"F - <a href='mu.subx.html#L6161'>test-get-with-too-many-inouts</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -5729,7 +5729,7 @@ if ('onhashchange' in window) { <span id="L6237" class="LineNr"> 6237 </span> 89/<- %edx 4/r32/esp <span id="L6238" class="LineNr"> 6238 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L6239" class="LineNr"> 6239 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L6240" class="Folded"> 6240 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L6240" class="Folded"> 6240 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L6246" class="LineNr"> 6246 </span> <span class="subxComment"># check output</span> <span id="L6247" class="LineNr"> 6247 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L6209'>test-get-with-no-output</a>: output should be empty"</span>) <span id="L6248" class="LineNr"> 6248 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt <a href='../131table.subx.html#L26'>get</a>: must have an output"</span> <span class="Constant">"F - <a href='mu.subx.html#L6209'>test-get-with-no-output</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -5774,7 +5774,7 @@ if ('onhashchange' in window) { <span id="L6287" class="LineNr"> 6287 </span> 89/<- %edx 4/r32/esp <span id="L6288" class="LineNr"> 6288 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L6289" class="LineNr"> 6289 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L6290" class="Folded"> 6290 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L6290" class="Folded"> 6290 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L6296" class="LineNr"> 6296 </span> <span class="subxComment"># check output</span> <span id="L6297" class="LineNr"> 6297 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L6257'>test-get-with-too-many-outputs</a>: output should be empty"</span>) <span id="L6298" class="LineNr"> 6298 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt <a href='../131table.subx.html#L26'>get</a>: too many outputs (1 required)"</span> <span class="Constant">"F - <a href='mu.subx.html#L6257'>test-get-with-too-many-outputs</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -5808,7 +5808,7 @@ if ('onhashchange' in window) { <span id="L6326" class="LineNr"> 6326 </span> <span class="subxComment"># convert</span> <span id="L6327" class="LineNr"> 6327 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L6328" class="LineNr"> 6328 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L6329" class="Folded"> 6329 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L6329" class="Folded"> 6329 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L6335" class="LineNr"> 6335 </span> <span class="subxComment"># check output</span> <span id="L6336" class="LineNr"> 6336 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L6307'>test-convert-array-of-user-defined-types</a>/0"</span>) <span id="L6337" class="LineNr"> 6337 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-array-of-user-defined-types/1"</span>) @@ -5856,7 +5856,7 @@ if ('onhashchange' in window) { <span id="L6379" class="LineNr"> 6379 </span> <span class="subxComment"># convert</span> <span id="L6380" class="LineNr"> 6380 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L6381" class="LineNr"> 6381 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L6382" class="Folded"> 6382 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L6382" class="Folded"> 6382 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L6388" class="LineNr"> 6388 </span> <span class="subxComment"># check output</span> <span id="L6389" class="LineNr"> 6389 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L6360'>test-convert-length-of-array-of-user-defined-types-to-eax</a>/0"</span>) <span id="L6390" class="LineNr"> 6390 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-length-of-array-of-user-defined-types-to-eax/1"</span>) @@ -5912,7 +5912,7 @@ if ('onhashchange' in window) { <span id="L6440" class="LineNr"> 6440 </span> <span class="subxComment"># convert</span> <span id="L6441" class="LineNr"> 6441 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L6442" class="LineNr"> 6442 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L6443" class="Folded"> 6443 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L6443" class="Folded"> 6443 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L6449" class="LineNr"> 6449 </span> <span class="subxComment"># check output</span> <span id="L6450" class="LineNr"> 6450 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L6421'>test-convert-length-of-array-of-user-defined-types-to-ecx</a>/0"</span>) <span id="L6451" class="LineNr"> 6451 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-length-of-array-of-user-defined-types-to-ecx/1"</span>) @@ -5973,7 +5973,7 @@ if ('onhashchange' in window) { <span id="L6506" class="LineNr"> 6506 </span> <span class="subxComment"># convert</span> <span id="L6507" class="LineNr"> 6507 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L6508" class="LineNr"> 6508 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L6509" class="Folded"> 6509 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L6509" class="Folded"> 6509 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L6515" class="LineNr"> 6515 </span> <span class="subxComment"># check output</span> <span id="L6516" class="LineNr"> 6516 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L6487'>test-convert-length-of-array-of-user-defined-types-to-edx</a>/0"</span>) <span id="L6517" class="LineNr"> 6517 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-length-of-array-of-user-defined-types-to-edx/1"</span>) @@ -6034,7 +6034,7 @@ if ('onhashchange' in window) { <span id="L6572" class="LineNr"> 6572 </span> <span class="subxComment"># convert</span> <span id="L6573" class="LineNr"> 6573 </span> (<a href='mu.subx.html#L500'>convert-mu</a> <a href='../112read-byte.subx.html#L357'>_test-input-buffered-file</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L6574" class="LineNr"> 6574 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L6575" class="Folded"> 6575 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L6575" class="Folded"> 6575 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L6581" class="LineNr"> 6581 </span> <span class="subxComment"># check output</span> <span id="L6582" class="LineNr"> 6582 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"foo:"</span> <span class="Constant">"F - <a href='mu.subx.html#L6553'>test-convert-length-of-array-of-user-defined-types</a>/0"</span>) <span id="L6583" class="LineNr"> 6583 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">" # . prologue"</span> <span class="Constant">"F - test-convert-length-of-array-of-user-defined-types/1"</span>) @@ -6097,7 +6097,7 @@ if ('onhashchange' in window) { <span id="L6640" class="LineNr"> 6640 </span> 89/<- %edx 4/r32/esp <span id="L6641" class="LineNr"> 6641 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L6642" class="LineNr"> 6642 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L6643" class="Folded"> 6643 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L6643" class="Folded"> 6643 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L6649" class="LineNr"> 6649 </span> <span class="subxComment"># check output</span> <span id="L6650" class="LineNr"> 6650 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L6615'>test-index-with-non-array-atom-base-type</a>: output should be empty"</span>) <span id="L6651" class="LineNr"> 6651 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt index: var 'a' is not an array"</span> <span class="Constant">"F - <a href='mu.subx.html#L6615'>test-index-with-non-array-atom-base-type</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -6137,7 +6137,7 @@ if ('onhashchange' in window) { <span id="L6685" class="LineNr"> 6685 </span> 89/<- %edx 4/r32/esp <span id="L6686" class="LineNr"> 6686 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L6687" class="LineNr"> 6687 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L6688" class="Folded"> 6688 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L6688" class="Folded"> 6688 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L6694" class="LineNr"> 6694 </span> <span class="subxComment"># check output</span> <span id="L6695" class="LineNr"> 6695 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L6660'>test-index-with-non-array-compound-base-type</a>: output should be empty"</span>) <span id="L6696" class="LineNr"> 6696 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt index: var 'a' is not an array"</span> <span class="Constant">"F - <a href='mu.subx.html#L6660'>test-index-with-non-array-compound-base-type</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -6177,7 +6177,7 @@ if ('onhashchange' in window) { <span id="L6730" class="LineNr"> 6730 </span> 89/<- %edx 4/r32/esp <span id="L6731" class="LineNr"> 6731 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L6732" class="LineNr"> 6732 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L6733" class="Folded"> 6733 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L6733" class="Folded"> 6733 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L6739" class="LineNr"> 6739 </span> <span class="subxComment"># check output</span> <span id="L6740" class="LineNr"> 6740 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L6705'>test-index-with-non-array-compound-base-type-2</a>: output should be empty"</span>) <span id="L6741" class="LineNr"> 6741 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt index: var 'a' is not an array"</span> <span class="Constant">"F - <a href='mu.subx.html#L6705'>test-index-with-non-array-compound-base-type-2</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -6217,7 +6217,7 @@ if ('onhashchange' in window) { <span id="L6775" class="LineNr"> 6775 </span> 89/<- %edx 4/r32/esp <span id="L6776" class="LineNr"> 6776 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L6777" class="LineNr"> 6777 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L6778" class="Folded"> 6778 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L6778" class="Folded"> 6778 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L6784" class="LineNr"> 6784 </span> <span class="subxComment"># check output</span> <span id="L6785" class="LineNr"> 6785 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L6750'>test-index-with-array-atom-base-type</a>: output should be empty"</span>) <span id="L6786" class="LineNr"> 6786 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt index: array 'a' must specify the type of its elements"</span> <span class="Constant">"F - <a href='mu.subx.html#L6750'>test-index-with-array-atom-base-type</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -6257,7 +6257,7 @@ if ('onhashchange' in window) { <span id="L6820" class="LineNr"> 6820 </span> 89/<- %edx 4/r32/esp <span id="L6821" class="LineNr"> 6821 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L6822" class="LineNr"> 6822 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L6823" class="Folded"> 6823 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L6823" class="Folded"> 6823 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L6829" class="LineNr"> 6829 </span> <span class="subxComment"># check output</span> <span id="L6830" class="LineNr"> 6830 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L6795'>test-index-with-addr-base-on-stack</a>: output should be empty"</span>) <span id="L6831" class="LineNr"> 6831 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt index: var 'a' is an addr to an array, and so must live in a register"</span> <span class="Constant">"F - <a href='mu.subx.html#L6795'>test-index-with-addr-base-on-stack</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -6297,7 +6297,7 @@ if ('onhashchange' in window) { <span id="L6865" class="LineNr"> 6865 </span> 89/<- %edx 4/r32/esp <span id="L6866" class="LineNr"> 6866 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L6867" class="LineNr"> 6867 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L6868" class="Folded"> 6868 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L6868" class="Folded"> 6868 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L6874" class="LineNr"> 6874 </span> <span class="subxComment"># check output</span> <span id="L6875" class="LineNr"> 6875 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L6840'>test-index-with-array-base-in-register</a>: output should be empty"</span>) <span id="L6876" class="LineNr"> 6876 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt index: var 'a' is an array, and so must live on the stack"</span> <span class="Constant">"F - <a href='mu.subx.html#L6840'>test-index-with-array-base-in-register</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -6338,7 +6338,7 @@ if ('onhashchange' in window) { <span id="L6911" class="LineNr"> 6911 </span> 89/<- %edx 4/r32/esp <span id="L6912" class="LineNr"> 6912 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L6913" class="LineNr"> 6913 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L6914" class="Folded"> 6914 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L6914" class="Folded"> 6914 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L6920" class="LineNr"> 6920 </span> <span class="subxComment"># check output</span> <span id="L6921" class="LineNr"> 6921 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L6885'>test-index-with-wrong-index-type</a>: output should be empty"</span>) <span id="L6922" class="LineNr"> 6922 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt index: second argument 'b' must be an int or offset"</span> <span class="Constant">"F - <a href='mu.subx.html#L6885'>test-index-with-wrong-index-type</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -6379,7 +6379,7 @@ if ('onhashchange' in window) { <span id="L6957" class="LineNr"> 6957 </span> 89/<- %edx 4/r32/esp <span id="L6958" class="LineNr"> 6958 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L6959" class="LineNr"> 6959 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L6960" class="Folded"> 6960 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L6960" class="Folded"> 6960 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L6966" class="LineNr"> 6966 </span> <span class="subxComment"># check output</span> <span id="L6967" class="LineNr"> 6967 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L6931'>test-index-with-offset-atom-index-type</a>: output should be empty"</span>) <span id="L6968" class="LineNr"> 6968 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt index: offset 'b' must specify the type of array elements"</span> <span class="Constant">"F - <a href='mu.subx.html#L6931'>test-index-with-offset-atom-index-type</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -6420,7 +6420,7 @@ if ('onhashchange' in window) { <span id="L7003" class="LineNr"> 7003 </span> 89/<- %edx 4/r32/esp <span id="L7004" class="LineNr"> 7004 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L7005" class="LineNr"> 7005 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L7006" class="Folded"> 7006 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L7006" class="Folded"> 7006 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L7012" class="LineNr"> 7012 </span> <span class="subxComment"># check output</span> <span id="L7013" class="LineNr"> 7013 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L6977'>test-index-with-offset-on-stack</a>: output should be empty"</span>) <span id="L7014" class="LineNr"> 7014 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt index: second argument 'b' must be in a register"</span> <span class="Constant">"F - <a href='mu.subx.html#L6977'>test-index-with-offset-on-stack</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -6466,7 +6466,7 @@ if ('onhashchange' in window) { <span id="L7054" class="LineNr"> 7054 </span> 89/<- %edx 4/r32/esp <span id="L7055" class="LineNr"> 7055 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L7056" class="LineNr"> 7056 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L7057" class="Folded"> 7057 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L7057" class="Folded"> 7057 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L7063" class="LineNr"> 7063 </span> <span class="subxComment"># check output</span> <span id="L7064" class="LineNr"> 7064 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L7023'>test-index-needs-offset-type</a>: output should be empty"</span>) <span id="L7065" class="LineNr"> 7065 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt index: cannot take an int for array 'a'; create an offset instead. See mu.md for details."</span> <span class="Constant">"F - <a href='mu.subx.html#L7023'>test-index-needs-offset-type</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -6506,7 +6506,7 @@ if ('onhashchange' in window) { <span id="L7099" class="LineNr"> 7099 </span> 89/<- %edx 4/r32/esp <span id="L7100" class="LineNr"> 7100 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L7101" class="LineNr"> 7101 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L7102" class="Folded"> 7102 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L7102" class="Folded"> 7102 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L7108" class="LineNr"> 7108 </span> <span class="subxComment"># check output</span> <span id="L7109" class="LineNr"> 7109 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L7074'>test-index-with-output-not-address</a>: output should be empty"</span>) <span id="L7110" class="LineNr"> 7110 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt index: output 'o' must be an address"</span> <span class="Constant">"F - <a href='mu.subx.html#L7074'>test-index-with-output-not-address</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -6546,7 +6546,7 @@ if ('onhashchange' in window) { <span id="L7144" class="LineNr"> 7144 </span> 89/<- %edx 4/r32/esp <span id="L7145" class="LineNr"> 7145 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L7146" class="LineNr"> 7146 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L7147" class="Folded"> 7147 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L7147" class="Folded"> 7147 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L7153" class="LineNr"> 7153 </span> <span class="subxComment"># check output</span> <span id="L7154" class="LineNr"> 7154 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L7119'>test-index-with-output-not-address-2</a>: output should be empty"</span>) <span id="L7155" class="LineNr"> 7155 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt index: output 'o' must be an address"</span> <span class="Constant">"F - <a href='mu.subx.html#L7119'>test-index-with-output-not-address-2</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -6586,7 +6586,7 @@ if ('onhashchange' in window) { <span id="L7189" class="LineNr"> 7189 </span> 89/<- %edx 4/r32/esp <span id="L7190" class="LineNr"> 7190 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L7191" class="LineNr"> 7191 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L7192" class="Folded"> 7192 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L7192" class="Folded"> 7192 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L7198" class="LineNr"> 7198 </span> <span class="subxComment"># check output</span> <span id="L7199" class="LineNr"> 7199 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L7164'>test-index-with-wrong-output-type</a>: output should be empty"</span>) <span id="L7200" class="LineNr"> 7200 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt index: output 'o' does not have the right type"</span> <span class="Constant">"F - <a href='mu.subx.html#L7164'>test-index-with-wrong-output-type</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -6626,7 +6626,7 @@ if ('onhashchange' in window) { <span id="L7234" class="LineNr"> 7234 </span> 89/<- %edx 4/r32/esp <span id="L7235" class="LineNr"> 7235 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L7236" class="LineNr"> 7236 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L7237" class="Folded"> 7237 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L7237" class="Folded"> 7237 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L7243" class="LineNr"> 7243 </span> <span class="subxComment"># check output</span> <span id="L7244" class="LineNr"> 7244 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L7209'>test-index-with-wrong-output-compound-type</a>: output should be empty"</span>) <span id="L7245" class="LineNr"> 7245 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt index: output 'o' does not have the right type"</span> <span class="Constant">"F - <a href='mu.subx.html#L7209'>test-index-with-wrong-output-compound-type</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -6665,7 +6665,7 @@ if ('onhashchange' in window) { <span id="L7278" class="LineNr"> 7278 </span> 89/<- %edx 4/r32/esp <span id="L7279" class="LineNr"> 7279 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L7280" class="LineNr"> 7280 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L7281" class="Folded"> 7281 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L7281" class="Folded"> 7281 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L7287" class="LineNr"> 7287 </span> <span class="subxComment"># check output</span> <span id="L7288" class="LineNr"> 7288 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L7254'>test-index-with-no-inouts</a>: output should be empty"</span>) <span id="L7289" class="LineNr"> 7289 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt index: too few inouts (2 required)"</span> <span class="Constant">"F - <a href='mu.subx.html#L7254'>test-index-with-no-inouts</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -6705,7 +6705,7 @@ if ('onhashchange' in window) { <span id="L7323" class="LineNr"> 7323 </span> 89/<- %edx 4/r32/esp <span id="L7324" class="LineNr"> 7324 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L7325" class="LineNr"> 7325 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L7326" class="Folded"> 7326 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L7326" class="Folded"> 7326 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L7332" class="LineNr"> 7332 </span> <span class="subxComment"># check output</span> <span id="L7333" class="LineNr"> 7333 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L7298'>test-index-with-too-few-inouts</a>: output should be empty"</span>) <span id="L7334" class="LineNr"> 7334 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt index: too few inouts (2 required)"</span> <span class="Constant">"F - <a href='mu.subx.html#L7298'>test-index-with-too-few-inouts</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -6745,7 +6745,7 @@ if ('onhashchange' in window) { <span id="L7368" class="LineNr"> 7368 </span> 89/<- %edx 4/r32/esp <span id="L7369" class="LineNr"> 7369 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L7370" class="LineNr"> 7370 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L7371" class="Folded"> 7371 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L7371" class="Folded"> 7371 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L7377" class="LineNr"> 7377 </span> <span class="subxComment"># check output</span> <span id="L7378" class="LineNr"> 7378 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L7343'>test-index-with-too-many-inouts</a>: output should be empty"</span>) <span id="L7379" class="LineNr"> 7379 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt index: too many inouts (2 required)"</span> <span class="Constant">"F - <a href='mu.subx.html#L7343'>test-index-with-too-many-inouts</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -6785,7 +6785,7 @@ if ('onhashchange' in window) { <span id="L7413" class="LineNr"> 7413 </span> 89/<- %edx 4/r32/esp <span id="L7414" class="LineNr"> 7414 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L7415" class="LineNr"> 7415 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L7416" class="Folded"> 7416 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L7416" class="Folded"> 7416 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L7422" class="LineNr"> 7422 </span> <span class="subxComment"># check output</span> <span id="L7423" class="LineNr"> 7423 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L7388'>test-index-with-no-output</a>: output should be empty"</span>) <span id="L7424" class="LineNr"> 7424 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt index: must have an output"</span> <span class="Constant">"F - <a href='mu.subx.html#L7388'>test-index-with-no-output</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -6827,7 +6827,7 @@ if ('onhashchange' in window) { <span id="L7460" class="LineNr"> 7460 </span> 89/<- %edx 4/r32/esp <span id="L7461" class="LineNr"> 7461 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) <span id="L7462" class="LineNr"> 7462 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L390'>_test-error-buffered-file</a>) -<span id="L7463" class="Folded"> 7463 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L7463" class="Folded"> 7463 </span><span class="Folded">+-- 6 lines: #? # dump _test-error-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L7469" class="LineNr"> 7469 </span> <span class="subxComment"># check output</span> <span id="L7470" class="LineNr"> 7470 </span> (<a href='../109stream-equal.subx.html#L194'>check-stream-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">""</span> <span class="Constant">"F - <a href='mu.subx.html#L7433'>test-index-with-too-many-outputs</a>: output should be empty"</span>) <span id="L7471" class="LineNr"> 7471 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L372'>_test-error-stream</a> <span class="Constant">"fn foo: stmt index: too many outputs (1 required)"</span> <span class="Constant">"F - <a href='mu.subx.html#L7433'>test-index-with-too-many-outputs</a>: <a href='../114error.subx.html#L9'>error</a> message"</span>) @@ -6928,7 +6928,7 @@ if ('onhashchange' in window) { <span id="L7566" class="LineNr"> 7566 </span> <span class="subxComment"># if (line->write == 0) break</span> <span id="L7567" class="LineNr"> 7567 </span> 81 7/subop/compare *ecx 0/imm32 <span id="L7568" class="LineNr"> 7568 </span> 0f 84/jump-if-= <span class="Constant">break</span>/disp32 -<span id="L7569" class="Folded"> 7569 </span><span class="Folded">+-- 6 lines: #? # dump line ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L7569" class="Folded"> 7569 </span><span class="Folded">+-- 6 lines: #? # dump line ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L7575" class="LineNr"> 7575 </span> (<a href='mu.subx.html#L8647'>next-mu-token</a> %ecx %edx) <span id="L7576" class="LineNr"> 7576 </span> <span class="subxComment"># if slice-empty?(word-slice) continue</span> <span id="L7577" class="LineNr"> 7577 </span> (<a href='../123slice.subx.html#L9'>slice-empty?</a> %edx) <span class="subxComment"># => eax</span> @@ -11104,7 +11104,7 @@ if ('onhashchange' in window) { <span id="L11747" class="LineNr">11747 </span> <span class="subxComment"># if (line->write == 0) abort</span> <span id="L11748" class="LineNr">11748 </span> 81 7/subop/compare *ecx 0/imm32 <span id="L11749" class="LineNr">11749 </span> 0f 84/jump-if-= $populate-mu-type:error1/disp32 -<span id="L11750" class="Folded">11750 </span><span class="Folded">+-- 6 lines: #? # dump line ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L11750" class="Folded">11750 </span><span class="Folded">+-- 6 lines: #? # dump line ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L11756" class="LineNr">11756 </span> (<a href='mu.subx.html#L8647'>next-mu-token</a> %ecx %edx) <span id="L11757" class="LineNr">11757 </span> <span class="subxComment"># if slice-empty?(word-slice) continue</span> <span id="L11758" class="LineNr">11758 </span> (<a href='../123slice.subx.html#L9'>slice-empty?</a> %edx) <span class="subxComment"># => eax</span> @@ -11846,7 +11846,7 @@ if ('onhashchange' in window) { <span id="L12494" class="LineNr">12494 </span> <span class="subxComment"># if (curr == null) break</span> <span id="L12495" class="LineNr">12495 </span> 3d/compare-eax-and 0/imm32 <span id="L12496" class="LineNr">12496 </span> 0f 84/jump-if-= <span class="Constant">break</span>/disp32 -<span id="L12497" class="Folded">12497 </span><span class="Folded">+-- 8 lines: #? # dump curr->name ------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L12497" class="Folded">12497 </span><span class="Folded">+-- 8 lines: #? # dump curr->name ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L12505" class="LineNr">12505 </span> (<a href='mu.subx.html#L12518'>check-mu-function</a> %eax *(ebp+8) *(ebp+0xc)) <span id="L12506" class="LineNr">12506 </span> <span class="subxComment"># curr = lookup(curr->next)</span> <span id="L12507" class="LineNr">12507 </span> (<a href='../120allocate.subx.html#L256'>lookup</a> *(eax+0x20) *(eax+0x24)) <span class="subxComment"># Function-next Function-next => eax</span> @@ -14190,10 +14190,10 @@ if ('onhashchange' in window) { <span id="L14845" class="LineNr">14845 </span> 3d/compare-eax-and 0/imm32/false <span id="L14846" class="LineNr">14846 </span> 0f 84/jump-if-= <span class="Constant">break</span>/disp32 <span id="L14847" class="LineNr">14847 </span><span class="Constant">$emit-subx-stmt-list:branch-stmt</span>: -<span id="L14848" class="Folded">14848 </span><span class="Folded">+-- 27 lines: # unconditional loops -----------------------------------------------------------------------------------------------------------------------------------------------------</span> -<span id="L14875" class="Folded">14875 </span><span class="Folded">+-- 16 lines: # unconditional breaks ----------------------------------------------------------------------------------------------------------------------------------------------------</span> -<span id="L14891" class="Folded">14891 </span><span class="Folded">+-- 38 lines: # simple conditional branches without a target ----------------------------------------------------------------------------------------------------------------------------</span> -<span id="L14929" class="Folded">14929 </span><span class="Folded">+-- 19 lines: # conditional branches with an explicit target ----------------------------------------------------------------------------------------------------------------------------</span> +<span id="L14848" class="Folded">14848 </span><span class="Folded">+-- 27 lines: # unconditional loops --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L14875" class="Folded">14875 </span><span class="Folded">+-- 16 lines: # unconditional breaks -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L14891" class="Folded">14891 </span><span class="Folded">+-- 38 lines: # simple conditional branches without a target -------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L14929" class="Folded">14929 </span><span class="Folded">+-- 19 lines: # conditional branches with an explicit target -------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L14948" class="LineNr">14948 </span> } <span id="L14949" class="LineNr">14949 </span><span class="Constant">$emit-subx-stmt-list:1-to-1</span>: <span id="L14950" class="LineNr">14950 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> *(ebp+8) %ecx <span class="SpecialChar"><a href='mu.subx.html#L17400'>Primitives</a></span> *(ebp+0x18) *(ebp+0x1c)) @@ -20889,7 +20889,7 @@ if ('onhashchange' in window) { <span id="L21640" class="LineNr">21640 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L21641" class="LineNr">21641 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi %ebx <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L21642" class="LineNr">21642 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L21643" class="Folded">21643 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L21643" class="Folded">21643 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L21649" class="LineNr">21649 </span> <span class="subxComment"># check output</span> <span id="L21650" class="LineNr">21650 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"ff 0/subop/increment *(ebp+0xfffffff8)"</span> <span class="Constant">"F - test-emit-subx-stmt-primitive"</span>) <span id="L21651" class="LineNr">21651 </span> <span class="subxS1Comment"># . epilogue</span> @@ -21029,7 +21029,7 @@ if ('onhashchange' in window) { <span id="L21785" class="LineNr">21785 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L21786" class="LineNr">21786 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi %ebx <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L21787" class="LineNr">21787 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L21788" class="Folded">21788 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L21788" class="Folded">21788 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L21794" class="LineNr">21794 </span> <span class="subxComment"># check output</span> <span id="L21795" class="LineNr">21795 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"ff 0/subop/increment %eax"</span> <span class="Constant">"F - test-emit-subx-stmt-primitive-register"</span>) <span id="L21796" class="LineNr">21796 </span> <span class="subxS1Comment"># . epilogue</span> @@ -21200,7 +21200,7 @@ if ('onhashchange' in window) { <span id="L21961" class="LineNr">21961 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L21962" class="LineNr">21962 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi %ebx <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L21963" class="LineNr">21963 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L21964" class="Folded">21964 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L21964" class="Folded">21964 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L21970" class="LineNr">21970 </span> <span class="subxComment"># check output</span> <span id="L21971" class="LineNr">21971 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"ff 0/subop/increment %eax"</span> <span class="Constant">"F - test-emit-subx-stmt-select-primitive"</span>) <span id="L21972" class="LineNr">21972 </span> <span class="subxS1Comment"># . epilogue</span> @@ -21371,7 +21371,7 @@ if ('onhashchange' in window) { <span id="L22137" class="LineNr">22137 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L22138" class="LineNr">22138 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi %ebx <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L22139" class="LineNr">22139 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L22140" class="Folded">22140 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L22140" class="Folded">22140 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L22146" class="LineNr">22146 </span> <span class="subxComment"># check output</span> <span id="L22147" class="LineNr">22147 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"ff 0/subop/increment %eax"</span> <span class="Constant">"F - test-emit-subx-stmt-select-primitive-2"</span>) <span id="L22148" class="LineNr">22148 </span> <span class="subxS1Comment"># . epilogue</span> @@ -21454,7 +21454,7 @@ if ('onhashchange' in window) { <span id="L22225" class="LineNr">22225 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L22226" class="LineNr">22226 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi <span class="SpecialChar"><a href='mu.subx.html#L17400'>Primitives</a></span> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L22227" class="LineNr">22227 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L22228" class="Folded">22228 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L22228" class="Folded">22228 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L22234" class="LineNr">22234 </span> <span class="subxComment"># check output</span> <span id="L22235" class="LineNr">22235 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"40/increment-eax"</span> <span class="Constant">"F - test-increment-register"</span>) <span id="L22236" class="LineNr">22236 </span> <span class="subxS1Comment"># . epilogue</span> @@ -21560,7 +21560,7 @@ if ('onhashchange' in window) { <span id="L22336" class="LineNr">22336 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L22337" class="LineNr">22337 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi <span class="SpecialChar"><a href='mu.subx.html#L17400'>Primitives</a></span> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L22338" class="LineNr">22338 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L22339" class="Folded">22339 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L22339" class="Folded">22339 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L22345" class="LineNr">22345 </span> <span class="subxComment"># check output</span> <span id="L22346" class="LineNr">22346 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"01/add-to %eax 0x00000001/r32"</span> <span class="Constant">"F - test-add-reg-to-reg"</span>) <span id="L22347" class="LineNr">22347 </span> <span class="subxS1Comment"># . epilogue</span> @@ -21661,7 +21661,7 @@ if ('onhashchange' in window) { <span id="L22442" class="LineNr">22442 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L22443" class="LineNr">22443 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi <span class="SpecialChar"><a href='mu.subx.html#L17400'>Primitives</a></span> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L22444" class="LineNr">22444 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L22445" class="Folded">22445 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L22445" class="Folded">22445 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L22451" class="LineNr">22451 </span> <span class="subxComment"># check output</span> <span id="L22452" class="LineNr">22452 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"01/add-to *(ebp+0x00000008) 0x00000001/r32"</span> <span class="Constant">"F - test-add-reg-to-mem"</span>) <span id="L22453" class="LineNr">22453 </span> <span class="subxS1Comment"># . epilogue</span> @@ -21763,7 +21763,7 @@ if ('onhashchange' in window) { <span id="L22549" class="LineNr">22549 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L22550" class="LineNr">22550 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi <span class="SpecialChar"><a href='mu.subx.html#L17400'>Primitives</a></span> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L22551" class="LineNr">22551 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L22552" class="Folded">22552 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L22552" class="Folded">22552 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L22558" class="LineNr">22558 </span> <span class="subxComment"># check output</span> <span id="L22559" class="LineNr">22559 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"03/add *(ebp+0x00000008) 0x00000000/r32"</span> <span class="Constant">"F - test-add-mem-to-reg"</span>) <span id="L22560" class="LineNr">22560 </span> <span class="subxS1Comment"># . epilogue</span> @@ -21874,7 +21874,7 @@ if ('onhashchange' in window) { <span id="L22665" class="LineNr">22665 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L22666" class="LineNr">22666 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi <span class="SpecialChar"><a href='mu.subx.html#L17400'>Primitives</a></span> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L22667" class="LineNr">22667 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L22668" class="Folded">22668 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L22668" class="Folded">22668 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L22674" class="LineNr">22674 </span> <span class="subxComment"># check output</span> <span id="L22675" class="LineNr">22675 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"05/add-to-eax 0x34/imm32"</span> <span class="Constant">"F - test-add-literal-to-eax"</span>) <span id="L22676" class="LineNr">22676 </span> <span class="subxS1Comment"># . epilogue</span> @@ -21985,7 +21985,7 @@ if ('onhashchange' in window) { <span id="L22781" class="LineNr">22781 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L22782" class="LineNr">22782 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi <span class="SpecialChar"><a href='mu.subx.html#L17400'>Primitives</a></span> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L22783" class="LineNr">22783 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L22784" class="Folded">22784 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L22784" class="Folded">22784 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L22790" class="LineNr">22790 </span> <span class="subxComment"># check output</span> <span id="L22791" class="LineNr">22791 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"81 0/subop/add %ecx 0x34/imm32"</span> <span class="Constant">"F - test-add-literal-to-reg"</span>) <span id="L22792" class="LineNr">22792 </span> <span class="subxS1Comment"># . epilogue</span> @@ -22091,7 +22091,7 @@ if ('onhashchange' in window) { <span id="L22892" class="LineNr">22892 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L22893" class="LineNr">22893 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi <span class="SpecialChar"><a href='mu.subx.html#L17400'>Primitives</a></span> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L22894" class="LineNr">22894 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L22895" class="Folded">22895 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L22895" class="Folded">22895 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L22901" class="LineNr">22901 </span> <span class="subxComment"># check output</span> <span id="L22902" class="LineNr">22902 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"81 0/subop/add *(ebp+0x00000008) 0x34/imm32"</span> <span class="Constant">"F - test-add-literal-to-mem"</span>) <span id="L22903" class="LineNr">22903 </span> <span class="subxS1Comment"># . epilogue</span> @@ -22202,7 +22202,7 @@ if ('onhashchange' in window) { <span id="L23008" class="LineNr">23008 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L23009" class="LineNr">23009 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi <span class="SpecialChar"><a href='mu.subx.html#L17400'>Primitives</a></span> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L23010" class="LineNr">23010 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L23011" class="Folded">23011 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L23011" class="Folded">23011 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L23017" class="LineNr">23017 </span> <span class="subxComment"># check output</span> <span id="L23018" class="LineNr">23018 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"c1/shift 4/subop/left %ecx 2/imm8"</span> <span class="Constant">"F - test-shift-reg-by-literal"</span>) <span id="L23019" class="LineNr">23019 </span> <span class="subxS1Comment"># . epilogue</span> @@ -22308,7 +22308,7 @@ if ('onhashchange' in window) { <span id="L23119" class="LineNr">23119 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L23120" class="LineNr">23120 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi <span class="SpecialChar"><a href='mu.subx.html#L17400'>Primitives</a></span> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L23121" class="LineNr">23121 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L23122" class="Folded">23122 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L23122" class="Folded">23122 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L23128" class="LineNr">23128 </span> <span class="subxComment"># check output</span> <span id="L23129" class="LineNr">23129 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"c1/shift 4/subop/left *(ebp+0x00000008) 3/imm8"</span> <span class="Constant">"F - test-shift-mem-by-literal"</span>) <span id="L23130" class="LineNr">23130 </span> <span class="subxS1Comment"># . epilogue</span> @@ -22413,7 +22413,7 @@ if ('onhashchange' in window) { <span id="L23229" class="LineNr">23229 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L23230" class="LineNr">23230 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi <span class="SpecialChar"><a href='mu.subx.html#L17400'>Primitives</a></span> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L23231" class="LineNr">23231 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L23232" class="Folded">23232 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L23232" class="Folded">23232 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L23238" class="LineNr">23238 </span> <span class="subxComment"># check output</span> <span id="L23239" class="LineNr">23239 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"39/compare-> %ecx 0x00000000/r32"</span> <span class="Constant">"F - test-compare-reg-with-reg"</span>) <span id="L23240" class="LineNr">23240 </span> <span class="subxS1Comment"># . epilogue</span> @@ -22514,7 +22514,7 @@ if ('onhashchange' in window) { <span id="L23335" class="LineNr">23335 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L23336" class="LineNr">23336 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi <span class="SpecialChar"><a href='mu.subx.html#L17400'>Primitives</a></span> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L23337" class="LineNr">23337 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L23338" class="Folded">23338 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L23338" class="Folded">23338 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L23344" class="LineNr">23344 </span> <span class="subxComment"># check output</span> <span id="L23345" class="LineNr">23345 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"39/compare-> *(ebp+0x00000008) 0x00000000/r32"</span> <span class="Constant">"F - test-compare-mem-with-reg"</span>) <span id="L23346" class="LineNr">23346 </span> <span class="subxS1Comment"># . epilogue</span> @@ -22615,7 +22615,7 @@ if ('onhashchange' in window) { <span id="L23441" class="LineNr">23441 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L23442" class="LineNr">23442 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi <span class="SpecialChar"><a href='mu.subx.html#L17400'>Primitives</a></span> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L23443" class="LineNr">23443 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L23444" class="Folded">23444 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L23444" class="Folded">23444 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L23450" class="LineNr">23450 </span> <span class="subxComment"># check output</span> <span id="L23451" class="LineNr">23451 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"3b/compare<- *(ebp+0x00000008) 0x00000000/r32"</span> <span class="Constant">"F - test-compare-reg-with-mem"</span>) <span id="L23452" class="LineNr">23452 </span> <span class="subxS1Comment"># . epilogue</span> @@ -22721,7 +22721,7 @@ if ('onhashchange' in window) { <span id="L23552" class="LineNr">23552 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L23553" class="LineNr">23553 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi <span class="SpecialChar"><a href='mu.subx.html#L17400'>Primitives</a></span> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L23554" class="LineNr">23554 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L23555" class="Folded">23555 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L23555" class="Folded">23555 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L23561" class="LineNr">23561 </span> <span class="subxComment"># check output</span> <span id="L23562" class="LineNr">23562 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"81 7/subop/compare *(ebp+0x00000008) 0x34/imm32"</span> <span class="Constant">"F - test-compare-mem-with-literal"</span>) <span id="L23563" class="LineNr">23563 </span> <span class="subxS1Comment"># . epilogue</span> @@ -22831,7 +22831,7 @@ if ('onhashchange' in window) { <span id="L23667" class="LineNr">23667 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L23668" class="LineNr">23668 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi <span class="SpecialChar"><a href='mu.subx.html#L17400'>Primitives</a></span> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L23669" class="LineNr">23669 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L23670" class="Folded">23670 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L23670" class="Folded">23670 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L23676" class="LineNr">23676 </span> <span class="subxComment"># check output</span> <span id="L23677" class="LineNr">23677 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"3d/compare-eax-with 0x34/imm32"</span> <span class="Constant">"F - test-compare-eax-with-literal"</span>) <span id="L23678" class="LineNr">23678 </span> <span class="subxS1Comment"># . epilogue</span> @@ -22941,7 +22941,7 @@ if ('onhashchange' in window) { <span id="L23782" class="LineNr">23782 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L23783" class="LineNr">23783 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi <span class="SpecialChar"><a href='mu.subx.html#L17400'>Primitives</a></span> <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L23784" class="LineNr">23784 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L23785" class="Folded">23785 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L23785" class="Folded">23785 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L23791" class="LineNr">23791 </span> <span class="subxComment"># check output</span> <span id="L23792" class="LineNr">23792 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"81 7/subop/compare %ecx 0x34/imm32"</span> <span class="Constant">"F - test-compare-reg-with-literal"</span>) <span id="L23793" class="LineNr">23793 </span> <span class="subxS1Comment"># . epilogue</span> @@ -23024,7 +23024,7 @@ if ('onhashchange' in window) { <span id="L23870" class="LineNr">23870 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L23871" class="LineNr">23871 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi 0 <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L23872" class="LineNr">23872 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L23873" class="Folded">23873 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L23873" class="Folded">23873 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L23879" class="LineNr">23879 </span> <span class="subxComment"># check output</span> <span id="L23880" class="LineNr">23880 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"(f *(ebp+0xfffffff8))"</span> <span class="Constant">"F - test-emit-subx-stmt-function-call"</span>) <span id="L23881" class="LineNr">23881 </span> <span class="subxS1Comment"># . epilogue</span> @@ -23096,7 +23096,7 @@ if ('onhashchange' in window) { <span id="L23947" class="LineNr">23947 </span> c7 0/subop/copy *<span class="SpecialChar"><a href='mu.subx.html#L7490'>Curr-block-depth</a></span> 0/imm32 <span id="L23948" class="LineNr">23948 </span> (<a href='mu.subx.html#L16009'>emit-subx-stmt</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a> %esi 0 %ebx <span class="SpecialChar"><a href='../116write-buffered.subx.html#L209'>Stderr</a></span> 0) <span id="L23949" class="LineNr">23949 </span> (<a href='../115write-byte.subx.html#L81'>flush</a> <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>) -<span id="L23950" class="Folded">23950 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L23950" class="Folded">23950 </span><span class="Folded">+-- 6 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L23956" class="LineNr">23956 </span> <span class="subxComment"># check output</span> <span id="L23957" class="LineNr">23957 </span> (<a href='../109stream-equal.subx.html#L565'>check-next-stream-line-equal</a> <a href='../115write-byte.subx.html#L285'>_test-output-stream</a> <span class="Constant">"(f 0x34)"</span> <span class="Constant">"F - test-emit-subx-stmt-function-call-with-literal-arg"</span>) <span id="L23958" class="LineNr">23958 </span> <span class="subxS1Comment"># . epilogue</span> diff --git a/html/apps/pack.subx.html b/html/apps/pack.subx.html index 65ce8ef1..f4fcd262 100644 --- a/html/apps/pack.subx.html +++ b/html/apps/pack.subx.html @@ -213,7 +213,7 @@ if ('onhashchange' in window) { <span id="L151" class="LineNr"> 151 </span> <span class="subxComment"># if (line->write == 0) break</span> <span id="L152" class="LineNr"> 152 </span> 81 7/subop/compare 0/mod/indirect 1/rm32/ecx <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"># compare *ecx</span> <span id="L153" class="LineNr"> 153 </span> 0f 84/jump-if-= $subx-pack:<span class="Constant">break</span>/disp32 -<span id="L154" class="Folded"> 154 </span><span class="Folded">+-- 26 lines: #? # dump line --------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L154" class="Folded"> 154 </span><span class="Folded">+-- 26 lines: #? # dump line -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L180" class="LineNr"> 180 </span> <span class="subxComment"># next-word(line, word-slice)</span> <span id="L181" class="LineNr"> 181 </span> <span class="subxS2Comment"># . . push args</span> <span id="L182" class="LineNr"> 182 </span> 52/push-edx @@ -235,7 +235,7 @@ if ('onhashchange' in window) { <span id="L198" class="LineNr"> 198 </span> 3d/compare-eax-and 0/imm32/false <span id="L199" class="LineNr"> 199 </span> 0f 85/jump-if-!= $subx-pack:pass-through/disp32 <span id="L200" class="LineNr"> 200 </span><span class="Constant">$subx-pack:check2</span>: -<span id="L201" class="Folded"> 201 </span><span class="Folded">+-- 40 lines: #? # dump word-slice --------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L201" class="Folded"> 201 </span><span class="Folded">+-- 40 lines: #? # dump word-slice -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L241" class="LineNr"> 241 </span> <span class="subxComment"># if (!slice-equal?(word-slice, "==")) goto next check</span> <span id="L242" class="LineNr"> 242 </span> <span class="subxS1Comment"># . eax = slice-equal?(word-slice, "==")</span> <span id="L243" class="LineNr"> 243 </span> <span class="subxS2Comment"># . . push args</span> @@ -256,7 +256,7 @@ if ('onhashchange' in window) { <span id="L258" class="LineNr"> 258 </span> e8/call <a href='../127next-word.subx.html#L10'>next-word</a>/disp32 <span id="L259" class="LineNr"> 259 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L260" class="LineNr"> 260 </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="L261" class="Folded"> 261 </span><span class="Folded">+-- 40 lines: #? # dump segment name ------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L261" class="Folded"> 261 </span><span class="Folded">+-- 40 lines: #? # dump segment name ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L301" class="LineNr"> 301 </span> <span class="subxComment"># in-code? = slice-equal?(word-slice, "code")</span> <span id="L302" class="LineNr"> 302 </span> <span class="subxS2Comment"># . . push args</span> <span id="L303" class="LineNr"> 303 </span> 68/push <span class="Constant">"code"</span>/imm32 @@ -617,7 +617,7 @@ if ('onhashchange' in window) { <span id="L658" class="LineNr"> 658 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L659" class="LineNr"> 659 </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="L660" class="LineNr"> 660 </span> <span class="subxComment"># check output</span> -<span id="L661" class="Folded"> 661 </span><span class="Folded">+-- 26 lines: #? # debug print ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L661" class="Folded"> 661 </span><span class="Folded">+-- 26 lines: #? # debug print ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L687" class="LineNr"> 687 </span> <span class="subxS1Comment"># . flush(_test-output-buffered-file)</span> <span id="L688" class="LineNr"> 688 </span> <span class="subxS2Comment"># . . push args</span> <span id="L689" class="LineNr"> 689 </span> 68/push <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>/imm32 @@ -751,7 +751,7 @@ if ('onhashchange' in window) { <span id="L817" class="LineNr"> 817 </span> <span class="subxComment"># 68 20 # 68/push 0x20/imm8</span> <span id="L818" class="LineNr"> 818 </span> <span class="subxComment"># == data 0x2</span> <span id="L819" class="LineNr"> 819 </span> <span class="subxComment"># 03 04 00 00 00</span> -<span id="L820" class="Folded"> 820 </span><span class="Folded">+-- 26 lines: #? # debug print ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L820" class="Folded"> 820 </span><span class="Folded">+-- 26 lines: #? # debug print ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L846" class="LineNr"> 846 </span> <span class="subxS1Comment"># . flush(_test-output-buffered-file)</span> <span id="L847" class="LineNr"> 847 </span> <span class="subxS2Comment"># . . push args</span> <span id="L848" class="LineNr"> 848 </span> 68/push <a href='../115write-byte.subx.html#L359'>_test-output-buffered-file</a>/imm32 @@ -840,7 +840,7 @@ if ('onhashchange' in window) { <span id="L931" class="LineNr"> 931 </span> 68/push 0/imm32/end <span id="L932" class="LineNr"> 932 </span> 68/push 0/imm32/start <span id="L933" class="LineNr"> 933 </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="L934" class="Folded"> 934 </span><span class="Folded">+-- 26 lines: #? # dump line --------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L934" class="Folded"> 934 </span><span class="Folded">+-- 26 lines: #? # dump line -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L960" class="LineNr"> 960 </span><span class="Constant">$convert-data:loop</span>: <span id="L961" class="LineNr"> 961 </span> <span class="subxComment"># next-word(line, word-slice)</span> <span id="L962" class="LineNr"> 962 </span> <span class="subxS2Comment"># . . push args</span> @@ -850,7 +850,7 @@ if ('onhashchange' in window) { <span id="L966" class="LineNr"> 966 </span> e8/call <a href='../127next-word.subx.html#L10'>next-word</a>/disp32 <span id="L967" class="LineNr"> 967 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L968" class="LineNr"> 968 </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="L969" class="Folded"> 969 </span><span class="Folded">+-- 40 lines: #? # dump word-slice --------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L969" class="Folded"> 969 </span><span class="Folded">+-- 40 lines: #? # dump word-slice -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1009" class="LineNr">1009 </span><span class="Constant">$convert-data:check0</span>: <span id="L1010" class="LineNr">1010 </span> <span class="subxComment"># if (slice-empty?(word-slice)) break</span> <span id="L1011" class="LineNr">1011 </span> <span class="subxS1Comment"># . eax = slice-empty?(word-slice)</span> @@ -1013,7 +1013,7 @@ if ('onhashchange' in window) { <span id="L1168" class="LineNr">1168 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L1169" class="LineNr">1169 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1170" class="LineNr">1170 </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="L1171" class="Folded">1171 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1171" class="Folded">1171 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1197" class="LineNr">1197 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "# abcd", msg)</span> <span id="L1198" class="LineNr">1198 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1199" class="LineNr">1199 </span> 68/push <span class="Constant">"F - test-convert-data-passes-comments-through"</span>/imm32 @@ -1478,7 +1478,7 @@ if ('onhashchange' in window) { <span id="L1658" class="LineNr">1658 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L1659" class="LineNr">1659 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1660" class="LineNr">1660 </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="L1661" class="Folded">1661 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1661" class="Folded">1661 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1687" class="LineNr">1687 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "30 abcd/o 42 e1 00 00 \n", msg)</span> <span id="L1688" class="LineNr">1688 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1689" class="LineNr">1689 </span> 68/push <span class="Constant">"F - test-convert-data-multiple-words"</span>/imm32 @@ -1545,7 +1545,7 @@ if ('onhashchange' in window) { <span id="L1750" class="LineNr">1750 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L1751" class="LineNr">1751 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1752" class="LineNr">1752 </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="L1753" class="Folded">1753 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1753" class="Folded">1753 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1779" class="LineNr">1779 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "30 00 00 00 # comment", msg)</span> <span id="L1780" class="LineNr">1780 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1781" class="LineNr">1781 </span> 68/push <span class="Constant">"F - test-convert-data-trailing-comment"</span>/imm32 @@ -2065,7 +2065,7 @@ if ('onhashchange' in window) { <span id="L2295" class="LineNr">2295 </span> e8/call <a href='../106stream.subx.html#L56'>rewind-stream</a>/disp32 <span id="L2296" class="LineNr">2296 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L2297" class="LineNr">2297 </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="L2298" class="Folded">2298 </span><span class="Folded">+-- 33 lines: #? # dump line --------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2298" class="Folded">2298 </span><span class="Folded">+-- 33 lines: #? # dump line -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2331" class="LineNr">2331 </span><span class="Constant">$emit-modrm:loop</span>: <span id="L2332" class="LineNr">2332 </span> <span class="subxComment"># next-word(line, word-slice)</span> <span id="L2333" class="LineNr">2333 </span> <span class="subxS2Comment"># . . push args</span> @@ -2075,7 +2075,7 @@ if ('onhashchange' in window) { <span id="L2337" class="LineNr">2337 </span> e8/call <a href='../127next-word.subx.html#L10'>next-word</a>/disp32 <span id="L2338" class="LineNr">2338 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L2339" class="LineNr">2339 </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="L2340" class="Folded">2340 </span><span class="Folded">+-- 40 lines: #? # dump word-slice --------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2340" class="Folded">2340 </span><span class="Folded">+-- 40 lines: #? # dump word-slice -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2380" class="LineNr">2380 </span><span class="Constant">$emit-modrm:check0</span>: <span id="L2381" class="LineNr">2381 </span> <span class="subxComment"># if (slice-empty?(word-slice)) break</span> <span id="L2382" class="LineNr">2382 </span> <span class="subxS1Comment"># . eax = slice-empty?(word-slice)</span> @@ -2311,7 +2311,7 @@ if ('onhashchange' in window) { <span id="L2612" class="LineNr">2612 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L2613" class="LineNr">2613 </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="L2614" class="LineNr">2614 </span><span class="Constant">$emit-sib:loop</span>: -<span id="L2615" class="Folded">2615 </span><span class="Folded">+-- 26 lines: #? # dump line --------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2615" class="Folded">2615 </span><span class="Folded">+-- 26 lines: #? # dump line -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2641" class="LineNr">2641 </span> <span class="subxComment"># next-word(line, word-slice)</span> <span id="L2642" class="LineNr">2642 </span> <span class="subxS2Comment"># . . push args</span> <span id="L2643" class="LineNr">2643 </span> 51/push-ecx @@ -2320,7 +2320,7 @@ if ('onhashchange' in window) { <span id="L2646" class="LineNr">2646 </span> e8/call <a href='../127next-word.subx.html#L10'>next-word</a>/disp32 <span id="L2647" class="LineNr">2647 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L2648" class="LineNr">2648 </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="L2649" class="Folded">2649 </span><span class="Folded">+-- 40 lines: #? # dump word-slice --------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2649" class="Folded">2649 </span><span class="Folded">+-- 40 lines: #? # dump word-slice -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2689" class="LineNr">2689 </span><span class="Constant">$emit-sib:check0</span>: <span id="L2690" class="LineNr">2690 </span> <span class="subxComment"># if (slice-empty?(word-slice)) break</span> <span id="L2691" class="LineNr">2691 </span> <span class="subxS1Comment"># . eax = slice-empty?(word-slice)</span> @@ -2509,7 +2509,7 @@ if ('onhashchange' in window) { <span id="L2874" class="LineNr">2874 </span> e8/call <a href='../106stream.subx.html#L56'>rewind-stream</a>/disp32 <span id="L2875" class="LineNr">2875 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L2876" class="LineNr">2876 </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="L2877" class="Folded">2877 </span><span class="Folded">+-- 26 lines: #? # dump line --------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2877" class="Folded">2877 </span><span class="Folded">+-- 26 lines: #? # dump line -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2903" class="LineNr">2903 </span><span class="Constant">$emit-disp:loop</span>: <span id="L2904" class="LineNr">2904 </span> <span class="subxComment"># next-word(line, word-slice)</span> <span id="L2905" class="LineNr">2905 </span> <span class="subxS2Comment"># . . push args</span> @@ -2519,7 +2519,7 @@ if ('onhashchange' in window) { <span id="L2909" class="LineNr">2909 </span> e8/call <a href='../127next-word.subx.html#L10'>next-word</a>/disp32 <span id="L2910" class="LineNr">2910 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L2911" class="LineNr">2911 </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="L2912" class="Folded">2912 </span><span class="Folded">+-- 40 lines: #? # dump word-slice --------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2912" class="Folded">2912 </span><span class="Folded">+-- 40 lines: #? # dump word-slice -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2952" class="LineNr">2952 </span><span class="Constant">$emit-disp:check0</span>: <span id="L2953" class="LineNr">2953 </span> <span class="subxComment"># if (slice-empty?(word-slice)) break</span> <span id="L2954" class="LineNr">2954 </span> <span class="subxS1Comment"># . eax = slice-empty?(word-slice)</span> @@ -2664,7 +2664,7 @@ if ('onhashchange' in window) { <span id="L3093" class="LineNr">3093 </span> e8/call <a href='../106stream.subx.html#L56'>rewind-stream</a>/disp32 <span id="L3094" class="LineNr">3094 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3095" class="LineNr">3095 </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="L3096" class="Folded">3096 </span><span class="Folded">+-- 26 lines: #? # dump line --------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3096" class="Folded">3096 </span><span class="Folded">+-- 26 lines: #? # dump line -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3122" class="LineNr">3122 </span><span class="Constant">$emit-imm:loop</span>: <span id="L3123" class="LineNr">3123 </span> <span class="subxComment"># next-word(line, word-slice)</span> <span id="L3124" class="LineNr">3124 </span> <span class="subxS2Comment"># . . push args</span> @@ -2674,7 +2674,7 @@ if ('onhashchange' in window) { <span id="L3128" class="LineNr">3128 </span> e8/call <a href='../127next-word.subx.html#L10'>next-word</a>/disp32 <span id="L3129" class="LineNr">3129 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3130" class="LineNr">3130 </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="L3131" class="Folded">3131 </span><span class="Folded">+-- 40 lines: #? # dump word-slice --------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3131" class="Folded">3131 </span><span class="Folded">+-- 40 lines: #? # dump word-slice -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3171" class="LineNr">3171 </span><span class="Constant">$emit-imm:check0</span>: <span id="L3172" class="LineNr">3172 </span> <span class="subxComment"># if (slice-empty?(word-slice)) break</span> <span id="L3173" class="LineNr">3173 </span> <span class="subxS1Comment"># . eax = slice-empty?(word-slice)</span> @@ -2993,7 +2993,7 @@ if ('onhashchange' in window) { <span id="L3486" class="LineNr">3486 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L3487" class="LineNr">3487 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3488" class="LineNr">3488 </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="L3489" class="Folded">3489 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3489" class="Folded">3489 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3515" class="LineNr">3515 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "ab # ab/cd # comment", msg)</span> <span id="L3516" class="LineNr">3516 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3517" class="LineNr">3517 </span> 68/push <span class="Constant">"F - test-convert-instruction-handles-single-opcode"</span>/imm32 @@ -3060,7 +3060,7 @@ if ('onhashchange' in window) { <span id="L3578" class="LineNr">3578 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L3579" class="LineNr">3579 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3580" class="LineNr">3580 </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="L3581" class="Folded">3581 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3581" class="Folded">3581 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3607" class="LineNr">3607 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "0f ab # 0f/m1 ab/m2 # comment", msg)</span> <span id="L3608" class="LineNr">3608 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3609" class="LineNr">3609 </span> 68/push <span class="Constant">"F - test-convert-instruction-handles-0f-opcode"</span>/imm32 @@ -3127,7 +3127,7 @@ if ('onhashchange' in window) { <span id="L3670" class="LineNr">3670 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L3671" class="LineNr">3671 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3672" class="LineNr">3672 </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="L3673" class="Folded">3673 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3673" class="Folded">3673 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3699" class="LineNr">3699 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "f2 ab # f2/m1 ab/m2 # comment", msg)</span> <span id="L3700" class="LineNr">3700 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3701" class="LineNr">3701 </span> 68/push <span class="Constant">"F - test-convert-instruction-handles-f2-opcode"</span>/imm32 @@ -3194,7 +3194,7 @@ if ('onhashchange' in window) { <span id="L3762" class="LineNr">3762 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L3763" class="LineNr">3763 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3764" class="LineNr">3764 </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="L3765" class="Folded">3765 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3765" class="Folded">3765 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3791" class="LineNr">3791 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "f3 ab # f3/m1 ab/m2 # comment", msg)</span> <span id="L3792" class="LineNr">3792 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3793" class="LineNr">3793 </span> 68/push <span class="Constant">"F - test-convert-instruction-handles-f3-opcode"</span>/imm32 @@ -3261,7 +3261,7 @@ if ('onhashchange' in window) { <span id="L3854" class="LineNr">3854 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L3855" class="LineNr">3855 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3856" class="LineNr">3856 </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="L3857" class="Folded">3857 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3857" class="Folded">3857 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3883" class="LineNr">3883 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "f2 0f ab # f2/m1 0f/m2 ab/m3 # comment", msg)</span> <span id="L3884" class="LineNr">3884 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3885" class="LineNr">3885 </span> 68/push <span class="Constant">"F - test-convert-instruction-handles-f2-0f-opcode"</span>/imm32 @@ -3328,7 +3328,7 @@ if ('onhashchange' in window) { <span id="L3946" class="LineNr">3946 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L3947" class="LineNr">3947 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3948" class="LineNr">3948 </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="L3949" class="Folded">3949 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3949" class="Folded">3949 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3975" class="LineNr">3975 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "f3 0f ab # f3/m1 0f/m2 ab/m3 # comment", msg)</span> <span id="L3976" class="LineNr">3976 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3977" class="LineNr">3977 </span> 68/push <span class="Constant">"F - test-convert-instruction-handles-f3-0f-opcode"</span>/imm32 @@ -3395,7 +3395,7 @@ if ('onhashchange' in window) { <span id="L4038" class="LineNr">4038 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L4039" class="LineNr">4039 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L4040" class="LineNr">4040 </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="L4041" class="Folded">4041 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4041" class="Folded">4041 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4067" class="LineNr">4067 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "ab # f3/m1 0f/m2 ab/m3 # comment", msg)</span> <span id="L4068" class="LineNr">4068 </span> <span class="subxS2Comment"># . . push args</span> <span id="L4069" class="LineNr">4069 </span> 68/push <span class="Constant">"F - test-convert-instruction-handles-unused-opcodes"</span>/imm32 @@ -3462,7 +3462,7 @@ if ('onhashchange' in window) { <span id="L4130" class="LineNr">4130 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L4131" class="LineNr">4131 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L4132" class="LineNr">4132 </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="L4133" class="Folded">4133 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4133" class="Folded">4133 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4159" class="LineNr">4159 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "f2 ab # f2/m1 ab/m2 cd/m3 # comment", msg)</span> <span id="L4160" class="LineNr">4160 </span> <span class="subxS2Comment"># . . push args</span> <span id="L4161" class="LineNr">4161 </span> 68/push <span class="Constant">"F - test-convert-instruction-handles-unused-second-opcodes"</span>/imm32 @@ -3529,7 +3529,7 @@ if ('onhashchange' in window) { <span id="L4222" class="LineNr">4222 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L4223" class="LineNr">4223 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L4224" class="LineNr">4224 </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="L4225" class="Folded">4225 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4225" class="Folded">4225 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4251" class="LineNr">4251 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "f3 ab # f3/m1 ab/m2 cd/m3 # comment", msg)</span> <span id="L4252" class="LineNr">4252 </span> <span class="subxS2Comment"># . . push args</span> <span id="L4253" class="LineNr">4253 </span> 68/push <span class="Constant">"F - test-convert-instruction-handles-unused-second-opcodes"</span>/imm32 @@ -3596,7 +3596,7 @@ if ('onhashchange' in window) { <span id="L4314" class="LineNr">4314 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L4315" class="LineNr">4315 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L4316" class="LineNr">4316 </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="L4317" class="Folded">4317 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4317" class="Folded">4317 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4343" class="LineNr">4343 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "8b 08 # 8b/copy 0/mod 0/rm32 1/r32", msg)</span> <span id="L4344" class="LineNr">4344 </span> <span class="subxS2Comment"># . . push args</span> <span id="L4345" class="LineNr">4345 </span> 68/push <span class="Constant">"F - test-convert-instruction-emits-modrm-byte"</span>/imm32 @@ -3661,7 +3661,7 @@ if ('onhashchange' in window) { <span id="L4404" class="LineNr">4404 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L4405" class="LineNr">4405 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L4406" class="LineNr">4406 </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="L4407" class="Folded">4407 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4407" class="Folded">4407 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4433" class="LineNr">4433 </span> <span class="subxComment"># check output</span> <span id="L4434" class="LineNr">4434 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "# abcd", msg)</span> <span id="L4435" class="LineNr">4435 </span> <span class="subxS2Comment"># . . push args</span> @@ -3729,7 +3729,7 @@ if ('onhashchange' in window) { <span id="L4497" class="LineNr">4497 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L4498" class="LineNr">4498 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L4499" class="LineNr">4499 </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="L4500" class="Folded">4500 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4500" class="Folded">4500 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4526" class="LineNr">4526 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "ff 30 # ff 6/subop/push 0/mod 0/rm32", msg)</span> <span id="L4527" class="LineNr">4527 </span> <span class="subxS2Comment"># . . push args</span> <span id="L4528" class="LineNr">4528 </span> 68/push <span class="Constant">"F - test-convert-instruction-emits-modrm-byte-from-subop"</span>/imm32 @@ -3796,7 +3796,7 @@ if ('onhashchange' in window) { <span id="L4589" class="LineNr">4589 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L4590" class="LineNr">4590 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L4591" class="LineNr">4591 </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="L4592" class="Folded">4592 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4592" class="Folded">4592 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4618" class="LineNr">4618 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "8b 08 # 8b/copy 0/rm32 1/r32", msg)</span> <span id="L4619" class="LineNr">4619 </span> <span class="subxS2Comment"># . . push args</span> <span id="L4620" class="LineNr">4620 </span> 68/push <span class="Constant">"F - test-convert-instruction-emits-modrm-byte-with-missing-mod"</span>/imm32 @@ -3863,7 +3863,7 @@ if ('onhashchange' in window) { <span id="L4681" class="LineNr">4681 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L4682" class="LineNr">4682 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L4683" class="LineNr">4683 </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="L4684" class="Folded">4684 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4684" class="Folded">4684 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4710" class="LineNr">4710 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "8b 08 # 8b/copy 0/mod 1/r32", msg)</span> <span id="L4711" class="LineNr">4711 </span> <span class="subxS2Comment"># . . push args</span> <span id="L4712" class="LineNr">4712 </span> 68/push <span class="Constant">"F - test-convert-instruction-emits-modrm-byte-with-missing-rm32"</span>/imm32 @@ -3930,7 +3930,7 @@ if ('onhashchange' in window) { <span id="L4773" class="LineNr">4773 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L4774" class="LineNr">4774 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L4775" class="LineNr">4775 </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="L4776" class="Folded">4776 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4776" class="Folded">4776 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4802" class="LineNr">4802 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "8b 00 # 8b/copy 0/mod 0/rm32", msg)</span> <span id="L4803" class="LineNr">4803 </span> <span class="subxS2Comment"># . . push args</span> <span id="L4804" class="LineNr">4804 </span> 68/push <span class="Constant">"F - test-convert-instruction-emits-modrm-byte-with-missing-r32"</span>/imm32 @@ -3997,7 +3997,7 @@ if ('onhashchange' in window) { <span id="L4865" class="LineNr">4865 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L4866" class="LineNr">4866 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L4867" class="LineNr">4867 </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="L4868" class="Folded">4868 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4868" class="Folded">4868 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4894" class="LineNr">4894 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "8b 08 # 8b/copy 0/mod 4/rm32 1/r32 0/base 1/index 0/scale", msg)</span> <span id="L4895" class="LineNr">4895 </span> <span class="subxS2Comment"># . . push args</span> <span id="L4896" class="LineNr">4896 </span> 68/push <span class="Constant">"F - test-convert-instruction-emits-sib-byte"</span>/imm32 @@ -4064,7 +4064,7 @@ if ('onhashchange' in window) { <span id="L4957" class="LineNr">4957 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L4958" class="LineNr">4958 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L4959" class="LineNr">4959 </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="L4960" class="Folded">4960 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4960" class="Folded">4960 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4986" class="LineNr">4986 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "8b 04 40 # 8b/copy 0/mod 4/rm32 1/scale", msg)</span> <span id="L4987" class="LineNr">4987 </span> <span class="subxS2Comment"># . . push args</span> <span id="L4988" class="LineNr">4988 </span> 68/push <span class="Constant">"F - test-convert-instruction-emits-scale"</span>/imm32 @@ -4131,7 +4131,7 @@ if ('onhashchange' in window) { <span id="L5049" class="LineNr">5049 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L5050" class="LineNr">5050 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L5051" class="LineNr">5051 </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="L5052" class="Folded">5052 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5052" class="Folded">5052 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5078" class="LineNr">5078 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "8b 0c 08 # 8b/copy 0/mod 4/rm32 1/r32 1/index 0/scale", msg)</span> <span id="L5079" class="LineNr">5079 </span> <span class="subxS2Comment"># . . push args</span> <span id="L5080" class="LineNr">5080 </span> 68/push <span class="Constant">"F - test-convert-instruction-emits-sib-byte-with-missing-base"</span>/imm32 @@ -4198,7 +4198,7 @@ if ('onhashchange' in window) { <span id="L5141" class="LineNr">5141 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L5142" class="LineNr">5142 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L5143" class="LineNr">5143 </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="L5144" class="Folded">5144 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5144" class="Folded">5144 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5170" class="LineNr">5170 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "8b 0c 08 # 8b/copy 0/mod 4/rm32 1/r32 0/base 0/scale", msg)</span> <span id="L5171" class="LineNr">5171 </span> <span class="subxS2Comment"># . . push args</span> <span id="L5172" class="LineNr">5172 </span> 68/push <span class="Constant">"F - test-convert-instruction-emits-sib-byte-with-missing-index"</span>/imm32 @@ -4265,7 +4265,7 @@ if ('onhashchange' in window) { <span id="L5233" class="LineNr">5233 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L5234" class="LineNr">5234 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L5235" class="LineNr">5235 </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="L5236" class="Folded">5236 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5236" class="Folded">5236 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5262" class="LineNr">5262 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "8b 0c 08 # 8b/copy 0/mod 4/rm32 1/r32 0/base 1/index", msg)</span> <span id="L5263" class="LineNr">5263 </span> <span class="subxS2Comment"># . . push args</span> <span id="L5264" class="LineNr">5264 </span> 68/push <span class="Constant">"F - test-convert-instruction-emits-sib-byte-with-missing-scale"</span>/imm32 @@ -4332,7 +4332,7 @@ if ('onhashchange' in window) { <span id="L5325" class="LineNr">5325 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L5326" class="LineNr">5326 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L5327" class="LineNr">5327 </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="L5328" class="Folded">5328 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5328" class="Folded">5328 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5354" class="LineNr">5354 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "e8 20 00 00 00 # e8/call 20/disp32", msg)</span> <span id="L5355" class="LineNr">5355 </span> <span class="subxS2Comment"># . . push args</span> <span id="L5356" class="LineNr">5356 </span> 68/push <span class="Constant">"F - test-convert-instruction-handles-disp32-operand"</span>/imm32 @@ -4399,7 +4399,7 @@ if ('onhashchange' in window) { <span id="L5417" class="LineNr">5417 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L5418" class="LineNr">5418 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L5419" class="LineNr">5419 </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="L5420" class="Folded">5420 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5420" class="Folded">5420 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5446" class="LineNr">5446 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "e8 20 00 # e8/call 20/disp16", msg)</span> <span id="L5447" class="LineNr">5447 </span> <span class="subxS2Comment"># . . push args</span> <span id="L5448" class="LineNr">5448 </span> 68/push <span class="Constant">"F - test-convert-instruction-handles-disp16-operand"</span>/imm32 @@ -4466,7 +4466,7 @@ if ('onhashchange' in window) { <span id="L5509" class="LineNr">5509 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L5510" class="LineNr">5510 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L5511" class="LineNr">5511 </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="L5512" class="Folded">5512 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5512" class="Folded">5512 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5538" class="LineNr">5538 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "eb 20 # eb/jump 20/disp8", msg)</span> <span id="L5539" class="LineNr">5539 </span> <span class="subxS2Comment"># . . push args</span> <span id="L5540" class="LineNr">5540 </span> 68/push <span class="Constant">"F - test-convert-instruction-handles-disp8-operand"</span>/imm32 @@ -4533,7 +4533,7 @@ if ('onhashchange' in window) { <span id="L5601" class="LineNr">5601 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L5602" class="LineNr">5602 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L5603" class="LineNr">5603 </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="L5604" class="Folded">5604 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5604" class="Folded">5604 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5630" class="LineNr">5630 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "eb xyz/disp8 # eb/jump xyz/disp8", msg)</span> <span id="L5631" class="LineNr">5631 </span> <span class="subxS2Comment"># . . push args</span> <span id="L5632" class="LineNr">5632 </span> 68/push <span class="Constant">"F - test-convert-instruction-handles-disp8-name"</span>/imm32 @@ -4600,7 +4600,7 @@ if ('onhashchange' in window) { <span id="L5693" class="LineNr">5693 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L5694" class="LineNr">5694 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L5695" class="LineNr">5695 </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="L5696" class="Folded">5696 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5696" class="Folded">5696 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5722" class="LineNr">5722 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "68 20 00 00 00 # 68/push 0x20/imm32", msg)</span> <span id="L5723" class="LineNr">5723 </span> <span class="subxS2Comment"># . . push args</span> <span id="L5724" class="LineNr">5724 </span> 68/push <span class="Constant">"F - test-convert-instruction-handles-imm32-operand"</span>/imm32 @@ -4668,7 +4668,7 @@ if ('onhashchange' in window) { <span id="L5786" class="LineNr">5786 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L5787" class="LineNr">5787 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L5788" class="LineNr">5788 </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="L5789" class="Folded">5789 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5789" class="Folded">5789 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5815" class="LineNr">5815 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "68 20 00 # 68/push 0x20/imm16", msg)</span> <span id="L5816" class="LineNr">5816 </span> <span class="subxS2Comment"># . . push args</span> <span id="L5817" class="LineNr">5817 </span> 68/push <span class="Constant">"F - test-convert-instruction-handles-imm16-operand"</span>/imm32 @@ -4736,7 +4736,7 @@ if ('onhashchange' in window) { <span id="L5879" class="LineNr">5879 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L5880" class="LineNr">5880 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L5881" class="LineNr">5881 </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="L5882" class="Folded">5882 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L5882" class="Folded">5882 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L5908" class="LineNr">5908 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "68 20 # 68/push 0x20/imm8", msg)</span> <span id="L5909" class="LineNr">5909 </span> <span class="subxS2Comment"># . . push args</span> <span id="L5910" class="LineNr">5910 </span> 68/push <span class="Constant">"F - test-convert-instruction-handles-imm8-operand"</span>/imm32 diff --git a/html/apps/print-file.mu.html b/html/apps/print-file.mu.html index 19683ba9..761520f7 100644 --- a/html/apps/print-file.mu.html +++ b/html/apps/print-file.mu.html @@ -81,7 +81,7 @@ if ('onhashchange' in window) { <span id="L23" class="LineNr">23 </span> <span class="PreProc">var</span> in: (handle buffered-file) <span id="L24" class="LineNr">24 </span> <span class="Delimiter">{</span> <span id="L25" class="LineNr">25 </span> <span class="PreProc">var</span> addr-in/<span class="Constant">eax</span>: (addr handle buffered-file) <span class="SpecialChar"><-</span> address in -<span id="L26" class="LineNr">26 </span> <a href='../306files.subx.html#L3'>open</a> *filename, <span class="Constant">0</span>, addr-in +<span id="L26" class="LineNr">26 </span> <a href='../306files.subx.html#L12'>open</a> *filename, <span class="Constant">0</span>, addr-in <span id="L27" class="LineNr">27 </span> <span class="Delimiter">}</span> <span id="L28" class="LineNr">28 </span> <span class="PreProc">var</span> _in-addr/<span class="Constant">eax</span>: (addr buffered-file) <span class="SpecialChar"><-</span> <a href='../120allocate.subx.html#L256'>lookup</a> in <span id="L29" class="LineNr">29 </span> <span class="PreProc">var</span> in-addr/<span class="Constant">ecx</span>: (addr buffered-file) <span class="SpecialChar"><-</span> copy _in-addr diff --git a/html/apps/sigils.subx.html b/html/apps/sigils.subx.html index 39a1c46c..06f9672a 100644 --- a/html/apps/sigils.subx.html +++ b/html/apps/sigils.subx.html @@ -268,7 +268,7 @@ if ('onhashchange' in window) { <span id="L206" class="LineNr"> 206 </span> 3d/compare-eax-and 0x25/imm32/percent <span id="L207" class="LineNr"> 207 </span> 75/jump-if-!= $subx-sigils:check-for-indirect-mode/disp8 <span id="L208" class="LineNr"> 208 </span><span class="Constant">$subx-sigils:direct-mode</span>: -<span id="L209" class="Folded"> 209 </span><span class="Folded">+-- 40 lines: #? # dump word-slice --------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L209" class="Folded"> 209 </span><span class="Folded">+-- 40 lines: #? # dump word-slice -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L249" class="LineNr"> 249 </span> <span class="subxComment"># emit-direct-mode(out, word-slice)</span> <span id="L250" class="LineNr"> 250 </span> <span class="subxS2Comment"># . . push args</span> <span id="L251" class="LineNr"> 251 </span> 52/push-edx @@ -509,7 +509,7 @@ if ('onhashchange' in window) { <span id="L486" class="LineNr"> 486 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L487" class="LineNr"> 487 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L488" class="LineNr"> 488 </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="L489" class="Folded"> 489 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L489" class="Folded"> 489 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L515" class="LineNr"> 515 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "== abcd 0x1 \n", msg)</span> <span id="L516" class="LineNr"> 516 </span> <span class="subxS2Comment"># . . push args</span> <span id="L517" class="LineNr"> 517 </span> 68/push <span class="Constant">"F - test-subx-sigils-passes-most-words-through"</span>/imm32 @@ -582,7 +582,7 @@ if ('onhashchange' in window) { <span id="L584" class="LineNr"> 584 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L585" class="LineNr"> 585 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L586" class="LineNr"> 586 </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="L587" class="Folded"> 587 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L587" class="Folded"> 587 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L613" class="LineNr"> 613 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "ab 3/mod/direct 0x00000001/rm32 \n", msg)</span> <span id="L614" class="LineNr"> 614 </span> <span class="subxS2Comment"># . . push args</span> <span id="L615" class="LineNr"> 615 </span> 68/push <span class="Constant">"F - test-subx-sigils-direct-mode"</span>/imm32 @@ -727,7 +727,7 @@ if ('onhashchange' in window) { <span id="L754" class="LineNr"> 754 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L755" class="LineNr"> 755 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L756" class="LineNr"> 756 </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="L757" class="Folded"> 757 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L757" class="Folded"> 757 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L783" class="LineNr"> 783 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "ab 0/mod/indirect 0x00000001/rm32 \n", msg)</span> <span id="L784" class="LineNr"> 784 </span> <span class="subxS2Comment"># . . push args</span> <span id="L785" class="LineNr"> 785 </span> 68/push <span class="Constant">"F - test-subx-sigils-register-indirect-mode"</span>/imm32 @@ -872,7 +872,7 @@ if ('onhashchange' in window) { <span id="L924" class="LineNr"> 924 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L925" class="LineNr"> 925 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L926" class="LineNr"> 926 </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="L927" class="Folded"> 927 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L927" class="Folded"> 927 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L953" class="LineNr"> 953 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "ab 0/mod/indirect 1/rm32 \n", msg)</span> <span id="L954" class="LineNr"> 954 </span> <span class="subxS2Comment"># . . push args</span> <span id="L955" class="LineNr"> 955 </span> 68/push <span class="Constant">"F - test-subx-sigils-register-indirect-mode-without-displacement"</span>/imm32 @@ -945,7 +945,7 @@ if ('onhashchange' in window) { <span id="L1022" class="LineNr">1022 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L1023" class="LineNr">1023 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1024" class="LineNr">1024 </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="L1025" class="Folded">1025 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1025" class="Folded">1025 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1051" class="LineNr">1051 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "ab 2/mod/*+disp32 1/rm32 4/disp32 \n", msg)</span> <span id="L1052" class="LineNr">1052 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1053" class="LineNr">1053 </span> 68/push <span class="Constant">"F - test-subx-sigils-register-indirect-mode-with-displacement"</span>/imm32 @@ -1019,7 +1019,7 @@ if ('onhashchange' in window) { <span id="L1121" class="LineNr">1121 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L1122" class="LineNr">1122 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1123" class="LineNr">1123 </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="L1124" class="Folded">1124 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1124" class="Folded">1124 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1150" class="LineNr">1150 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "ab 2/mod/*+disp32 4/rm32/sib 1/base 2/index 3/scale 4/disp32 \n", msg)</span> <span id="L1151" class="LineNr">1151 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1152" class="LineNr">1152 </span> 68/push <span class="Constant">"F - test-subx-sigils-register-indirect-mode-with-sib-byte"</span>/imm32 @@ -1092,7 +1092,7 @@ if ('onhashchange' in window) { <span id="L1219" class="LineNr">1219 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L1220" class="LineNr">1220 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1221" class="LineNr">1221 </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="L1222" class="Folded">1222 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1222" class="Folded">1222 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1248" class="LineNr">1248 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "ab 2/mod/*+disp32 4/rm32/sib 1/base 2/index 3/scale -4/disp32 \n", msg)</span> <span id="L1249" class="LineNr">1249 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1250" class="LineNr">1250 </span> 68/push <span class="Constant">"F - test-subx-sigils-register-indirect-mode-with-sib-byte-negative-displacement"</span>/imm32 @@ -1165,7 +1165,7 @@ if ('onhashchange' in window) { <span id="L1317" class="LineNr">1317 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L1318" class="LineNr">1318 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1319" class="LineNr">1319 </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="L1320" class="Folded">1320 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream -----------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1320" class="Folded">1320 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1346" class="LineNr">1346 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "ab 0/mod/indirect 5/rm32/.disp32 Foo/disp32 \n", msg)</span> <span id="L1347" class="LineNr">1347 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1348" class="LineNr">1348 </span> 68/push <span class="Constant">"F - test-subx-sigils-indirect-mode-without-register"</span>/imm32 @@ -1194,7 +1194,7 @@ if ('onhashchange' in window) { <span id="L1371" class="LineNr">1371 </span> <span class="subxComment"># ++local-slice->start to skip '%'</span> <span id="L1372" class="LineNr">1372 </span> <span class="subxS1Comment"># . ++(*eax)</span> <span id="L1373" class="LineNr">1373 </span> ff 0/subop/increment 0/mod/indirect 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># increment *eax</span> -<span id="L1374" class="Folded">1374 </span><span class="Folded">+-- 24 lines: #? # write-slice-buffered(Stderr, word-slice) -------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1374" class="Folded">1374 </span><span class="Folded">+-- 24 lines: #? # write-slice-buffered(Stderr, word-slice) ----------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1398" class="LineNr">1398 </span> <span class="subxComment"># local-slice = next-token-from-slice(local-slice->start, local-slice->end, "/")</span> <span id="L1399" class="LineNr">1399 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1400" class="LineNr">1400 </span> 50/push-eax @@ -1292,7 +1292,7 @@ if ('onhashchange' in window) { <span id="L1492" class="LineNr">1492 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L1493" class="LineNr">1493 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1494" class="LineNr">1494 </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="L1495" class="Folded">1495 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1495" class="Folded">1495 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1521" class="LineNr">1521 </span> <span class="subxComment"># check-stream-equal(_test-output-stream, "3/mod/direct 0/rm32", msg)</span> <span id="L1522" class="LineNr">1522 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1523" class="LineNr">1523 </span> 68/push <span class="Constant">"F - <a href='sigils.subx.html#L1452'>test-emit-direct-mode</a>/0"</span>/imm32 @@ -1350,7 +1350,7 @@ if ('onhashchange' in window) { <span id="L1575" class="LineNr">1575 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L1576" class="LineNr">1576 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1577" class="LineNr">1577 </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="L1578" class="Folded">1578 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1578" class="Folded">1578 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1604" class="LineNr">1604 </span> <span class="subxComment"># check-stream-equal(_test-output-stream, "3/mod/direct 7/rm32", msg)</span> <span id="L1605" class="LineNr">1605 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1606" class="LineNr">1606 </span> 68/push <span class="Constant">"F - <a href='sigils.subx.html#L1452'>test-emit-direct-mode</a>/1"</span>/imm32 @@ -3122,7 +3122,7 @@ if ('onhashchange' in window) { <span id="L3372" class="LineNr">3372 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L3373" class="LineNr">3373 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3374" class="LineNr">3374 </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="L3375" class="Folded">3375 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3375" class="Folded">3375 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3401" class="LineNr">3401 </span> <span class="subxComment"># check-stream-equal(_test-output-stream, "0/mod/indirect 0/rm32", msg)</span> <span id="L3402" class="LineNr">3402 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3403" class="LineNr">3403 </span> 68/push <span class="Constant">"F - test-emit-indirect-mode"</span>/imm32 @@ -3174,7 +3174,7 @@ if ('onhashchange' in window) { <span id="L3449" class="LineNr">3449 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L3450" class="LineNr">3450 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3451" class="LineNr">3451 </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="L3452" class="Folded">3452 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3452" class="Folded">3452 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3478" class="LineNr">3478 </span> <span class="subxComment"># check-stream-equal(_test-output-stream, "0/mod/indirect 7/rm32", msg)</span> <span id="L3479" class="LineNr">3479 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3480" class="LineNr">3480 </span> 68/push <span class="Constant">"F - test-emit-indirect-mode-2"</span>/imm32 @@ -3226,7 +3226,7 @@ if ('onhashchange' in window) { <span id="L3526" class="LineNr">3526 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L3527" class="LineNr">3527 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3528" class="LineNr">3528 </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="L3529" class="Folded">3529 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3529" class="Folded">3529 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3555" class="LineNr">3555 </span> <span class="subxComment"># check-stream-equal(_test-output-stream, "2/mod/*+disp32 6/rm32 4/disp32", msg)</span> <span id="L3556" class="LineNr">3556 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3557" class="LineNr">3557 </span> 68/push <span class="Constant">"F - test-emit-indirect-mode-with-disp"</span>/imm32 @@ -3278,7 +3278,7 @@ if ('onhashchange' in window) { <span id="L3603" class="LineNr">3603 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L3604" class="LineNr">3604 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3605" class="LineNr">3605 </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="L3606" class="Folded">3606 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3606" class="Folded">3606 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3632" class="LineNr">3632 </span> <span class="subxComment"># check-stream-equal(_test-output-stream, "2/mod/*+disp32 6/rm32 -4/disp32", msg)</span> <span id="L3633" class="LineNr">3633 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3634" class="LineNr">3634 </span> 68/push <span class="Constant">"F - test-emit-indirect-mode-with-disp"</span>/imm32 @@ -3330,7 +3330,7 @@ if ('onhashchange' in window) { <span id="L3680" class="LineNr">3680 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L3681" class="LineNr">3681 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3682" class="LineNr">3682 </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="L3683" class="Folded">3683 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3683" class="Folded">3683 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3709" class="LineNr">3709 </span> <span class="subxComment"># check-stream-equal(_test-output-stream, "2/mod/indirect 4/rm32/sib 6/base 1/index 2/scale 4/disp", msg)</span> <span id="L3710" class="LineNr">3710 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3711" class="LineNr">3711 </span> 68/push <span class="Constant">"F - test-emit-indirect-mode-with-sib"</span>/imm32 @@ -3382,7 +3382,7 @@ if ('onhashchange' in window) { <span id="L3757" class="LineNr">3757 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L3758" class="LineNr">3758 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3759" class="LineNr">3759 </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="L3760" class="Folded">3760 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3760" class="Folded">3760 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3786" class="LineNr">3786 </span> <span class="subxComment"># check-stream-equal(_test-output-stream, "2/mod/*+disp32 4/rm32/sib 5/base/ebp 0/index 0/scale 0/disp32", msg)</span> <span id="L3787" class="LineNr">3787 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3788" class="LineNr">3788 </span> 68/push <span class="Constant">"F - test-emit-indirect-mode-ebp"</span>/imm32 @@ -3434,7 +3434,7 @@ if ('onhashchange' in window) { <span id="L3834" class="LineNr">3834 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L3835" class="LineNr">3835 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3836" class="LineNr">3836 </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="L3837" class="Folded">3837 </span><span class="Folded">+-- 26 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3837" class="Folded">3837 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3863" class="LineNr">3863 </span> <span class="subxComment"># check-stream-equal(_test-output-stream, "2/mod/*+disp32 4/rm32/sib 4/base/ebp 0/index 0/scale 0/disp32", msg)</span> <span id="L3864" class="LineNr">3864 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3865" class="LineNr">3865 </span> 68/push <span class="Constant">"F - test-emit-indirect-mode-esp"</span>/imm32 diff --git a/html/apps/survey.subx.html b/html/apps/survey.subx.html index 9dff98b5..2d731d1d 100644 --- a/html/apps/survey.subx.html +++ b/html/apps/survey.subx.html @@ -387,7 +387,7 @@ if ('onhashchange' in window) { <span id="L324" class="LineNr"> 324 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L325" class="LineNr"> 325 </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="L326" class="LineNr"> 326 </span> <span class="subxComment"># check trace</span> -<span id="L327" class="Folded"> 327 </span><span class="Folded">+-- 26 lines: #? # dump *Trace-stream -----------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L327" class="Folded"> 327 </span><span class="Folded">+-- 26 lines: #? # dump *Trace-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L353" class="LineNr"> 353 </span> <span class="subxS1Comment"># . check-trace-contains("label 'x' is at address 0x00001079.", msg)</span> <span id="L354" class="LineNr"> 354 </span> <span class="subxS2Comment"># . . push args</span> <span id="L355" class="LineNr"> 355 </span> 68/push <span class="Constant">"F - <a href='survey.subx.html#L222'>test-subx-survey-computes-addresses</a>/0"</span>/imm32 @@ -546,7 +546,7 @@ if ('onhashchange' in window) { <span id="L508" class="LineNr"> 508 </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="L509" class="LineNr"> 509 </span> 3d/compare-eax-and 0/imm32 <span id="L510" class="LineNr"> 510 </span> 0f 84/jump-if-= $compute-offsets:break-line-loop/disp32 -<span id="L511" class="Folded"> 511 </span><span class="Folded">+-- 33 lines: #? # dump line --------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L511" class="Folded"> 511 </span><span class="Folded">+-- 33 lines: #? # dump line -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L544" class="LineNr"> 544 </span><span class="Constant">$compute-offsets:word-loop</span>: <span id="L545" class="LineNr"> 545 </span> <span class="subxComment"># next-word(line, word-slice)</span> <span id="L546" class="LineNr"> 546 </span> 52/push-edx @@ -812,7 +812,7 @@ if ('onhashchange' in window) { <span id="L806" class="LineNr"> 806 </span> 01/add 0/mod/indirect 5/rm32/.disp32 <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/eax <a href='survey.subx.html#L407'>compute-offsets</a>:segment-offset/disp32 <span class="subxComment"># add eax to *segment-offset</span> <span id="L807" class="LineNr"> 807 </span> <span class="subxComment"># file-offset += width</span> <span id="L808" class="LineNr"> 808 </span> 01/add 0/mod/indirect 5/rm32/.disp32 <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/eax <a href='survey.subx.html#L407'>compute-offsets</a>:file-offset/disp32 <span class="subxComment"># add eax to *file-offset</span> -<span id="L809" class="Folded"> 809 </span><span class="Folded">+-- 41 lines: #? # dump segment-offset ----------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L809" class="Folded"> 809 </span><span class="Folded">+-- 41 lines: #? # dump segment-offset -------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L850" class="LineNr"> 850 </span> e9/jump $compute-offsets:word-loop/disp32 <span id="L851" class="LineNr"> 851 </span><span class="Constant">$compute-offsets:break-line-loop</span>: <span id="L852" class="LineNr"> 852 </span> <span class="subxComment"># sinfo/edi = get-or-insert-handle(segments, curr-segment-name, row-size=16)</span> @@ -988,7 +988,7 @@ if ('onhashchange' in window) { <span id="L1022" class="LineNr">1022 </span> e8/call <a href='survey.subx.html#L407'>compute-offsets</a>/disp32 <span id="L1023" class="LineNr">1023 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1024" class="LineNr">1024 </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="L1025" class="Folded">1025 </span><span class="Folded">+-- 26 lines: #? # dump *Trace-stream -----------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1025" class="Folded">1025 </span><span class="Folded">+-- 26 lines: #? # dump *Trace-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1051" class="LineNr">1051 </span> <span class="subxComment"># check trace</span> <span id="L1052" class="LineNr">1052 </span> <span class="subxS1Comment"># . check-trace-contains("segment 'code' is at file offset 0x00000000.", msg)</span> <span id="L1053" class="LineNr">1053 </span> <span class="subxS2Comment"># . . push args</span> @@ -1152,7 +1152,7 @@ if ('onhashchange' in window) { <span id="L1211" class="LineNr">1211 </span> 81 0/subop/add 3/mod/direct 6/rm32/esi <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0x14/imm32 <span class="subxComment"># add to esi</span> <span id="L1212" class="LineNr">1212 </span> eb/jump $compute-addresses:segment-loop/disp8 <span id="L1213" class="LineNr">1213 </span><span class="Constant">$compute-addresses:segment-break</span>: -<span id="L1214" class="Folded">1214 </span><span class="Folded">+-- 26 lines: #? # dump *Trace-stream -----------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1214" class="Folded">1214 </span><span class="Folded">+-- 26 lines: #? # dump *Trace-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1240" class="LineNr">1240 </span> <span class="subxComment"># esi = labels</span> <span id="L1241" class="LineNr">1241 </span> 8b/copy 1/mod/*+disp8 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 6/r32/esi 0xc/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(ebp+12) to esi</span> <span id="L1242" class="LineNr">1242 </span> <span class="subxComment"># var max/ecx: (addr byte) = &labels->data[labels->write]</span> @@ -1164,7 +1164,7 @@ if ('onhashchange' in window) { <span id="L1248" class="LineNr">1248 </span> <span class="subxComment"># if (lrow >= max) break</span> <span id="L1249" class="LineNr">1249 </span> 39/compare 3/mod/direct 6/rm32/esi <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"># compare esi with ecx</span> <span id="L1250" class="LineNr">1250 </span> 0f 83/jump-if-addr>= $compute-addresses:end/disp32 -<span id="L1251" class="Folded">1251 </span><span class="Folded">+-- 26 lines: #? # dump lrow->key ---------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1251" class="Folded">1251 </span><span class="Folded">+-- 26 lines: #? # dump lrow->key ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1277" class="LineNr">1277 </span> <span class="subxComment"># var seg-name/edx: (addr array byte) = lookup(lrow->segment-name)</span> <span id="L1278" class="LineNr">1278 </span> <span class="subxS1Comment"># . eax = lookup(lrow->segment-name)</span> <span id="L1279" class="LineNr">1279 </span> <span class="subxS2Comment"># . . push args</span> @@ -1176,7 +1176,7 @@ if ('onhashchange' in window) { <span id="L1285" class="LineNr">1285 </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="L1286" class="LineNr">1286 </span> <span class="subxS1Comment"># . edx = eax</span> <span id="L1287" class="LineNr">1287 </span> 89/copy 3/mod/direct 2/rm32/edx <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 eax to edx</span> -<span id="L1288" class="Folded">1288 </span><span class="Folded">+-- 26 lines: #? # dump seg-name ----------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1288" class="Folded">1288 </span><span class="Folded">+-- 26 lines: #? # dump seg-name -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1314" class="LineNr">1314 </span> <span class="subxComment"># var label-seg/edx: (addr segment-info) = get(segments, seg-name, row-size=20, "segment table")</span> <span id="L1315" class="LineNr">1315 </span> <span class="subxS1Comment"># . eax = get(segments, seg-name, row-size=20)</span> <span id="L1316" class="LineNr">1316 </span> <span class="subxS2Comment"># . . push args</span> @@ -1393,7 +1393,7 @@ if ('onhashchange' in window) { <span id="L1527" class="LineNr">1527 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1528" class="LineNr">1528 </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="L1529" class="LineNr">1529 </span> <span class="subxComment"># checks</span> -<span id="L1530" class="Folded">1530 </span><span class="Folded">+-- 26 lines: #? # dump *Trace-stream -----------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1530" class="Folded">1530 </span><span class="Folded">+-- 26 lines: #? # dump *Trace-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1556" class="LineNr">1556 </span> <span class="subxS1Comment"># . check-trace-contains("segment 'a' starts at address 0x00001094.", msg)</span> <span id="L1557" class="LineNr">1557 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1558" class="LineNr">1558 </span> 68/push <span class="Constant">"F - <a href='survey.subx.html#L1369'>test-compute-addresses</a>/0"</span>/imm32 @@ -1556,7 +1556,7 @@ if ('onhashchange' in window) { <span id="L1715" class="LineNr">1715 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1716" class="LineNr">1716 </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="L1717" class="LineNr">1717 </span> <span class="subxComment"># checks</span> -<span id="L1718" class="Folded">1718 </span><span class="Folded">+-- 26 lines: #? # dump *Trace-stream -----------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1718" class="Folded">1718 </span><span class="Folded">+-- 26 lines: #? # dump *Trace-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1744" class="LineNr">1744 </span> <span class="subxS1Comment"># . check-trace-contains("segment 'a' starts at address 0x00001074.", msg)</span> <span id="L1745" class="LineNr">1745 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1746" class="LineNr">1746 </span> 68/push <span class="Constant">"F - <a href='survey.subx.html#L1610'>test-compute-addresses-large-segments</a>/0"</span>/imm32 @@ -1594,7 +1594,7 @@ if ('onhashchange' in window) { <span id="L1778" class="LineNr">1778 </span> <span class="subxS1Comment"># . prologue</span> <span id="L1779" class="LineNr">1779 </span> 55/push-ebp <span id="L1780" class="LineNr">1780 </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="L1781" class="Folded">1781 </span><span class="Folded">+-- 9 lines: #? # write(2/stderr, "emit-headers\n") --------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1781" class="Folded">1781 </span><span class="Folded">+-- 9 lines: #? # write(2/stderr, "emit-headers\n") -----------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1790" class="LineNr">1790 </span> <span class="subxComment"># emit-headers(out, segments, labels)</span> <span id="L1791" class="LineNr">1791 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1792" class="LineNr">1792 </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> 0x14/disp8 <span class="Normal"> . </span> <span class="subxComment"># push *(ebp+20)</span> @@ -1604,7 +1604,7 @@ if ('onhashchange' in window) { <span id="L1796" class="LineNr">1796 </span> e8/call <a href='survey.subx.html#L3043'>emit-headers</a>/disp32 <span id="L1797" class="LineNr">1797 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1798" class="LineNr">1798 </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="L1799" class="Folded">1799 </span><span class="Folded">+-- 9 lines: #? # write(2/stderr, "emit-segments\n") -------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1799" class="Folded">1799 </span><span class="Folded">+-- 9 lines: #? # write(2/stderr, "emit-segments\n") ----------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1808" class="LineNr">1808 </span> <span class="subxComment"># emit-segments(in, out, labels)</span> <span id="L1809" class="LineNr">1809 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1810" class="LineNr">1810 </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> 0x14/disp8 <span class="Normal"> . </span> <span class="subxComment"># push *(ebp+20)</span> @@ -1718,7 +1718,7 @@ if ('onhashchange' in window) { <span id="L1918" class="LineNr">1918 </span> e8/call <a href='../122read-line.subx.html#L218'>read-line</a>/disp32 <span id="L1919" class="LineNr">1919 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1920" class="LineNr">1920 </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="L1921" class="Folded">1921 </span><span class="Folded">+-- 33 lines: #? # dump line --------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1921" class="Folded">1921 </span><span class="Folded">+-- 33 lines: #? # dump line -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1954" class="LineNr">1954 </span><span class="Constant">$emit-segments:check-for-end-of-input</span>: <span id="L1955" class="LineNr">1955 </span> <span class="subxComment"># if (line->write == 0) break</span> <span id="L1956" class="LineNr">1956 </span> 81 7/subop/compare 0/mod/indirect 1/rm32/ecx <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"># compare *ecx</span> @@ -1742,7 +1742,7 @@ if ('onhashchange' in window) { <span id="L1974" class="LineNr">1974 </span> e8/call <a href='../127next-word.subx.html#L10'>next-word</a>/disp32 <span id="L1975" class="LineNr">1975 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1976" class="LineNr">1976 </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="L1977" class="Folded">1977 </span><span class="Folded">+-- 33 lines: #? # dump word-slice --------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1977" class="Folded">1977 </span><span class="Folded">+-- 33 lines: #? # dump word-slice -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2010" class="LineNr">2010 </span><span class="Constant">$emit-segments:check-for-end-of-line</span>: <span id="L2011" class="LineNr">2011 </span> <span class="subxComment"># if (slice-empty?(word-slice)) break</span> <span id="L2012" class="LineNr">2012 </span> <span class="subxS1Comment"># . eax = slice-empty?(word-slice)</span> @@ -1828,7 +1828,7 @@ if ('onhashchange' in window) { <span id="L2092" class="LineNr">2092 </span> e8/call <a href='../124next-token.subx.html#L163'>next-token-from-slice</a>/disp32 <span id="L2093" class="LineNr">2093 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L2094" class="LineNr">2094 </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> 0x10/imm32 <span class="subxComment"># add to esp</span> -<span id="L2095" class="Folded">2095 </span><span class="Folded">+-- 33 lines: #? # dump datum -------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2095" class="Folded">2095 </span><span class="Folded">+-- 33 lines: #? # dump datum ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2128" class="LineNr">2128 </span> <span class="subxComment"># info/esi = get-slice(labels, datum, row-size=24, "label table")</span> <span id="L2129" class="LineNr">2129 </span> <span class="subxS1Comment"># . eax = get-slice(labels, datum, row-size=24, "label table")</span> <span id="L2130" class="LineNr">2130 </span> <span class="subxS2Comment"># . . push args</span> @@ -1927,7 +1927,7 @@ if ('onhashchange' in window) { <span id="L2223" class="LineNr">2223 </span> <span class="subxS1Comment"># . if (eax == false) goto next check</span> <span id="L2224" class="LineNr">2224 </span> 3d/compare-eax-and 0/imm32/false <span id="L2225" class="LineNr">2225 </span> 74/jump-if-= $emit-segments:check-code-label-for-disp8/disp8 -<span id="L2226" class="Folded">2226 </span><span class="Folded">+-- 33 lines: #? # dump info->address -----------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2226" class="Folded">2226 </span><span class="Folded">+-- 33 lines: #? # dump info->address --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2259" class="LineNr">2259 </span><span class="Constant">$emit-segments:emit-code-label-imm32</span>: <span id="L2260" class="LineNr">2260 </span> <span class="subxComment"># emit-hex(out, info->address, 4)</span> <span id="L2261" class="LineNr">2261 </span> <span class="subxS2Comment"># . . push args</span> @@ -2234,7 +2234,7 @@ if ('onhashchange' in window) { <span id="L2562" class="LineNr">2562 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L2563" class="LineNr">2563 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L2564" class="LineNr">2564 </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="L2565" class="Folded">2565 </span><span class="Folded">+-- 33 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2565" class="Folded">2565 </span><span class="Folded">+-- 33 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2598" class="LineNr">2598 </span> <span class="subxS1Comment"># . check-next-stream-line-equal(_test-output-stream, "ab cd ef gh ", msg)</span> <span id="L2599" class="LineNr">2599 </span> <span class="subxS2Comment"># . . push args</span> <span id="L2600" class="LineNr">2600 </span> 68/push <span class="Constant">"F - <a href='survey.subx.html#L2409'>test-emit-segments-global-variable</a>/0"</span>/imm32 @@ -2413,7 +2413,7 @@ if ('onhashchange' in window) { <span id="L2773" class="LineNr">2773 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L2774" class="LineNr">2774 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L2775" class="LineNr">2775 </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="L2776" class="Folded">2776 </span><span class="Folded">+-- 33 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2776" class="Folded">2776 </span><span class="Folded">+-- 33 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L2809" class="LineNr">2809 </span> <span class="subxS1Comment"># . check-next-stream-line-equal(_test-output-stream, "ab cd ", msg)</span> <span id="L2810" class="LineNr">2810 </span> <span class="subxS2Comment"># . . push args</span> <span id="L2811" class="LineNr">2811 </span> 68/push <span class="Constant">"F - <a href='survey.subx.html#L2639'>test-emit-segments-code-label</a>/0"</span>/imm32 @@ -2583,7 +2583,7 @@ if ('onhashchange' in window) { <span id="L2975" class="LineNr">2975 </span> e8/call <a href='../115write-byte.subx.html#L81'>flush</a>/disp32 <span id="L2976" class="LineNr">2976 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L2977" class="LineNr">2977 </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="L2978" class="Folded">2978 </span><span class="Folded">+-- 33 lines: #? # dump output ------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L2978" class="Folded">2978 </span><span class="Folded">+-- 33 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3011" class="LineNr">3011 </span> <span class="subxS1Comment"># . check-next-stream-line-equal(_test-output-stream, "ab cd ", msg)</span> <span id="L3012" class="LineNr">3012 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3013" class="LineNr">3013 </span> 68/push <span class="Constant">"F - <a href='survey.subx.html#L2841'>test-emit-segments-code-label-absolute</a>/0"</span>/imm32 @@ -2653,8 +2653,8 @@ if ('onhashchange' in window) { <span id="L3077" class="LineNr">3077 </span> <span class="subxComment"># if (curr-segment >= max) break</span> <span id="L3078" class="LineNr">3078 </span> 39/compare 3/mod/direct 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"># compare eax with ecx</span> <span id="L3079" class="LineNr">3079 </span> 0f 83/jump-if-addr>= $emit-headers:end/disp32 -<span id="L3080" class="Folded">3080 </span><span class="Folded">+-- 63 lines: #? # dump curr-segment->name ------------------------------------------------------------------------------------------------------------------------------------------</span> -<span id="L3143" class="Folded">3143 </span><span class="Folded">+-- 9 lines: #? # write(2/stderr, "emit-segment-header\n") -------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3080" class="Folded">3080 </span><span class="Folded">+-- 63 lines: #? # dump curr-segment->name ---------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3143" class="Folded">3143 </span><span class="Folded">+-- 9 lines: #? # write(2/stderr, "emit-segment-header\n") ----------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3152" class="LineNr">3152 </span> <span class="subxComment"># emit-elf-program-header-entry(out, curr-segment)</span> <span id="L3153" class="LineNr">3153 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3154" class="LineNr">3154 </span> 50/push-eax @@ -3174,7 +3174,7 @@ if ('onhashchange' in window) { <span id="L3668" class="LineNr">3668 </span> e8/call <a href='survey.subx.html#L3603'>trace-sssns</a>/disp32 <span id="L3669" class="LineNr">3669 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3670" class="LineNr">3670 </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> 0x14/imm32 <span class="subxComment"># add to esp</span> -<span id="L3671" class="Folded">3671 </span><span class="Folded">+-- 26 lines: #? # dump *Trace-stream -----------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3671" class="Folded">3671 </span><span class="Folded">+-- 26 lines: #? # dump *Trace-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3697" class="LineNr">3697 </span> <span class="subxComment"># check-trace-contains("Abc 0x00000003 e")</span> <span id="L3698" class="LineNr">3698 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3699" class="LineNr">3699 </span> 68/push <span class="Constant">"F - test-trace-sssns"</span>/imm32 @@ -3256,7 +3256,7 @@ if ('onhashchange' in window) { <span id="L3775" class="LineNr">3775 </span> e8/call <a href='survey.subx.html#L3710'>trace-snsns</a>/disp32 <span id="L3776" class="LineNr">3776 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3777" class="LineNr">3777 </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> 0x14/imm32 <span class="subxComment"># add to esp</span> -<span id="L3778" class="Folded">3778 </span><span class="Folded">+-- 26 lines: #? # dump *Trace-stream -----------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3778" class="Folded">3778 </span><span class="Folded">+-- 26 lines: #? # dump *Trace-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3804" class="LineNr">3804 </span> <span class="subxComment"># check-trace-contains("Abc 0x00000003 e")</span> <span id="L3805" class="LineNr">3805 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3806" class="LineNr">3806 </span> 68/push <span class="Constant">"F - test-trace-snsns"</span>/imm32 @@ -3356,7 +3356,7 @@ if ('onhashchange' in window) { <span id="L3900" class="LineNr">3900 </span> e8/call <a href='survey.subx.html#L3817'>trace-slsls</a>/disp32 <span id="L3901" class="LineNr">3901 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3902" class="LineNr">3902 </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> 0x14/imm32 <span class="subxComment"># add to esp</span> -<span id="L3903" class="Folded">3903 </span><span class="Folded">+-- 26 lines: #? # dump *Trace-stream -----------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3903" class="Folded">3903 </span><span class="Folded">+-- 26 lines: #? # dump *Trace-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3929" class="LineNr">3929 </span> <span class="subxComment"># check-trace-contains("Abcde")</span> <span id="L3930" class="LineNr">3930 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3931" class="LineNr">3931 </span> 68/push <span class="Constant">"F - test-trace-slsls"</span>/imm32 @@ -3447,7 +3447,7 @@ if ('onhashchange' in window) { <span id="L4016" class="LineNr">4016 </span> e8/call <a href='survey.subx.html#L3942'>trace-slsns</a>/disp32 <span id="L4017" class="LineNr">4017 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L4018" class="LineNr">4018 </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> 0x14/imm32 <span class="subxComment"># add to esp</span> -<span id="L4019" class="Folded">4019 </span><span class="Folded">+-- 26 lines: #? # dump *Trace-stream -----------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4019" class="Folded">4019 </span><span class="Folded">+-- 26 lines: #? # dump *Trace-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4045" class="LineNr">4045 </span> <span class="subxComment"># check-trace-contains("Abc 0x00000003 e")</span> <span id="L4046" class="LineNr">4046 </span> <span class="subxS2Comment"># . . push args</span> <span id="L4047" class="LineNr">4047 </span> 68/push <span class="Constant">"F - test-trace-slsls"</span>/imm32 @@ -3538,7 +3538,7 @@ if ('onhashchange' in window) { <span id="L4132" class="LineNr">4132 </span> e8/call <a href='survey.subx.html#L4058'>trace-slsss</a>/disp32 <span id="L4133" class="LineNr">4133 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L4134" class="LineNr">4134 </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> 0x14/imm32 <span class="subxComment"># add to esp</span> -<span id="L4135" class="Folded">4135 </span><span class="Folded">+-- 26 lines: #? # dump *Trace-stream -----------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4135" class="Folded">4135 </span><span class="Folded">+-- 26 lines: #? # dump *Trace-stream --------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4161" class="LineNr">4161 </span> <span class="subxComment"># check-trace-contains("Abcde")</span> <span id="L4162" class="LineNr">4162 </span> <span class="subxS2Comment"># . . push args</span> <span id="L4163" class="LineNr">4163 </span> 68/push <span class="Constant">"F - test-trace-slsss"</span>/imm32 @@ -3581,7 +3581,7 @@ if ('onhashchange' in window) { <span id="L4200" class="LineNr">4200 </span> 68/push 0/imm32/end <span id="L4201" class="LineNr">4201 </span> 68/push 0/imm32/start <span id="L4202" class="LineNr">4202 </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="L4203" class="Folded">4203 </span><span class="Folded">+-- 26 lines: #? # dump line --------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4203" class="Folded">4203 </span><span class="Folded">+-- 26 lines: #? # dump line -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4229" class="LineNr">4229 </span> <span class="subxS1Comment"># . rewind-stream(line)</span> <span id="L4230" class="LineNr">4230 </span> <span class="subxS2Comment"># . . push args</span> <span id="L4231" class="LineNr">4231 </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> @@ -3598,7 +3598,7 @@ if ('onhashchange' in window) { <span id="L4242" class="LineNr">4242 </span> e8/call <a href='../127next-word.subx.html#L10'>next-word</a>/disp32 <span id="L4243" class="LineNr">4243 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L4244" class="LineNr">4244 </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="L4245" class="Folded">4245 </span><span class="Folded">+-- 40 lines: #? # dump word-slice --------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L4245" class="Folded">4245 </span><span class="Folded">+-- 40 lines: #? # dump word-slice -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L4285" class="LineNr">4285 </span><span class="Constant">$num-bytes:check0</span>: <span id="L4286" class="LineNr">4286 </span> <span class="subxComment"># if (slice-empty?(word-slice)) break</span> <span id="L4287" class="LineNr">4287 </span> <span class="subxS1Comment"># . save result</span> |