diff options
Diffstat (limited to 'html/apps/sigils.subx.html')
-rw-r--r-- | html/apps/sigils.subx.html | 248 |
1 files changed, 124 insertions, 124 deletions
diff --git a/html/apps/sigils.subx.html b/html/apps/sigils.subx.html index a243b945..1449348e 100644 --- a/html/apps/sigils.subx.html +++ b/html/apps/sigils.subx.html @@ -64,7 +64,7 @@ if ('onhashchange' in window) { <span id="L2" class="LineNr"> 2 </span><span class="subxComment"># other related arguments.</span> <span id="L3" class="LineNr"> 3 </span><span class="subxComment">#</span> <span id="L4" class="LineNr"> 4 </span><span class="subxComment"># To run:</span> -<span id="L5" class="LineNr"> 5 </span><span class="subxComment"># $ ./subx translate init.linux 0*.subx apps/subx-common.subx apps/sigils.subx -o apps/sigils</span> +<span id="L5" class="LineNr"> 5 </span><span class="subxComment"># $ ./subx translate init.linux 0*.subx apps/subx-params.subx apps/sigils.subx -o apps/sigils</span> <span id="L6" class="LineNr"> 6 </span><span class="subxComment">#</span> <span id="L7" class="LineNr"> 7 </span><span class="subxComment"># We currently support the following notations:</span> <span id="L8" class="LineNr"> 8 </span><span class="subxComment">#</span> @@ -120,18 +120,18 @@ if ('onhashchange' in window) { <span id="L58" class="LineNr"> 58 </span> <span class="subxComment"># initialize heap</span> <span id="L59" class="LineNr"> 59 </span> <span class="subxS1Comment"># . Heap = new-segment(Heap-size)</span> <span id="L60" class="LineNr"> 60 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L61" class="LineNr"> 61 </span> 68/push <span class="SpecialChar"><a href='../075array-equal.subx.html#L623'>Heap</a></span>/imm32 -<span id="L62" class="LineNr"> 62 </span> ff 6/subop/push 0/mod/indirect 5/rm32/.disp32 <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="SpecialChar">Heap-size</span>/disp32 <span class="subxComment"># push *Heap-size</span> +<span id="L61" class="LineNr"> 61 </span> 68/push <span class="SpecialChar"><a href='../069allocate.subx.html#L22'>Heap</a></span>/imm32 +<span id="L62" class="LineNr"> 62 </span> ff 6/subop/push 0/mod/indirect 5/rm32/.disp32 <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="SpecialChar"><a href='../069allocate.subx.html#L29'>Heap-size</a></span>/disp32 <span class="subxComment"># push *Heap-size</span> <span id="L63" class="LineNr"> 63 </span> <span class="subxS2Comment"># . . call</span> <span id="L64" class="LineNr"> 64 </span> e8/call <a href='../053new-segment.subx.html#L41'>new-segment</a>/disp32 <span id="L65" class="LineNr"> 65 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L66" class="LineNr"> 66 </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="L67" class="LineNr"> 67 </span> <span id="L68" class="LineNr"> 68 </span> <span class="subxH1Comment"># - if argc > 1 and argv[1] == "test", then return run_tests()</span> -<span id="L69" class="LineNr"> 69 </span> <span class="subxComment"># if (argc <= 1) goto run-main</span> +<span id="L69" class="LineNr"> 69 </span> <span class="subxComment"># if (argc <= 1) goto interactive</span> <span id="L70" class="LineNr"> 70 </span> 81 7/subop/compare 1/mod/*+disp8 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/disp8 1/imm32 <span class="subxComment"># compare *ebp</span> -<span id="L71" class="LineNr"> 71 </span> 7e/jump-if-lesser-or-equal $run-main/disp8 -<span id="L72" class="LineNr"> 72 </span> <span class="subxComment"># if (!kernel-string-equal?(argv[1], "test")) goto run-main</span> +<span id="L71" class="LineNr"> 71 </span> 7e/jump-if-lesser-or-equal $subx-sigils-main:interactive/disp8 +<span id="L72" class="LineNr"> 72 </span> <span class="subxComment"># if (!kernel-string-equal?(argv[1], "test")) goto interactive</span> <span id="L73" class="LineNr"> 73 </span> <span class="subxS1Comment"># . eax = kernel-string-equal?(argv[1], "test")</span> <span id="L74" class="LineNr"> 74 </span> <span class="subxS2Comment"># . . push args</span> <span id="L75" class="LineNr"> 75 </span> 68/push <span class="Constant">"test"</span>/imm32 @@ -140,33 +140,33 @@ if ('onhashchange' in window) { <span id="L78" class="LineNr"> 78 </span> e8/call <a href='../052kernel-string-equal.subx.html#L31'>kernel-string-equal?</a>/disp32 <span id="L79" class="LineNr"> 79 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L80" class="LineNr"> 80 </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="L81" class="LineNr"> 81 </span> <span class="subxS1Comment"># . if (eax == 0) goto run-main</span> +<span id="L81" class="LineNr"> 81 </span> <span class="subxS1Comment"># . if (eax == 0) goto interactive</span> <span id="L82" class="LineNr"> 82 </span> 3d/compare-eax-and 0/imm32 -<span id="L83" class="LineNr"> 83 </span> 74/jump-if-equal $run-main/disp8 +<span id="L83" class="LineNr"> 83 </span> 74/jump-if-equal $subx-sigils-main:interactive/disp8 <span id="L84" class="LineNr"> 84 </span> <span class="subxComment"># run-tests()</span> <span id="L85" class="LineNr"> 85 </span> e8/call run-tests/disp32 <span id="L86" class="LineNr"> 86 </span> <span class="subxComment"># syscall(exit, *Num-test-failures)</span> <span id="L87" class="LineNr"> 87 </span> 8b/copy 0/mod/indirect 5/rm32/.disp32 <span class="Normal"> . </span> <span class="Normal"> . </span> 3/r32/ebx <span class="SpecialChar"><a href='../051test.subx.html#L90'>Num-test-failures</a></span>/disp32 <span class="subxComment"># copy *Num-test-failures to ebx</span> -<span id="L88" class="LineNr"> 88 </span> eb/jump $main:end/disp8 -<span id="L89" class="LineNr"> 89 </span><span class="Constant">$run-main</span>: +<span id="L88" class="LineNr"> 88 </span> eb/jump $subx-sigils-main:end/disp8 +<span id="L89" class="LineNr"> 89 </span><span class="Constant">$subx-sigils-main:interactive</span>: <span id="L90" class="LineNr"> 90 </span> <span class="subxH1Comment"># - otherwise convert stdin</span> -<span id="L91" class="LineNr"> 91 </span> <span class="subxComment"># convert(Stdin, Stdout)</span> +<span id="L91" class="LineNr"> 91 </span> <span class="subxComment"># subx-sigils(Stdin, Stdout)</span> <span id="L92" class="LineNr"> 92 </span> <span class="subxS2Comment"># . . push args</span> <span id="L93" class="LineNr"> 93 </span> 68/push <span class="SpecialChar"><a href='../064write-byte.subx.html#L10'>Stdout</a></span>/imm32 <span id="L94" class="LineNr"> 94 </span> 68/push <span class="SpecialChar"><a href='../061read-byte.subx.html#L14'>Stdin</a></span>/imm32 <span id="L95" class="LineNr"> 95 </span> <span class="subxS2Comment"># . . call</span> -<span id="L96" class="LineNr"> 96 </span> e8/call <a href='sigils.subx.html#L107'>convert</a>/disp32 +<span id="L96" class="LineNr"> 96 </span> e8/call <a href='sigils.subx.html#L107'>subx-sigils</a>/disp32 <span id="L97" class="LineNr"> 97 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L98" class="LineNr"> 98 </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="L99" class="LineNr"> 99 </span> <span class="subxComment"># syscall(exit, 0)</span> <span id="L100" class="LineNr"> 100 </span> bb/copy-to-ebx 0/imm32 -<span id="L101" class="LineNr"> 101 </span><span class="Constant">$main:end</span>: +<span id="L101" class="LineNr"> 101 </span><span class="Constant">$subx-sigils-main:end</span>: <span id="L102" class="LineNr"> 102 </span> b8/copy-to-eax 1/imm32/exit <span id="L103" class="LineNr"> 103 </span> cd/syscall 0x80/imm8 <span id="L104" class="LineNr"> 104 </span> <span id="L105" class="LineNr"> 105 </span><span class="subxComment"># error messages considered:</span> <span id="L106" class="LineNr"> 106 </span><span class="subxComment"># *x + 34 -> error: base+disp addressing must be within '()'</span> -<span id="L107" class="LineNr"> 107 </span><span class="subxFunction">convert</span>: <span class="subxComment"># in : (address buffered-file), out : (address buffered-file) -> <void></span> +<span id="L107" class="LineNr"> 107 </span><span class="subxFunction">subx-sigils</span>: <span class="subxComment"># in : (address buffered-file), out : (address buffered-file) -> <void></span> <span id="L108" class="LineNr"> 108 </span> <span class="subxComment"># pseudocode:</span> <span id="L109" class="LineNr"> 109 </span> <span class="subxComment"># var line = new-stream(512, 1)</span> <span id="L110" class="LineNr"> 110 </span> <span class="subxComment"># while true</span> @@ -213,7 +213,7 @@ if ('onhashchange' in window) { <span id="L151" class="LineNr"> 151 </span> 68/push 0/imm32/end <span id="L152" class="LineNr"> 152 </span> 68/push 0/imm32/start <span id="L153" class="LineNr"> 153 </span> 89/copy 3/mod/direct 2/rm32/edx <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 edx</span> -<span id="L154" class="LineNr"> 154 </span><span class="Constant">$convert:line-loop</span>: +<span id="L154" class="LineNr"> 154 </span><span class="Constant">$subx-sigils:line-loop</span>: <span id="L155" class="LineNr"> 155 </span> <span class="subxComment"># clear-stream(line)</span> <span id="L156" class="LineNr"> 156 </span> <span class="subxS2Comment"># . . push args</span> <span id="L157" class="LineNr"> 157 </span> 51/push-ecx @@ -229,11 +229,11 @@ if ('onhashchange' in window) { <span id="L167" class="LineNr"> 167 </span> e8/call <a href='../071read-line.subx.html#L9'>read-line-buffered</a>/disp32 <span id="L168" class="LineNr"> 168 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L169" class="LineNr"> 169 </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="L170" class="LineNr"> 170 </span><span class="Constant">$convert:check0</span>: +<span id="L170" class="LineNr"> 170 </span><span class="Constant">$subx-sigils:check0</span>: <span id="L171" class="LineNr"> 171 </span> <span class="subxComment"># if (line->write == 0) break</span> <span id="L172" class="LineNr"> 172 </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="L173" class="LineNr"> 173 </span> 0f 84/jump-if-equal $convert:break/disp32 -<span id="L174" class="LineNr"> 174 </span><span class="Constant">$convert:word-loop</span>: +<span id="L173" class="LineNr"> 173 </span> 0f 84/jump-if-equal $subx-sigils:<span class="Constant">break</span>/disp32 +<span id="L174" class="LineNr"> 174 </span><span class="Constant">$subx-sigils:word-loop</span>: <span id="L175" class="LineNr"> 175 </span> <span class="subxComment"># next-word-or-expression(line, word-slice)</span> <span id="L176" class="LineNr"> 176 </span> <span class="subxS2Comment"># . . push args</span> <span id="L177" class="LineNr"> 177 </span> 52/push-edx @@ -242,7 +242,7 @@ if ('onhashchange' in window) { <span id="L180" class="LineNr"> 180 </span> e8/call <a href='sigils.subx.html#L1652'>next-word-or-expression</a>/disp32 <span id="L181" class="LineNr"> 181 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L182" class="LineNr"> 182 </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="L183" class="LineNr"> 183 </span><span class="Constant">$convert:check1</span>: +<span id="L183" class="LineNr"> 183 </span><span class="Constant">$subx-sigils:check1</span>: <span id="L184" class="LineNr"> 184 </span> <span class="subxComment"># if (slice-empty?(word-slice)) break</span> <span id="L185" class="LineNr"> 185 </span> <span class="subxS1Comment"># . eax = slice-empty?(word-slice)</span> <span id="L186" class="LineNr"> 186 </span> <span class="subxS2Comment"># . . push args</span> @@ -253,8 +253,8 @@ if ('onhashchange' in window) { <span id="L191" class="LineNr"> 191 </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="L192" class="LineNr"> 192 </span> <span class="subxS1Comment"># . if (eax != 0) break</span> <span id="L193" class="LineNr"> 193 </span> 3d/compare-eax-and 0/imm32 -<span id="L194" class="LineNr"> 194 </span> 0f 85/jump-if-not-equal $convert:next-line/disp32 -<span id="L195" class="LineNr"> 195 </span><span class="Constant">$convert:check-for-comment</span>: +<span id="L194" class="LineNr"> 194 </span> 0f 85/jump-if-not-equal $subx-sigils:next-line/disp32 +<span id="L195" class="LineNr"> 195 </span><span class="Constant">$subx-sigils:check-for-comment</span>: <span id="L196" class="LineNr"> 196 </span> <span class="subxComment"># if (slice-starts-with?(word-slice, "#")) continue</span> <span id="L197" class="LineNr"> 197 </span> <span class="subxS1Comment"># . start/ebx = word-slice->start</span> <span id="L198" class="LineNr"> 198 </span> 8b/copy 0/mod/indirect 2/rm32/edx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 3/r32/ebx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy *edx to ebx</span> @@ -263,13 +263,13 @@ if ('onhashchange' in window) { <span id="L201" class="LineNr"> 201 </span> 8a/copy-byte 0/mod/indirect 3/rm32/ebx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/AL <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy byte at *ebx to AL</span> <span id="L202" class="LineNr"> 202 </span> <span class="subxS1Comment"># . if (eax == '#') continue</span> <span id="L203" class="LineNr"> 203 </span> 3d/compare-eax-and 0x23/imm32/hash -<span id="L204" class="LineNr"> 204 </span> 74/jump-if-equal $convert:word-loop/disp8 -<span id="L205" class="LineNr"> 205 </span><span class="Constant">$convert:check-for-direct-mode</span>: +<span id="L204" class="LineNr"> 204 </span> 74/jump-if-equal $subx-sigils:word-loop/disp8 +<span id="L205" class="LineNr"> 205 </span><span class="Constant">$subx-sigils:check-for-direct-mode</span>: <span id="L206" class="LineNr"> 206 </span> <span class="subxComment"># if (!slice-starts-with?(word-slice, "%")) goto next check</span> <span id="L207" class="LineNr"> 207 </span> 3d/compare-eax-and 0x25/imm32/percent -<span id="L208" class="LineNr"> 208 </span> 75/jump-if-not-equal $convert:check-for-indirect-mode/disp8 -<span id="L209" class="LineNr"> 209 </span><span class="Constant">$convert:direct-mode</span>: -<span id="L210" class="Folded"> 210 </span><span class="Folded">+-- 46 lines: #? # dump word-slice -----------------------------------------------------------------------------------------------------------------------</span> +<span id="L208" class="LineNr"> 208 </span> 75/jump-if-not-equal $subx-sigils:check-for-indirect-mode/disp8 +<span id="L209" class="LineNr"> 209 </span><span class="Constant">$subx-sigils:direct-mode</span>: +<span id="L210" class="Folded"> 210 </span><span class="Folded">+-- 46 lines: #? # dump word-slice -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L256" class="LineNr"> 256 </span> <span class="subxComment"># emit-direct-mode(out, word-slice)</span> <span id="L257" class="LineNr"> 257 </span> <span class="subxS2Comment"># . . push args</span> <span id="L258" class="LineNr"> 258 </span> 52/push-edx @@ -279,11 +279,11 @@ if ('onhashchange' in window) { <span id="L262" class="LineNr"> 262 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L263" class="LineNr"> 263 </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="L264" class="LineNr"> 264 </span> <span class="subxComment"># continue</span> -<span id="L265" class="LineNr"> 265 </span> e9/jump $convert:next-word/disp32 -<span id="L266" class="LineNr"> 266 </span><span class="Constant">$convert:check-for-indirect-mode</span>: +<span id="L265" class="LineNr"> 265 </span> e9/jump $subx-sigils:<a href='../076next-word.subx.html#L10'>next-word</a>/disp32 +<span id="L266" class="LineNr"> 266 </span><span class="Constant">$subx-sigils:check-for-indirect-mode</span>: <span id="L267" class="LineNr"> 267 </span> <span class="subxComment"># if (!slice-starts-with?(word-slice, "*")) goto next check</span> <span id="L268" class="LineNr"> 268 </span> 3d/compare-eax-and 0x2a/imm32/asterisk -<span id="L269" class="LineNr"> 269 </span> 75/jump-if-not-equal $convert:check-for-invalid-addition/disp8 +<span id="L269" class="LineNr"> 269 </span> 75/jump-if-not-equal $subx-sigils:check-for-invalid-addition/disp8 <span id="L270" class="LineNr"> 270 </span> <span class="subxComment"># if (!disp32-mode?(word-slice)) goto indirect mode</span> <span id="L271" class="LineNr"> 271 </span> <span class="subxS1Comment"># . eax = disp32-mode?(word-slice)</span> <span id="L272" class="LineNr"> 272 </span> <span class="subxS2Comment"># . . push args</span> @@ -294,8 +294,8 @@ if ('onhashchange' in window) { <span id="L277" class="LineNr"> 277 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/imm32 <span class="subxComment"># add to esp</span> <span id="L278" class="LineNr"> 278 </span> <span class="subxS1Comment"># . if (eax == 0) goto indirect mode</span> <span id="L279" class="LineNr"> 279 </span> 3d/compare-eax-and 0/imm32 -<span id="L280" class="LineNr"> 280 </span> 74/jump-if-equal $convert:indirect-mode/disp8 -<span id="L281" class="LineNr"> 281 </span><span class="Constant">$convert:disp32-mode</span>: +<span id="L280" class="LineNr"> 280 </span> 74/jump-if-equal $subx-sigils:indirect-mode/disp8 +<span id="L281" class="LineNr"> 281 </span><span class="Constant">$subx-sigils:disp32-mode</span>: <span id="L282" class="LineNr"> 282 </span> <span class="subxComment"># emit-indirect-mode(out, word-slice)</span> <span id="L283" class="LineNr"> 283 </span> <span class="subxS2Comment"># . . push args</span> <span id="L284" class="LineNr"> 284 </span> 52/push-edx @@ -305,8 +305,8 @@ if ('onhashchange' in window) { <span id="L288" class="LineNr"> 288 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L289" class="LineNr"> 289 </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="L290" class="LineNr"> 290 </span> <span class="subxComment"># continue</span> -<span id="L291" class="LineNr"> 291 </span> e9/jump $convert:next-word/disp32 -<span id="L292" class="LineNr"> 292 </span><span class="Constant">$convert:indirect-mode</span>: +<span id="L291" class="LineNr"> 291 </span> e9/jump $subx-sigils:<a href='../076next-word.subx.html#L10'>next-word</a>/disp32 +<span id="L292" class="LineNr"> 292 </span><span class="Constant">$subx-sigils:indirect-mode</span>: <span id="L293" class="LineNr"> 293 </span> <span class="subxComment"># spill registers</span> <span id="L294" class="LineNr"> 294 </span> 50/push-eax <span id="L295" class="LineNr"> 295 </span> 51/push-ecx @@ -336,16 +336,16 @@ if ('onhashchange' in window) { <span id="L319" class="LineNr"> 319 </span> 59/pop-to-ecx <span id="L320" class="LineNr"> 320 </span> 58/pop-to-eax <span id="L321" class="LineNr"> 321 </span> <span class="subxComment"># continue</span> -<span id="L322" class="LineNr"> 322 </span> e9/jump $convert:next-word/disp32 -<span id="L323" class="LineNr"> 323 </span><span class="Constant">$convert:check-for-invalid-addition</span>: +<span id="L322" class="LineNr"> 322 </span> e9/jump $subx-sigils:<a href='../076next-word.subx.html#L10'>next-word</a>/disp32 +<span id="L323" class="LineNr"> 323 </span><span class="Constant">$subx-sigils:check-for-invalid-addition</span>: <span id="L324" class="LineNr"> 324 </span> <span class="subxComment"># if (slice-starts-with?(word-slice, "+")) goto error1</span> <span id="L325" class="LineNr"> 325 </span> 3d/compare-eax-and 0x2b/imm32/plus -<span id="L326" class="LineNr"> 326 </span> 74/jump-if-equal $convert:error1/disp8 -<span id="L327" class="LineNr"> 327 </span><span class="Constant">$convert:check-for-invalid-left-shift</span>: +<span id="L326" class="LineNr"> 326 </span> 74/jump-if-equal $subx-sigils:error1/disp8 +<span id="L327" class="LineNr"> 327 </span><span class="Constant">$subx-sigils:check-for-invalid-left-shift</span>: <span id="L328" class="LineNr"> 328 </span> <span class="subxComment"># if (slice-starts-with?(word-slice, "<")) goto error1</span> <span id="L329" class="LineNr"> 329 </span> 3d/compare-eax-and 0x3c/imm32/less-than -<span id="L330" class="LineNr"> 330 </span> 74/jump-if-equal $convert:error1/disp8 -<span id="L331" class="LineNr"> 331 </span><span class="Constant">$convert:regular-word</span>: +<span id="L330" class="LineNr"> 330 </span> 74/jump-if-equal $subx-sigils:error1/disp8 +<span id="L331" class="LineNr"> 331 </span><span class="Constant">$subx-sigils:regular-word</span>: <span id="L332" class="LineNr"> 332 </span> <span class="subxComment"># write-slice-buffered(out, word-slice)</span> <span id="L333" class="LineNr"> 333 </span> <span class="subxS2Comment"># . . push args</span> <span id="L334" class="LineNr"> 334 </span> 52/push-edx @@ -355,18 +355,18 @@ if ('onhashchange' in window) { <span id="L338" class="LineNr"> 338 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L339" class="LineNr"> 339 </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="L340" class="LineNr"> 340 </span> <span class="subxComment"># fall through</span> -<span id="L341" class="LineNr"> 341 </span><span class="Constant">$convert:next-word</span>: +<span id="L341" class="LineNr"> 341 </span><span class="Constant">$subx-sigils:<a href='../076next-word.subx.html#L10'>next-word</a></span>: <span id="L342" class="LineNr"> 342 </span> <span class="subxComment"># write-buffered(out, " ")</span> <span id="L343" class="LineNr"> 343 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L344" class="LineNr"> 344 </span> 68/push <span class="Constant">" "</span>/imm32 +<span id="L344" class="LineNr"> 344 </span> 68/push <span class="SpecialChar"><a href='../051test.subx.html#L94'>Space</a></span>/imm32 <span id="L345" class="LineNr"> 345 </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> 0xc/disp8 <span class="Normal"> . </span> <span class="subxComment"># push *(ebp+12)</span> <span id="L346" class="LineNr"> 346 </span> <span class="subxS2Comment"># . . call</span> <span id="L347" class="LineNr"> 347 </span> e8/call <a href='../065write-buffered.subx.html#L8'>write-buffered</a>/disp32 <span id="L348" class="LineNr"> 348 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L349" class="LineNr"> 349 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 8/imm32 <span class="subxComment"># add to esp</span> <span id="L350" class="LineNr"> 350 </span> <span class="subxComment"># loop</span> -<span id="L351" class="LineNr"> 351 </span> e9/jump $convert:word-loop/disp32 -<span id="L352" class="LineNr"> 352 </span><span class="Constant">$convert:next-line</span>: +<span id="L351" class="LineNr"> 351 </span> e9/jump $subx-sigils:word-loop/disp32 +<span id="L352" class="LineNr"> 352 </span><span class="Constant">$subx-sigils:next-line</span>: <span id="L353" class="LineNr"> 353 </span> <span class="subxComment"># write-buffered(out, "\n")</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="SpecialChar"><a href='../051test.subx.html#L83'>Newline</a></span>/imm32 @@ -376,8 +376,8 @@ if ('onhashchange' in window) { <span id="L359" class="LineNr"> 359 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L360" class="LineNr"> 360 </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="L361" class="LineNr"> 361 </span> <span class="subxComment"># loop</span> -<span id="L362" class="LineNr"> 362 </span> e9/jump $convert:line-loop/disp32 -<span id="L363" class="LineNr"> 363 </span><span class="Constant">$convert:break</span>: +<span id="L362" class="LineNr"> 362 </span> e9/jump $subx-sigils:line-loop/disp32 +<span id="L363" class="LineNr"> 363 </span><span class="Constant">$subx-sigils:break</span>: <span id="L364" class="LineNr"> 364 </span> <span class="subxComment"># flush(out)</span> <span id="L365" class="LineNr"> 365 </span> <span class="subxS2Comment"># . . push args</span> <span id="L366" class="LineNr"> 366 </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> 0xc/disp8 <span class="Normal"> . </span> <span class="subxComment"># push *(ebp+12)</span> @@ -385,7 +385,7 @@ if ('onhashchange' in window) { <span id="L368" class="LineNr"> 368 </span> e8/call <a href='../064write-byte.subx.html#L79'>flush</a>/disp32 <span id="L369" class="LineNr"> 369 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L370" class="LineNr"> 370 </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="L371" class="LineNr"> 371 </span><span class="Constant">$convert:end</span>: +<span id="L371" class="LineNr"> 371 </span><span class="Constant">$subx-sigils:end</span>: <span id="L372" class="LineNr"> 372 </span> <span class="subxS1Comment"># . reclaim locals</span> <span id="L373" class="LineNr"> 373 </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> 0x214/imm32 <span class="subxComment"># add to esp</span> <span id="L374" class="LineNr"> 374 </span> <span class="subxS1Comment"># . restore registers</span> @@ -398,7 +398,7 @@ if ('onhashchange' in window) { <span id="L381" class="LineNr"> 381 </span> 5d/pop-to-ebp <span id="L382" class="LineNr"> 382 </span> c3/return <span id="L383" class="LineNr"> 383 </span> -<span id="L384" class="LineNr"> 384 </span><span class="Constant">$convert:error1</span>: +<span id="L384" class="LineNr"> 384 </span><span class="Constant">$subx-sigils:error1</span>: <span id="L385" class="LineNr"> 385 </span> <span class="subxComment"># print(stderr, "error: '" eax "' only permitted within '*(...)' in '" line "'")</span> <span id="L386" class="LineNr"> 386 </span> <span class="subxS1Comment"># . write-buffered(Stderr, "error: '")</span> <span id="L387" class="LineNr"> 387 </span> <span class="subxS2Comment"># . . push args</span> @@ -429,7 +429,7 @@ if ('onhashchange' in window) { <span id="L412" class="LineNr"> 412 </span> 51/push-ecx <span id="L413" class="LineNr"> 413 </span> 68/push <span class="SpecialChar"><a href='../065write-buffered.subx.html#L213'>Stderr</a></span>/imm32 <span id="L414" class="LineNr"> 414 </span> <span class="subxS2Comment"># . . call</span> -<span id="L415" class="LineNr"> 415 </span> e8/call write-stream-data/disp32 +<span id="L415" class="LineNr"> 415 </span> e8/call <a href='../074write-stream-data.subx.html#L11'>write-stream-data</a>/disp32 <span id="L416" class="LineNr"> 416 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L417" class="LineNr"> 417 </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="L418" class="LineNr"> 418 </span> <span class="subxS1Comment"># . write-buffered(Stderr, "'")</span> @@ -453,7 +453,7 @@ if ('onhashchange' in window) { <span id="L436" class="LineNr"> 436 </span> cd/syscall 0x80/imm8 <span id="L437" class="LineNr"> 437 </span> <span class="subxComment"># never gets here</span> <span id="L438" class="LineNr"> 438 </span> -<span id="L439" class="LineNr"> 439 </span><span class="subxTest">test-convert-passes-most-words-through</span>: +<span id="L439" class="LineNr"> 439 </span><span class="subxTest">test-subx-sigils-passes-most-words-through</span>: <span id="L440" class="LineNr"> 440 </span> <span class="subxS1Comment"># . prolog</span> <span id="L441" class="LineNr"> 441 </span> 55/push-ebp <span id="L442" class="LineNr"> 442 </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> @@ -499,12 +499,12 @@ if ('onhashchange' in window) { <span id="L482" class="LineNr"> 482 </span> e8/call <a href='../057write.subx.html#L24'>write</a>/disp32 <span id="L483" class="LineNr"> 483 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L484" class="LineNr"> 484 </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="L485" class="LineNr"> 485 </span> <span class="subxComment"># convert(_test-input-buffered-file, _test-output-buffered-file)</span> +<span id="L485" class="LineNr"> 485 </span> <span class="subxComment"># subx-sigils(_test-input-buffered-file, _test-output-buffered-file)</span> <span id="L486" class="LineNr"> 486 </span> <span class="subxS2Comment"># . . push args</span> <span id="L487" class="LineNr"> 487 </span> 68/push <a href='../064write-byte.subx.html#L332'>_test-output-buffered-file</a>/imm32 <span id="L488" class="LineNr"> 488 </span> 68/push <a href='../061read-byte.subx.html#L319'>_test-input-buffered-file</a>/imm32 <span id="L489" class="LineNr"> 489 </span> <span class="subxS2Comment"># . . call</span> -<span id="L490" class="LineNr"> 490 </span> e8/call <a href='sigils.subx.html#L107'>convert</a>/disp32 +<span id="L490" class="LineNr"> 490 </span> e8/call <a href='sigils.subx.html#L107'>subx-sigils</a>/disp32 <span id="L491" class="LineNr"> 491 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L492" class="LineNr"> 492 </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="L493" class="LineNr"> 493 </span> <span class="subxComment"># check that the line just passed through</span> @@ -515,10 +515,10 @@ if ('onhashchange' in window) { <span id="L498" class="LineNr"> 498 </span> e8/call <a href='../064write-byte.subx.html#L79'>flush</a>/disp32 <span id="L499" class="LineNr"> 499 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L500" class="LineNr"> 500 </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="L501" class="Folded"> 501 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------</span> +<span id="L501" class="Folded"> 501 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L527" class="LineNr"> 527 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "== abcd 0x1 \n", msg)</span> <span id="L528" class="LineNr"> 528 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L529" class="LineNr"> 529 </span> 68/push <span class="Constant">"F - test-convert-passes-most-words-through"</span>/imm32 +<span id="L529" class="LineNr"> 529 </span> 68/push <span class="Constant">"F - test-subx-sigils-passes-most-words-through"</span>/imm32 <span id="L530" class="LineNr"> 530 </span> 68/push <span class="Constant">"== abcd 0x1 \n"</span>/imm32 <span id="L531" class="LineNr"> 531 </span> 68/push <a href='../064write-byte.subx.html#L290'>_test-output-stream</a>/imm32 <span id="L532" class="LineNr"> 532 </span> <span class="subxS2Comment"># . . call</span> @@ -530,7 +530,7 @@ if ('onhashchange' in window) { <span id="L538" class="LineNr"> 538 </span> 5d/pop-to-ebp <span id="L539" class="LineNr"> 539 </span> c3/return <span id="L540" class="LineNr"> 540 </span> -<span id="L541" class="LineNr"> 541 </span><span class="subxTest">test-convert-direct-mode</span>: +<span id="L541" class="LineNr"> 541 </span><span class="subxTest">test-subx-sigils-direct-mode</span>: <span id="L542" class="LineNr"> 542 </span> <span class="subxS1Comment"># . prolog</span> <span id="L543" class="LineNr"> 543 </span> 55/push-ebp <span id="L544" class="LineNr"> 544 </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> @@ -576,12 +576,12 @@ if ('onhashchange' in window) { <span id="L584" class="LineNr"> 584 </span> e8/call <a href='../057write.subx.html#L24'>write</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> 8/imm32 <span class="subxComment"># add to esp</span> -<span id="L587" class="LineNr"> 587 </span> <span class="subxComment"># convert(_test-input-buffered-file, _test-output-buffered-file)</span> +<span id="L587" class="LineNr"> 587 </span> <span class="subxComment"># subx-sigils(_test-input-buffered-file, _test-output-buffered-file)</span> <span id="L588" class="LineNr"> 588 </span> <span class="subxS2Comment"># . . push args</span> <span id="L589" class="LineNr"> 589 </span> 68/push <a href='../064write-byte.subx.html#L332'>_test-output-buffered-file</a>/imm32 <span id="L590" class="LineNr"> 590 </span> 68/push <a href='../061read-byte.subx.html#L319'>_test-input-buffered-file</a>/imm32 <span id="L591" class="LineNr"> 591 </span> <span class="subxS2Comment"># . . call</span> -<span id="L592" class="LineNr"> 592 </span> e8/call <a href='sigils.subx.html#L107'>convert</a>/disp32 +<span id="L592" class="LineNr"> 592 </span> e8/call <a href='sigils.subx.html#L107'>subx-sigils</a>/disp32 <span id="L593" class="LineNr"> 593 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L594" class="LineNr"> 594 </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="L595" class="LineNr"> 595 </span> <span class="subxComment"># check that the line just passed through</span> @@ -592,10 +592,10 @@ if ('onhashchange' in window) { <span id="L600" class="LineNr"> 600 </span> e8/call <a href='../064write-byte.subx.html#L79'>flush</a>/disp32 <span id="L601" class="LineNr"> 601 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L602" class="LineNr"> 602 </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="L603" class="Folded"> 603 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------</span> +<span id="L603" class="Folded"> 603 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L629" class="LineNr"> 629 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "ab 3/mod/direct 0x00000001/rm32 \n", msg)</span> <span id="L630" class="LineNr"> 630 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L631" class="LineNr"> 631 </span> 68/push <span class="Constant">"F - test-convert-direct-mode"</span>/imm32 +<span id="L631" class="LineNr"> 631 </span> 68/push <span class="Constant">"F - test-subx-sigils-direct-mode"</span>/imm32 <span id="L632" class="LineNr"> 632 </span> 68/push <span class="Constant">"ab 3/mod/direct 0x00000001/rm32 \n"</span>/imm32 <span id="L633" class="LineNr"> 633 </span> 68/push <a href='../064write-byte.subx.html#L290'>_test-output-stream</a>/imm32 <span id="L634" class="LineNr"> 634 </span> <span class="subxS2Comment"># . . call</span> @@ -607,7 +607,7 @@ if ('onhashchange' in window) { <span id="L640" class="LineNr"> 640 </span> 5d/pop-to-ebp <span id="L641" class="LineNr"> 641 </span> c3/return <span id="L642" class="LineNr"> 642 </span> -<span id="L643" class="LineNr"> 643 </span><span class="subxTest">test-convert-direct-mode-with-metadata</span>: +<span id="L643" class="LineNr"> 643 </span><span class="subxTest">test-subx-sigils-direct-mode-with-metadata</span>: <span id="L644" class="LineNr"> 644 </span> <span class="subxS1Comment"># . prolog</span> <span id="L645" class="LineNr"> 645 </span> 55/push-ebp <span id="L646" class="LineNr"> 646 </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> @@ -653,12 +653,12 @@ if ('onhashchange' in window) { <span id="L686" class="LineNr"> 686 </span> e8/call <a href='../057write.subx.html#L24'>write</a>/disp32 <span id="L687" class="LineNr"> 687 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L688" class="LineNr"> 688 </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="L689" class="LineNr"> 689 </span> <span class="subxComment"># convert(_test-input-buffered-file, _test-output-buffered-file)</span> +<span id="L689" class="LineNr"> 689 </span> <span class="subxComment"># subx-sigils(_test-input-buffered-file, _test-output-buffered-file)</span> <span id="L690" class="LineNr"> 690 </span> <span class="subxS2Comment"># . . push args</span> <span id="L691" class="LineNr"> 691 </span> 68/push <a href='../064write-byte.subx.html#L332'>_test-output-buffered-file</a>/imm32 <span id="L692" class="LineNr"> 692 </span> 68/push <a href='../061read-byte.subx.html#L319'>_test-input-buffered-file</a>/imm32 <span id="L693" class="LineNr"> 693 </span> <span class="subxS2Comment"># . . call</span> -<span id="L694" class="LineNr"> 694 </span> e8/call <a href='sigils.subx.html#L107'>convert</a>/disp32 +<span id="L694" class="LineNr"> 694 </span> e8/call <a href='sigils.subx.html#L107'>subx-sigils</a>/disp32 <span id="L695" class="LineNr"> 695 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L696" class="LineNr"> 696 </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="L697" class="LineNr"> 697 </span> <span class="subxComment"># check that the line just passed through</span> @@ -671,7 +671,7 @@ if ('onhashchange' in window) { <span id="L704" class="LineNr"> 704 </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="L705" class="LineNr"> 705 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "ab 3/mod/direct 0x00000001/rm32 \n", msg)</span> <span id="L706" class="LineNr"> 706 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L707" class="LineNr"> 707 </span> 68/push <span class="Constant">"F - test-convert-direct-mode-with-metadata"</span>/imm32 +<span id="L707" class="LineNr"> 707 </span> 68/push <span class="Constant">"F - test-subx-sigils-direct-mode-with-metadata"</span>/imm32 <span id="L708" class="LineNr"> 708 </span> 68/push <span class="Constant">"ab 3/mod/direct 0x00000001/rm32 \n"</span>/imm32 <span id="L709" class="LineNr"> 709 </span> 68/push <a href='../064write-byte.subx.html#L290'>_test-output-stream</a>/imm32 <span id="L710" class="LineNr"> 710 </span> <span class="subxS2Comment"># . . call</span> @@ -683,7 +683,7 @@ if ('onhashchange' in window) { <span id="L716" class="LineNr"> 716 </span> 5d/pop-to-ebp <span id="L717" class="LineNr"> 717 </span> c3/return <span id="L718" class="LineNr"> 718 </span> -<span id="L719" class="LineNr"> 719 </span><span class="subxTest">test-convert-register-indirect-mode</span>: +<span id="L719" class="LineNr"> 719 </span><span class="subxTest">test-subx-sigils-register-indirect-mode</span>: <span id="L720" class="LineNr"> 720 </span> <span class="subxS1Comment"># . prolog</span> <span id="L721" class="LineNr"> 721 </span> 55/push-ebp <span id="L722" class="LineNr"> 722 </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> @@ -729,12 +729,12 @@ if ('onhashchange' in window) { <span id="L762" class="LineNr"> 762 </span> e8/call <a href='../057write.subx.html#L24'>write</a>/disp32 <span id="L763" class="LineNr"> 763 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L764" class="LineNr"> 764 </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="L765" class="LineNr"> 765 </span> <span class="subxComment"># convert(_test-input-buffered-file, _test-output-buffered-file)</span> +<span id="L765" class="LineNr"> 765 </span> <span class="subxComment"># subx-sigils(_test-input-buffered-file, _test-output-buffered-file)</span> <span id="L766" class="LineNr"> 766 </span> <span class="subxS2Comment"># . . push args</span> <span id="L767" class="LineNr"> 767 </span> 68/push <a href='../064write-byte.subx.html#L332'>_test-output-buffered-file</a>/imm32 <span id="L768" class="LineNr"> 768 </span> 68/push <a href='../061read-byte.subx.html#L319'>_test-input-buffered-file</a>/imm32 <span id="L769" class="LineNr"> 769 </span> <span class="subxS2Comment"># . . call</span> -<span id="L770" class="LineNr"> 770 </span> e8/call <a href='sigils.subx.html#L107'>convert</a>/disp32 +<span id="L770" class="LineNr"> 770 </span> e8/call <a href='sigils.subx.html#L107'>subx-sigils</a>/disp32 <span id="L771" class="LineNr"> 771 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L772" class="LineNr"> 772 </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="L773" class="LineNr"> 773 </span> <span class="subxComment"># check that the line just passed through</span> @@ -745,10 +745,10 @@ if ('onhashchange' in window) { <span id="L778" class="LineNr"> 778 </span> e8/call <a href='../064write-byte.subx.html#L79'>flush</a>/disp32 <span id="L779" class="LineNr"> 779 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L780" class="LineNr"> 780 </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="L781" class="Folded"> 781 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------</span> +<span id="L781" class="Folded"> 781 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L807" class="LineNr"> 807 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "ab 0/mod/indirect 0x00000001/rm32 \n", msg)</span> <span id="L808" class="LineNr"> 808 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L809" class="LineNr"> 809 </span> 68/push <span class="Constant">"F - test-convert-register-indirect-mode"</span>/imm32 +<span id="L809" class="LineNr"> 809 </span> 68/push <span class="Constant">"F - test-subx-sigils-register-indirect-mode"</span>/imm32 <span id="L810" class="LineNr"> 810 </span> 68/push <span class="Constant">"ab 0/mod/indirect 0x00000001/rm32 \n"</span>/imm32 <span id="L811" class="LineNr"> 811 </span> 68/push <a href='../064write-byte.subx.html#L290'>_test-output-stream</a>/imm32 <span id="L812" class="LineNr"> 812 </span> <span class="subxS2Comment"># . . call</span> @@ -760,7 +760,7 @@ if ('onhashchange' in window) { <span id="L818" class="LineNr"> 818 </span> 5d/pop-to-ebp <span id="L819" class="LineNr"> 819 </span> c3/return <span id="L820" class="LineNr"> 820 </span> -<span id="L821" class="LineNr"> 821 </span><span class="subxTest">test-convert-register-indirect-mode-with-metadata</span>: +<span id="L821" class="LineNr"> 821 </span><span class="subxTest">test-subx-sigils-register-indirect-mode-with-metadata</span>: <span id="L822" class="LineNr"> 822 </span> <span class="subxS1Comment"># . prolog</span> <span id="L823" class="LineNr"> 823 </span> 55/push-ebp <span id="L824" class="LineNr"> 824 </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> @@ -806,12 +806,12 @@ if ('onhashchange' in window) { <span id="L864" class="LineNr"> 864 </span> e8/call <a href='../057write.subx.html#L24'>write</a>/disp32 <span id="L865" class="LineNr"> 865 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L866" class="LineNr"> 866 </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="L867" class="LineNr"> 867 </span> <span class="subxComment"># convert(_test-input-buffered-file, _test-output-buffered-file)</span> +<span id="L867" class="LineNr"> 867 </span> <span class="subxComment"># subx-sigils(_test-input-buffered-file, _test-output-buffered-file)</span> <span id="L868" class="LineNr"> 868 </span> <span class="subxS2Comment"># . . push args</span> <span id="L869" class="LineNr"> 869 </span> 68/push <a href='../064write-byte.subx.html#L332'>_test-output-buffered-file</a>/imm32 <span id="L870" class="LineNr"> 870 </span> 68/push <a href='../061read-byte.subx.html#L319'>_test-input-buffered-file</a>/imm32 <span id="L871" class="LineNr"> 871 </span> <span class="subxS2Comment"># . . call</span> -<span id="L872" class="LineNr"> 872 </span> e8/call <a href='sigils.subx.html#L107'>convert</a>/disp32 +<span id="L872" class="LineNr"> 872 </span> e8/call <a href='sigils.subx.html#L107'>subx-sigils</a>/disp32 <span id="L873" class="LineNr"> 873 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L874" class="LineNr"> 874 </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="L875" class="LineNr"> 875 </span> <span class="subxComment"># check that the line just passed through</span> @@ -824,7 +824,7 @@ if ('onhashchange' in window) { <span id="L882" class="LineNr"> 882 </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="L883" class="LineNr"> 883 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "ab 0/mod/indirect 0x00000001/rm32 \n", msg)</span> <span id="L884" class="LineNr"> 884 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L885" class="LineNr"> 885 </span> 68/push <span class="Constant">"F - test-convert-register-indirect-mode-with-metadata"</span>/imm32 +<span id="L885" class="LineNr"> 885 </span> 68/push <span class="Constant">"F - test-subx-sigils-register-indirect-mode-with-metadata"</span>/imm32 <span id="L886" class="LineNr"> 886 </span> 68/push <span class="Constant">"ab 0/mod/indirect 0x00000001/rm32 \n"</span>/imm32 <span id="L887" class="LineNr"> 887 </span> 68/push <a href='../064write-byte.subx.html#L290'>_test-output-stream</a>/imm32 <span id="L888" class="LineNr"> 888 </span> <span class="subxS2Comment"># . . call</span> @@ -836,7 +836,7 @@ if ('onhashchange' in window) { <span id="L894" class="LineNr"> 894 </span> 5d/pop-to-ebp <span id="L895" class="LineNr"> 895 </span> c3/return <span id="L896" class="LineNr"> 896 </span> -<span id="L897" class="LineNr"> 897 </span><span class="subxTest">test-convert-register-indirect-mode-without-displacement</span>: +<span id="L897" class="LineNr"> 897 </span><span class="subxTest">test-subx-sigils-register-indirect-mode-without-displacement</span>: <span id="L898" class="LineNr"> 898 </span> <span class="subxS1Comment"># . prolog</span> <span id="L899" class="LineNr"> 899 </span> 55/push-ebp <span id="L900" class="LineNr"> 900 </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> @@ -882,12 +882,12 @@ if ('onhashchange' in window) { <span id="L940" class="LineNr"> 940 </span> e8/call <a href='../057write.subx.html#L24'>write</a>/disp32 <span id="L941" class="LineNr"> 941 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L942" class="LineNr"> 942 </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="L943" class="LineNr"> 943 </span> <span class="subxComment"># convert(_test-input-buffered-file, _test-output-buffered-file)</span> +<span id="L943" class="LineNr"> 943 </span> <span class="subxComment"># subx-sigils(_test-input-buffered-file, _test-output-buffered-file)</span> <span id="L944" class="LineNr"> 944 </span> <span class="subxS2Comment"># . . push args</span> <span id="L945" class="LineNr"> 945 </span> 68/push <a href='../064write-byte.subx.html#L332'>_test-output-buffered-file</a>/imm32 <span id="L946" class="LineNr"> 946 </span> 68/push <a href='../061read-byte.subx.html#L319'>_test-input-buffered-file</a>/imm32 <span id="L947" class="LineNr"> 947 </span> <span class="subxS2Comment"># . . call</span> -<span id="L948" class="LineNr"> 948 </span> e8/call <a href='sigils.subx.html#L107'>convert</a>/disp32 +<span id="L948" class="LineNr"> 948 </span> e8/call <a href='sigils.subx.html#L107'>subx-sigils</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> 8/imm32 <span class="subxComment"># add to esp</span> <span id="L951" class="LineNr"> 951 </span> <span class="subxComment"># check that the line just passed through</span> @@ -898,10 +898,10 @@ if ('onhashchange' in window) { <span id="L956" class="LineNr"> 956 </span> e8/call <a href='../064write-byte.subx.html#L79'>flush</a>/disp32 <span id="L957" class="LineNr"> 957 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L958" class="LineNr"> 958 </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="L959" class="Folded"> 959 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------</span> +<span id="L959" class="Folded"> 959 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L985" class="LineNr"> 985 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "ab 0/mod/indirect 1/rm32 \n", msg)</span> <span id="L986" class="LineNr"> 986 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L987" class="LineNr"> 987 </span> 68/push <span class="Constant">"F - test-convert-register-indirect-mode-without-displacement"</span>/imm32 +<span id="L987" class="LineNr"> 987 </span> 68/push <span class="Constant">"F - test-subx-sigils-register-indirect-mode-without-displacement"</span>/imm32 <span id="L988" class="LineNr"> 988 </span> 68/push <span class="Constant">"ab 0/mod/indirect 0x00000001/rm32 \n"</span>/imm32 <span id="L989" class="LineNr"> 989 </span> 68/push <a href='../064write-byte.subx.html#L290'>_test-output-stream</a>/imm32 <span id="L990" class="LineNr"> 990 </span> <span class="subxS2Comment"># . . call</span> @@ -913,7 +913,7 @@ if ('onhashchange' in window) { <span id="L996" class="LineNr"> 996 </span> 5d/pop-to-ebp <span id="L997" class="LineNr"> 997 </span> c3/return <span id="L998" class="LineNr"> 998 </span> -<span id="L999" class="LineNr"> 999 </span><span class="subxTest">test-convert-register-indirect-mode-with-displacement</span>: +<span id="L999" class="LineNr"> 999 </span><span class="subxTest">test-subx-sigils-register-indirect-mode-with-displacement</span>: <span id="L1000" class="LineNr">1000 </span> <span class="subxS1Comment"># . prolog</span> <span id="L1001" class="LineNr">1001 </span> 55/push-ebp <span id="L1002" class="LineNr">1002 </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> @@ -959,12 +959,12 @@ if ('onhashchange' in window) { <span id="L1042" class="LineNr">1042 </span> e8/call <a href='../057write.subx.html#L24'>write</a>/disp32 <span id="L1043" class="LineNr">1043 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1044" class="LineNr">1044 </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="L1045" class="LineNr">1045 </span> <span class="subxComment"># convert(_test-input-buffered-file, _test-output-buffered-file)</span> +<span id="L1045" class="LineNr">1045 </span> <span class="subxComment"># subx-sigils(_test-input-buffered-file, _test-output-buffered-file)</span> <span id="L1046" class="LineNr">1046 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1047" class="LineNr">1047 </span> 68/push <a href='../064write-byte.subx.html#L332'>_test-output-buffered-file</a>/imm32 <span id="L1048" class="LineNr">1048 </span> 68/push <a href='../061read-byte.subx.html#L319'>_test-input-buffered-file</a>/imm32 <span id="L1049" class="LineNr">1049 </span> <span class="subxS2Comment"># . . call</span> -<span id="L1050" class="LineNr">1050 </span> e8/call <a href='sigils.subx.html#L107'>convert</a>/disp32 +<span id="L1050" class="LineNr">1050 </span> e8/call <a href='sigils.subx.html#L107'>subx-sigils</a>/disp32 <span id="L1051" class="LineNr">1051 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1052" class="LineNr">1052 </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="L1053" class="LineNr">1053 </span> <span class="subxComment"># check that the line just passed through</span> @@ -975,10 +975,10 @@ if ('onhashchange' in window) { <span id="L1058" class="LineNr">1058 </span> e8/call <a href='../064write-byte.subx.html#L79'>flush</a>/disp32 <span id="L1059" class="LineNr">1059 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1060" class="LineNr">1060 </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="L1061" class="Folded">1061 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------</span> +<span id="L1061" class="Folded">1061 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1087" class="LineNr">1087 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "ab 2/mod/*+disp32 1/rm32 4/disp32 \n", msg)</span> <span id="L1088" class="LineNr">1088 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L1089" class="LineNr">1089 </span> 68/push <span class="Constant">"F - test-convert-register-indirect-mode-with-displacement"</span>/imm32 +<span id="L1089" class="LineNr">1089 </span> 68/push <span class="Constant">"F - test-subx-sigils-register-indirect-mode-with-displacement"</span>/imm32 <span id="L1090" class="LineNr">1090 </span> 68/push <span class="Constant">"ab 2/mod/*+disp32 0x00000001/rm32 0x00000004/disp32 \n"</span>/imm32 <span id="L1091" class="LineNr">1091 </span> 68/push <a href='../064write-byte.subx.html#L290'>_test-output-stream</a>/imm32 <span id="L1092" class="LineNr">1092 </span> <span class="subxS2Comment"># . . call</span> @@ -991,7 +991,7 @@ if ('onhashchange' in window) { <span id="L1099" class="LineNr">1099 </span> c3/return <span id="L1100" class="LineNr">1100 </span> <span id="L1101" class="LineNr">1101 </span><span class="subxComment"># boss level</span> -<span id="L1102" class="LineNr">1102 </span><span class="subxTest">test-convert-register-indirect-mode-with-sib-byte</span>: +<span id="L1102" class="LineNr">1102 </span><span class="subxTest">test-subx-sigils-register-indirect-mode-with-sib-byte</span>: <span id="L1103" class="LineNr">1103 </span> <span class="subxS1Comment"># . prolog</span> <span id="L1104" class="LineNr">1104 </span> 55/push-ebp <span id="L1105" class="LineNr">1105 </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> @@ -1037,12 +1037,12 @@ if ('onhashchange' in window) { <span id="L1145" class="LineNr">1145 </span> e8/call <a href='../057write.subx.html#L24'>write</a>/disp32 <span id="L1146" class="LineNr">1146 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1147" class="LineNr">1147 </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="L1148" class="LineNr">1148 </span> <span class="subxComment"># convert(_test-input-buffered-file, _test-output-buffered-file)</span> +<span id="L1148" class="LineNr">1148 </span> <span class="subxComment"># subx-sigils(_test-input-buffered-file, _test-output-buffered-file)</span> <span id="L1149" class="LineNr">1149 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1150" class="LineNr">1150 </span> 68/push <a href='../064write-byte.subx.html#L332'>_test-output-buffered-file</a>/imm32 <span id="L1151" class="LineNr">1151 </span> 68/push <a href='../061read-byte.subx.html#L319'>_test-input-buffered-file</a>/imm32 <span id="L1152" class="LineNr">1152 </span> <span class="subxS2Comment"># . . call</span> -<span id="L1153" class="LineNr">1153 </span> e8/call <a href='sigils.subx.html#L107'>convert</a>/disp32 +<span id="L1153" class="LineNr">1153 </span> e8/call <a href='sigils.subx.html#L107'>subx-sigils</a>/disp32 <span id="L1154" class="LineNr">1154 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1155" class="LineNr">1155 </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="L1156" class="LineNr">1156 </span> <span class="subxComment"># check that the line just passed through</span> @@ -1053,10 +1053,10 @@ if ('onhashchange' in window) { <span id="L1161" class="LineNr">1161 </span> e8/call <a href='../064write-byte.subx.html#L79'>flush</a>/disp32 <span id="L1162" class="LineNr">1162 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1163" class="LineNr">1163 </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="L1164" class="Folded">1164 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------</span> +<span id="L1164" class="Folded">1164 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1190" class="LineNr">1190 </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="L1191" class="LineNr">1191 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L1192" class="LineNr">1192 </span> 68/push <span class="Constant">"F - test-convert-register-indirect-mode-with-sib-byte"</span>/imm32 +<span id="L1192" class="LineNr">1192 </span> 68/push <span class="Constant">"F - test-subx-sigils-register-indirect-mode-with-sib-byte"</span>/imm32 <span id="L1193" class="LineNr">1193 </span> 68/push <span class="Constant">"ab 2/mod/*+disp32 4/rm32/sib 0x00000001/base 0x00000002/index 0x00000003/scale 0x00000004/disp32 \n"</span>/imm32 <span id="L1194" class="LineNr">1194 </span> 68/push <a href='../064write-byte.subx.html#L290'>_test-output-stream</a>/imm32 <span id="L1195" class="LineNr">1195 </span> <span class="subxS2Comment"># . . call</span> @@ -1068,7 +1068,7 @@ if ('onhashchange' in window) { <span id="L1201" class="LineNr">1201 </span> 5d/pop-to-ebp <span id="L1202" class="LineNr">1202 </span> c3/return <span id="L1203" class="LineNr">1203 </span> -<span id="L1204" class="LineNr">1204 </span><span class="subxTest">test-convert-register-indirect-mode-with-sib-byte-negative-displacement</span>: +<span id="L1204" class="LineNr">1204 </span><span class="subxTest">test-subx-sigils-register-indirect-mode-with-sib-byte-negative-displacement</span>: <span id="L1205" class="LineNr">1205 </span> <span class="subxS1Comment"># . prolog</span> <span id="L1206" class="LineNr">1206 </span> 55/push-ebp <span id="L1207" class="LineNr">1207 </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> @@ -1114,12 +1114,12 @@ if ('onhashchange' in window) { <span id="L1247" class="LineNr">1247 </span> e8/call <a href='../057write.subx.html#L24'>write</a>/disp32 <span id="L1248" class="LineNr">1248 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1249" class="LineNr">1249 </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="L1250" class="LineNr">1250 </span> <span class="subxComment"># convert(_test-input-buffered-file, _test-output-buffered-file)</span> +<span id="L1250" class="LineNr">1250 </span> <span class="subxComment"># subx-sigils(_test-input-buffered-file, _test-output-buffered-file)</span> <span id="L1251" class="LineNr">1251 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1252" class="LineNr">1252 </span> 68/push <a href='../064write-byte.subx.html#L332'>_test-output-buffered-file</a>/imm32 <span id="L1253" class="LineNr">1253 </span> 68/push <a href='../061read-byte.subx.html#L319'>_test-input-buffered-file</a>/imm32 <span id="L1254" class="LineNr">1254 </span> <span class="subxS2Comment"># . . call</span> -<span id="L1255" class="LineNr">1255 </span> e8/call <a href='sigils.subx.html#L107'>convert</a>/disp32 +<span id="L1255" class="LineNr">1255 </span> e8/call <a href='sigils.subx.html#L107'>subx-sigils</a>/disp32 <span id="L1256" class="LineNr">1256 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1257" class="LineNr">1257 </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="L1258" class="LineNr">1258 </span> <span class="subxComment"># check that the line just passed through</span> @@ -1130,10 +1130,10 @@ if ('onhashchange' in window) { <span id="L1263" class="LineNr">1263 </span> e8/call <a href='../064write-byte.subx.html#L79'>flush</a>/disp32 <span id="L1264" class="LineNr">1264 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1265" class="LineNr">1265 </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="L1266" class="Folded">1266 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------</span> +<span id="L1266" class="Folded">1266 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1292" class="LineNr">1292 </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="L1293" class="LineNr">1293 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L1294" class="LineNr">1294 </span> 68/push <span class="Constant">"F - test-convert-register-indirect-mode-with-sib-byte-negative-displacement"</span>/imm32 +<span id="L1294" class="LineNr">1294 </span> 68/push <span class="Constant">"F - test-subx-sigils-register-indirect-mode-with-sib-byte-negative-displacement"</span>/imm32 <span id="L1295" class="LineNr">1295 </span> 68/push <span class="Constant">"ab 2/mod/*+disp32 4/rm32/sib 0x00000001/base 0x00000002/index 0x00000003/scale 0xfffffffc/disp32 \n"</span>/imm32 <span id="L1296" class="LineNr">1296 </span> 68/push <a href='../064write-byte.subx.html#L290'>_test-output-stream</a>/imm32 <span id="L1297" class="LineNr">1297 </span> <span class="subxS2Comment"># . . call</span> @@ -1145,7 +1145,7 @@ if ('onhashchange' in window) { <span id="L1303" class="LineNr">1303 </span> 5d/pop-to-ebp <span id="L1304" class="LineNr">1304 </span> c3/return <span id="L1305" class="LineNr">1305 </span> -<span id="L1306" class="LineNr">1306 </span><span class="subxTest">test-convert-indirect-mode-without-register</span>: +<span id="L1306" class="LineNr">1306 </span><span class="subxTest">test-subx-sigils-indirect-mode-without-register</span>: <span id="L1307" class="LineNr">1307 </span> <span class="subxS1Comment"># . prolog</span> <span id="L1308" class="LineNr">1308 </span> 55/push-ebp <span id="L1309" class="LineNr">1309 </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> @@ -1191,12 +1191,12 @@ if ('onhashchange' in window) { <span id="L1349" class="LineNr">1349 </span> e8/call <a href='../057write.subx.html#L24'>write</a>/disp32 <span id="L1350" class="LineNr">1350 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1351" class="LineNr">1351 </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="L1352" class="LineNr">1352 </span> <span class="subxComment"># convert(_test-input-buffered-file, _test-output-buffered-file)</span> +<span id="L1352" class="LineNr">1352 </span> <span class="subxComment"># subx-sigils(_test-input-buffered-file, _test-output-buffered-file)</span> <span id="L1353" class="LineNr">1353 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1354" class="LineNr">1354 </span> 68/push <a href='../064write-byte.subx.html#L332'>_test-output-buffered-file</a>/imm32 <span id="L1355" class="LineNr">1355 </span> 68/push <a href='../061read-byte.subx.html#L319'>_test-input-buffered-file</a>/imm32 <span id="L1356" class="LineNr">1356 </span> <span class="subxS2Comment"># . . call</span> -<span id="L1357" class="LineNr">1357 </span> e8/call <a href='sigils.subx.html#L107'>convert</a>/disp32 +<span id="L1357" class="LineNr">1357 </span> e8/call <a href='sigils.subx.html#L107'>subx-sigils</a>/disp32 <span id="L1358" class="LineNr">1358 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1359" class="LineNr">1359 </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="L1360" class="LineNr">1360 </span> <span class="subxComment"># check that the line just passed through</span> @@ -1207,10 +1207,10 @@ if ('onhashchange' in window) { <span id="L1365" class="LineNr">1365 </span> e8/call <a href='../064write-byte.subx.html#L79'>flush</a>/disp32 <span id="L1366" class="LineNr">1366 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1367" class="LineNr">1367 </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="L1368" class="Folded">1368 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream --------------------------------------------------------------------------------------------------------------</span> +<span id="L1368" class="Folded">1368 </span><span class="Folded">+-- 26 lines: #? # dump _test-output-stream ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1394" class="LineNr">1394 </span> <span class="subxS1Comment"># . check-stream-equal(_test-output-stream, "ab 0/mod/indirect 5/rm32/.disp32 Foo/disp32 \n", msg)</span> <span id="L1395" class="LineNr">1395 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L1396" class="LineNr">1396 </span> 68/push <span class="Constant">"F - test-convert-indirect-mode-without-register"</span>/imm32 +<span id="L1396" class="LineNr">1396 </span> 68/push <span class="Constant">"F - test-subx-sigils-indirect-mode-without-register"</span>/imm32 <span id="L1397" class="LineNr">1397 </span> 68/push <span class="Constant">"ab 0/mod/indirect 5/rm32/.disp32 Foo/disp32 \n"</span>/imm32 <span id="L1398" class="LineNr">1398 </span> 68/push <a href='../064write-byte.subx.html#L290'>_test-output-stream</a>/imm32 <span id="L1399" class="LineNr">1399 </span> <span class="subxS2Comment"># . . call</span> @@ -1253,7 +1253,7 @@ if ('onhashchange' in window) { <span id="L1436" class="LineNr">1436 </span> 50/push-eax <span id="L1437" class="LineNr">1437 </span> 68/push <span class="SpecialChar"><a href='sigils.subx.html#L4708'>Registers</a></span>/imm32 <span id="L1438" class="LineNr">1438 </span> <span class="subxS2Comment"># . . call</span> -<span id="L1439" class="LineNr">1439 </span> e8/call <a href='../078table.subx.html#L200'>get-slice</a>/disp32 +<span id="L1439" class="LineNr">1439 </span> e8/call <a href='../081table.subx.html#L200'>get-slice</a>/disp32 <span id="L1440" class="LineNr">1440 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1441" class="LineNr">1441 </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="L1442" class="LineNr">1442 </span> <span class="subxComment"># write-buffered(out, "3/mod/direct ")</span> @@ -1335,7 +1335,7 @@ if ('onhashchange' in window) { <span id="L1518" class="LineNr">1518 </span> e8/call <a href='../064write-byte.subx.html#L79'>flush</a>/disp32 <span id="L1519" class="LineNr">1519 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1520" class="LineNr">1520 </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="L1521" class="Folded">1521 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1521" class="Folded">1521 </span><span class="Folded">+-- 26 lines: #? # dump output -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1547" class="LineNr">1547 </span> <span class="subxComment"># check-stream-equal(_test-output-stream, "3/mod/direct 0/rm32", msg)</span> <span id="L1548" class="LineNr">1548 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1549" class="LineNr">1549 </span> 68/push <span class="Constant">"F - <a href='sigils.subx.html#L1476'>test-emit-direct-mode</a>/0"</span>/imm32 @@ -1395,7 +1395,7 @@ if ('onhashchange' in window) { <span id="L1603" class="LineNr">1603 </span> e8/call <a href='../064write-byte.subx.html#L79'>flush</a>/disp32 <span id="L1604" class="LineNr">1604 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1605" class="LineNr">1605 </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="L1606" class="Folded">1606 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1606" class="Folded">1606 </span><span class="Folded">+-- 26 lines: #? # dump output -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1632" class="LineNr">1632 </span> <span class="subxComment"># check-stream-equal(_test-output-stream, "3/mod/direct 7/rm32", msg)</span> <span id="L1633" class="LineNr">1633 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1634" class="LineNr">1634 </span> 68/push <span class="Constant">"F - <a href='sigils.subx.html#L1476'>test-emit-direct-mode</a>/1"</span>/imm32 @@ -1576,7 +1576,7 @@ if ('onhashchange' in window) { <span id="L1809" class="LineNr">1809 </span> 56/push-esi <span id="L1810" class="LineNr">1810 </span> 68/push <span class="SpecialChar"><a href='../065write-buffered.subx.html#L213'>Stderr</a></span>/imm32 <span id="L1811" class="LineNr">1811 </span> <span class="subxS2Comment"># . . call</span> -<span id="L1812" class="LineNr">1812 </span> e8/call write-stream-data/disp32 +<span id="L1812" class="LineNr">1812 </span> e8/call <a href='../074write-stream-data.subx.html#L11'>write-stream-data</a>/disp32 <span id="L1813" class="LineNr">1813 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1814" class="LineNr">1814 </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="L1815" class="LineNr">1815 </span> <span class="subxS1Comment"># . write-buffered(Stderr, "'")</span> @@ -1615,7 +1615,7 @@ if ('onhashchange' in window) { <span id="L1848" class="LineNr">1848 </span> 56/push-esi <span id="L1849" class="LineNr">1849 </span> 68/push <span class="SpecialChar"><a href='../065write-buffered.subx.html#L213'>Stderr</a></span>/imm32 <span id="L1850" class="LineNr">1850 </span> <span class="subxS2Comment"># . . call</span> -<span id="L1851" class="LineNr">1851 </span> e8/call write-stream-data/disp32 +<span id="L1851" class="LineNr">1851 </span> e8/call <a href='../074write-stream-data.subx.html#L11'>write-stream-data</a>/disp32 <span id="L1852" class="LineNr">1852 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L1853" class="LineNr">1853 </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="L1854" class="LineNr">1854 </span> <span class="subxS1Comment"># . write-buffered(Stderr, "'")</span> @@ -2106,7 +2106,7 @@ if ('onhashchange' in window) { <span id="L2339" class="LineNr">2339 </span> 56/push-esi <span id="L2340" class="LineNr">2340 </span> 68/push <span class="SpecialChar"><a href='sigils.subx.html#L4708'>Registers</a></span>/imm32 <span id="L2341" class="LineNr">2341 </span> <span class="subxS2Comment"># . . call</span> -<span id="L2342" class="LineNr">2342 </span> e8/call <a href='../078table.subx.html#L200'>get-slice</a>/disp32 +<span id="L2342" class="LineNr">2342 </span> e8/call <a href='../081table.subx.html#L200'>get-slice</a>/disp32 <span id="L2343" class="LineNr">2343 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L2344" class="LineNr">2344 </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="L2345" class="LineNr">2345 </span> <span class="subxS1Comment"># . base = *eax</span> @@ -2193,7 +2193,7 @@ if ('onhashchange' in window) { <span id="L2426" class="LineNr">2426 </span> 51/push-ecx <span id="L2427" class="LineNr">2427 </span> 68/push <span class="SpecialChar"><a href='sigils.subx.html#L4708'>Registers</a></span>/imm32 <span id="L2428" class="LineNr">2428 </span> <span class="subxS2Comment"># . . call</span> -<span id="L2429" class="LineNr">2429 </span> e8/call <a href='../078table.subx.html#L1532'>maybe-get-slice</a>/disp32 +<span id="L2429" class="LineNr">2429 </span> e8/call <a href='../081table.subx.html#L1532'>maybe-get-slice</a>/disp32 <span id="L2430" class="LineNr">2430 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L2431" class="LineNr">2431 </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="L2432" class="LineNr">2432 </span> <span class="subxS1Comment"># . reclaim tmp</span> @@ -2349,7 +2349,7 @@ if ('onhashchange' in window) { <span id="L2582" class="LineNr">2582 </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="L2583" class="LineNr">2583 </span> <span class="subxS1Comment"># . write-buffered(Stderr, "\n")</span> <span id="L2584" class="LineNr">2584 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L2585" class="LineNr">2585 </span> 68/push <span class="Constant">"\n"</span>/imm32 +<span id="L2585" class="LineNr">2585 </span> 68/push <span class="SpecialChar"><a href='../051test.subx.html#L83'>Newline</a></span>/imm32 <span id="L2586" class="LineNr">2586 </span> 68/push <span class="SpecialChar"><a href='../065write-buffered.subx.html#L213'>Stderr</a></span>/imm32 <span id="L2587" class="LineNr">2587 </span> <span class="subxS2Comment"># . . call</span> <span id="L2588" class="LineNr">2588 </span> e8/call <a href='../065write-buffered.subx.html#L8'>write-buffered</a>/disp32 @@ -2388,7 +2388,7 @@ if ('onhashchange' in window) { <span id="L2621" class="LineNr">2621 </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="L2622" class="LineNr">2622 </span> <span class="subxS1Comment"># . write-buffered(Stderr, "\n")</span> <span id="L2623" class="LineNr">2623 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L2624" class="LineNr">2624 </span> 68/push <span class="Constant">"\n"</span>/imm32 +<span id="L2624" class="LineNr">2624 </span> 68/push <span class="SpecialChar"><a href='../051test.subx.html#L83'>Newline</a></span>/imm32 <span id="L2625" class="LineNr">2625 </span> 68/push <span class="SpecialChar"><a href='../065write-buffered.subx.html#L213'>Stderr</a></span>/imm32 <span id="L2626" class="LineNr">2626 </span> <span class="subxS2Comment"># . . call</span> <span id="L2627" class="LineNr">2627 </span> e8/call <a href='../065write-buffered.subx.html#L8'>write-buffered</a>/disp32 @@ -2427,7 +2427,7 @@ if ('onhashchange' in window) { <span id="L2660" class="LineNr">2660 </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="L2661" class="LineNr">2661 </span> <span class="subxS1Comment"># . write-buffered(Stderr, "\n")</span> <span id="L2662" class="LineNr">2662 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L2663" class="LineNr">2663 </span> 68/push <span class="Constant">"\n"</span>/imm32 +<span id="L2663" class="LineNr">2663 </span> 68/push <span class="SpecialChar"><a href='../051test.subx.html#L83'>Newline</a></span>/imm32 <span id="L2664" class="LineNr">2664 </span> 68/push <span class="SpecialChar"><a href='../065write-buffered.subx.html#L213'>Stderr</a></span>/imm32 <span id="L2665" class="LineNr">2665 </span> <span class="subxS2Comment"># . . call</span> <span id="L2666" class="LineNr">2666 </span> e8/call <a href='../065write-buffered.subx.html#L8'>write-buffered</a>/disp32 @@ -2511,7 +2511,7 @@ if ('onhashchange' in window) { <span id="L2744" class="LineNr">2744 </span> 51/push-ecx <span id="L2745" class="LineNr">2745 </span> 68/push <span class="SpecialChar"><a href='sigils.subx.html#L4708'>Registers</a></span>/imm32 <span id="L2746" class="LineNr">2746 </span> <span class="subxS2Comment"># . . call</span> -<span id="L2747" class="LineNr">2747 </span> e8/call <a href='../078table.subx.html#L200'>get-slice</a>/disp32 +<span id="L2747" class="LineNr">2747 </span> e8/call <a href='../081table.subx.html#L200'>get-slice</a>/disp32 <span id="L2748" class="LineNr">2748 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L2749" class="LineNr">2749 </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="L2750" class="LineNr">2750 </span><span class="Constant">$next-register:end</span>: @@ -3175,7 +3175,7 @@ if ('onhashchange' in window) { <span id="L3408" class="LineNr">3408 </span> e8/call <a href='../064write-byte.subx.html#L79'>flush</a>/disp32 <span id="L3409" class="LineNr">3409 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3410" class="LineNr">3410 </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="L3411" class="Folded">3411 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3411" class="Folded">3411 </span><span class="Folded">+-- 26 lines: #? # dump output -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3437" class="LineNr">3437 </span> <span class="subxComment"># check-stream-equal(_test-output-stream, "0/mod/indirect 0/rm32", msg)</span> <span id="L3438" class="LineNr">3438 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3439" class="LineNr">3439 </span> 68/push <span class="Constant">"F - test-emit-indirect-mode"</span>/imm32 @@ -3229,7 +3229,7 @@ if ('onhashchange' in window) { <span id="L3487" class="LineNr">3487 </span> e8/call <a href='../064write-byte.subx.html#L79'>flush</a>/disp32 <span id="L3488" class="LineNr">3488 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3489" class="LineNr">3489 </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="L3490" class="Folded">3490 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3490" class="Folded">3490 </span><span class="Folded">+-- 26 lines: #? # dump output -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3516" class="LineNr">3516 </span> <span class="subxComment"># check-stream-equal(_test-output-stream, "0/mod/indirect 7/rm32", msg)</span> <span id="L3517" class="LineNr">3517 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3518" class="LineNr">3518 </span> 68/push <span class="Constant">"F - test-emit-indirect-mode-2"</span>/imm32 @@ -3283,7 +3283,7 @@ if ('onhashchange' in window) { <span id="L3566" class="LineNr">3566 </span> e8/call <a href='../064write-byte.subx.html#L79'>flush</a>/disp32 <span id="L3567" class="LineNr">3567 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3568" class="LineNr">3568 </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="L3569" class="Folded">3569 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3569" class="Folded">3569 </span><span class="Folded">+-- 26 lines: #? # dump output -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3595" class="LineNr">3595 </span> <span class="subxComment"># check-stream-equal(_test-output-stream, "2/mod/*+disp32 6/rm32 4/disp32", msg)</span> <span id="L3596" class="LineNr">3596 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3597" class="LineNr">3597 </span> 68/push <span class="Constant">"F - test-emit-indirect-mode-with-disp"</span>/imm32 @@ -3337,7 +3337,7 @@ if ('onhashchange' in window) { <span id="L3645" class="LineNr">3645 </span> e8/call <a href='../064write-byte.subx.html#L79'>flush</a>/disp32 <span id="L3646" class="LineNr">3646 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3647" class="LineNr">3647 </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="L3648" class="Folded">3648 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3648" class="Folded">3648 </span><span class="Folded">+-- 26 lines: #? # dump output -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3674" class="LineNr">3674 </span> <span class="subxComment"># check-stream-equal(_test-output-stream, "2/mod/*+disp32 6/rm32 -4/disp32", msg)</span> <span id="L3675" class="LineNr">3675 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3676" class="LineNr">3676 </span> 68/push <span class="Constant">"F - test-emit-indirect-mode-with-disp"</span>/imm32 @@ -3391,7 +3391,7 @@ if ('onhashchange' in window) { <span id="L3724" class="LineNr">3724 </span> e8/call <a href='../064write-byte.subx.html#L79'>flush</a>/disp32 <span id="L3725" class="LineNr">3725 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3726" class="LineNr">3726 </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="L3727" class="Folded">3727 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3727" class="Folded">3727 </span><span class="Folded">+-- 26 lines: #? # dump output -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3753" class="LineNr">3753 </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="L3754" class="LineNr">3754 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3755" class="LineNr">3755 </span> 68/push <span class="Constant">"F - test-emit-indirect-mode-with-sib"</span>/imm32 @@ -3445,7 +3445,7 @@ if ('onhashchange' in window) { <span id="L3803" class="LineNr">3803 </span> e8/call <a href='../064write-byte.subx.html#L79'>flush</a>/disp32 <span id="L3804" class="LineNr">3804 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3805" class="LineNr">3805 </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="L3806" class="Folded">3806 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3806" class="Folded">3806 </span><span class="Folded">+-- 26 lines: #? # dump output -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3832" class="LineNr">3832 </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="L3833" class="LineNr">3833 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3834" class="LineNr">3834 </span> 68/push <span class="Constant">"F - test-emit-indirect-mode-ebp"</span>/imm32 @@ -3499,7 +3499,7 @@ if ('onhashchange' in window) { <span id="L3882" class="LineNr">3882 </span> e8/call <a href='../064write-byte.subx.html#L79'>flush</a>/disp32 <span id="L3883" class="LineNr">3883 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3884" class="LineNr">3884 </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="L3885" class="Folded">3885 </span><span class="Folded">+-- 26 lines: #? # dump output ---------------------------------------------------------------------------------------------------------------------------</span> +<span id="L3885" class="Folded">3885 </span><span class="Folded">+-- 26 lines: #? # dump output -----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L3911" class="LineNr">3911 </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="L3912" class="LineNr">3912 </span> <span class="subxS2Comment"># . . push args</span> <span id="L3913" class="LineNr">3913 </span> 68/push <span class="Constant">"F - test-emit-indirect-mode-esp"</span>/imm32 @@ -3551,7 +3551,7 @@ if ('onhashchange' in window) { <span id="L3959" class="LineNr">3959 </span> 56/push-esi <span id="L3960" class="LineNr">3960 </span> 68/push <span class="SpecialChar"><a href='sigils.subx.html#L4708'>Registers</a></span>/imm32 <span id="L3961" class="LineNr">3961 </span> <span class="subxS2Comment"># . . cal</span> -<span id="L3962" class="LineNr">3962 </span> e8/call <a href='../078table.subx.html#L1532'>maybe-get-slice</a>/disp32 +<span id="L3962" class="LineNr">3962 </span> e8/call <a href='../081table.subx.html#L1532'>maybe-get-slice</a>/disp32 <span id="L3963" class="LineNr">3963 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L3964" class="LineNr">3964 </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="L3965" class="LineNr">3965 </span> <span class="subxComment"># if (eax != 0) return false</span> @@ -3683,7 +3683,7 @@ if ('onhashchange' in window) { <span id="L4091" class="LineNr">4091 </span> <span class="subxS1Comment"># . if (*curr != '0') jump to loop</span> <span id="L4092" class="LineNr">4092 </span> 8a/copy-byte 0/mod/indirect 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/AL <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy byte at *ecx to AL</span> <span id="L4093" class="LineNr">4093 </span> 3d/compare-eax-and 0x30/imm32/0 -<span id="L4094" class="LineNr">4094 </span> 75/jump-if-not-equal $next-hex-int:loop/disp8 +<span id="L4094" class="LineNr">4094 </span> 75/jump-if-not-equal $next-hex-int:<span class="Constant">loop</span>/disp8 <span id="L4095" class="LineNr">4095 </span> <span class="subxS1Comment"># . ++curr</span> <span id="L4096" class="LineNr">4096 </span> 41/increment-ecx <span id="L4097" class="LineNr">4097 </span><span class="Constant">$next-hex-int:initial-0x</span>: @@ -3694,13 +3694,13 @@ if ('onhashchange' in window) { <span id="L4102" class="LineNr">4102 </span> 31/xor 3/mod/direct 0/rm32/eax <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"># clear eax</span> <span id="L4103" class="LineNr">4103 </span> 8a/copy-byte 0/mod/indirect 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/AL <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy byte at *ecx to AL</span> <span id="L4104" class="LineNr">4104 </span> 3d/compare-eax-and 0x78/imm32/x -<span id="L4105" class="LineNr">4105 </span> 75/jump-if-not-equal $next-hex-int:loop/disp8 +<span id="L4105" class="LineNr">4105 </span> 75/jump-if-not-equal $next-hex-int:<span class="Constant">loop</span>/disp8 <span id="L4106" class="LineNr">4106 </span> <span class="subxS1Comment"># . ++curr</span> <span id="L4107" class="LineNr">4107 </span> 41/increment-ecx <span id="L4108" class="LineNr">4108 </span><span class="Constant">$next-hex-int:loop</span>: <span id="L4109" class="LineNr">4109 </span> <span class="subxComment"># if (curr >= in->end) break</span> <span id="L4110" class="LineNr">4110 </span> 39/compare 3/mod/direct 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 2/r32/edx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># compare ecx with edx</span> -<span id="L4111" class="LineNr">4111 </span> 73/jump-if-greater-or-equal-unsigned $next-hex-int:break/disp8 +<span id="L4111" class="LineNr">4111 </span> 73/jump-if-greater-or-equal-unsigned $next-hex-int:<span class="Constant">break</span>/disp8 <span id="L4112" class="LineNr">4112 </span> <span class="subxComment"># if (!is-hex-digit?(*curr)) break</span> <span id="L4113" class="LineNr">4113 </span> <span class="subxS1Comment"># . eax = *curr</span> <span id="L4114" class="LineNr">4114 </span> 8a/copy-byte 0/mod/indirect 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/AL <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy byte at *ecx to AL</span> @@ -3713,7 +3713,7 @@ if ('onhashchange' in window) { <span id="L4121" class="LineNr">4121 </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="L4122" class="LineNr">4122 </span> <span class="subxS1Comment"># . if (eax == 0) break</span> <span id="L4123" class="LineNr">4123 </span> 3d/compare-eax-and 0/imm32 -<span id="L4124" class="LineNr">4124 </span> 74/jump-if-equal $next-hex-int:break/disp8 +<span id="L4124" class="LineNr">4124 </span> 74/jump-if-equal $next-hex-int:<span class="Constant">break</span>/disp8 <span id="L4125" class="LineNr">4125 </span> <span class="subxComment"># eax = from-hex-char(*curr)</span> <span id="L4126" class="LineNr">4126 </span> <span class="subxS2Comment"># . . copy arg to eax</span> <span id="L4127" class="LineNr">4127 </span> 8a/copy-byte 0/mod/indirect 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/AL <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy byte at *ecx to AL</span> @@ -3725,7 +3725,7 @@ if ('onhashchange' in window) { <span id="L4133" class="LineNr">4133 </span> <span class="subxComment"># ++curr</span> <span id="L4134" class="LineNr">4134 </span> 41/increment-ecx <span id="L4135" class="LineNr">4135 </span> <span class="subxComment"># loop</span> -<span id="L4136" class="LineNr">4136 </span> eb/jump $next-hex-int:loop/disp8 +<span id="L4136" class="LineNr">4136 </span> eb/jump $next-hex-int:<span class="Constant">loop</span>/disp8 <span id="L4137" class="LineNr">4137 </span><span class="Constant">$next-hex-int:break</span>: <span id="L4138" class="LineNr">4138 </span> 81 7/subop/compare 3/mod/direct 3/rm32/ebx <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 ebx</span> <span id="L4139" class="LineNr">4139 </span> 74/jump-if-equal $next-hex-int:end/disp8 @@ -3786,7 +3786,7 @@ if ('onhashchange' in window) { <span id="L4194" class="LineNr">4194 </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="L4195" class="LineNr">4195 </span> <span class="subxS1Comment"># . _write(2/stderr, "\n")</span> <span id="L4196" class="LineNr">4196 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L4197" class="LineNr">4197 </span> 68/push <span class="Constant">"\n"</span>/imm32 +<span id="L4197" class="LineNr">4197 </span> 68/push <span class="SpecialChar"><a href='../051test.subx.html#L83'>Newline</a></span>/imm32 <span id="L4198" class="LineNr">4198 </span> 68/push 2/imm32/stderr <span id="L4199" class="LineNr">4199 </span> <span class="subxS2Comment"># . . call</span> <span id="L4200" class="LineNr">4200 </span> e8/call <a href='../050_write.subx.html#L14'>_write</a>/disp32 @@ -4067,7 +4067,7 @@ if ('onhashchange' in window) { <span id="L4475" class="LineNr">4475 </span> <span class="subxS1Comment"># . if (*curr != '0') jump to loop</span> <span id="L4476" class="LineNr">4476 </span> 8a/copy-byte 0/mod/indirect 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/AL <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy byte at *ecx to AL</span> <span id="L4477" class="LineNr">4477 </span> 3d/compare-eax-and 0x30/imm32/0 -<span id="L4478" class="LineNr">4478 </span> 75/jump-if-not-equal $next-positive-hex-int:loop/disp8 +<span id="L4478" class="LineNr">4478 </span> 75/jump-if-not-equal $next-positive-hex-int:<span class="Constant">loop</span>/disp8 <span id="L4479" class="LineNr">4479 </span> <span class="subxS1Comment"># . ++curr</span> <span id="L4480" class="LineNr">4480 </span> 41/increment-ecx <span id="L4481" class="LineNr">4481 </span><span class="Constant">$next-positive-hex-int:initial-0x</span>: @@ -4078,7 +4078,7 @@ if ('onhashchange' in window) { <span id="L4486" class="LineNr">4486 </span> 31/xor 3/mod/direct 0/rm32/eax <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"># clear eax</span> <span id="L4487" class="LineNr">4487 </span> 8a/copy-byte 0/mod/indirect 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/AL <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy byte at *ecx to AL</span> <span id="L4488" class="LineNr">4488 </span> 3d/compare-eax-and 0x78/imm32/x -<span id="L4489" class="LineNr">4489 </span> 75/jump-if-not-equal $next-positive-hex-int:loop/disp8 +<span id="L4489" class="LineNr">4489 </span> 75/jump-if-not-equal $next-positive-hex-int:<span class="Constant">loop</span>/disp8 <span id="L4490" class="LineNr">4490 </span> <span class="subxS1Comment"># . ++curr</span> <span id="L4491" class="LineNr">4491 </span> 41/increment-ecx <span id="L4492" class="LineNr">4492 </span><span class="Constant">$next-positive-hex-int:loop</span>: @@ -4109,7 +4109,7 @@ if ('onhashchange' in window) { <span id="L4517" class="LineNr">4517 </span> <span class="subxComment"># ++curr</span> <span id="L4518" class="LineNr">4518 </span> 41/increment-ecx <span id="L4519" class="LineNr">4519 </span> <span class="subxComment"># loop</span> -<span id="L4520" class="LineNr">4520 </span> eb/jump $next-positive-hex-int:loop/disp8 +<span id="L4520" class="LineNr">4520 </span> eb/jump $next-positive-hex-int:<span class="Constant">loop</span>/disp8 <span id="L4521" class="LineNr">4521 </span><span class="Constant">$next-positive-hex-int:end</span>: <span id="L4522" class="LineNr">4522 </span> <span class="subxComment"># word-slice->start = curr</span> <span id="L4523" class="LineNr">4523 </span> 89/copy 0/mod/indirect 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"># copy ecx to *esi</span> |