diff options
-rw-r--r-- | html/subx/051test.subx.html | 27 | ||||
-rw-r--r-- | subx/051test.subx | 3 |
2 files changed, 18 insertions, 12 deletions
diff --git a/html/subx/051test.subx.html b/html/subx/051test.subx.html index dbbbe4dd..c67b3f67 100644 --- a/html/subx/051test.subx.html +++ b/html/subx/051test.subx.html @@ -117,14 +117,14 @@ if ('onhashchange' in window) { <span id="L58" class="LineNr">58 </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="L59" class="LineNr">59 </span> <span class="subxS1Comment"># . _write(2/stderr, Newline)</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='051test.subx.html#L81'>Newline</a></span>/imm32 +<span id="L61" class="LineNr">61 </span> 68/push <span class="SpecialChar"><a href='051test.subx.html#L83'>Newline</a></span>/imm32 <span id="L62" class="LineNr">62 </span> 68/push 2/imm32/stderr <span id="L63" class="LineNr">63 </span> <span class="subxS2Comment"># . . call</span> <span id="L64" class="LineNr">64 </span> e8/call <a href='050_write.subx.html#L14'>_write</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 class="subxComment"># increment Num-test-failures</span> -<span id="L68" class="LineNr">68 </span> ff 0/subop/increment 0/mod/indirect 5/rm32/.disp32 <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="SpecialChar"><a href='051test.subx.html#L87'>Num-test-failures</a></span>/disp32 <span class="subxComment"># increment *Num-test-failures</span> +<span id="L68" class="LineNr">68 </span> ff 0/subop/increment 0/mod/indirect 5/rm32/.disp32 <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="SpecialChar"><a href='051test.subx.html#L90'>Num-test-failures</a></span>/disp32 <span class="subxComment"># increment *Num-test-failures</span> <span id="L69" class="LineNr">69 </span><span class="Constant">$check-ints-equal:end</span>: <span id="L70" class="LineNr">70 </span> <span class="subxS1Comment"># . restore registers</span> <span id="L71" class="LineNr">71 </span> 5b/pop-to-EBX @@ -137,16 +137,19 @@ if ('onhashchange' in window) { <span id="L78" class="LineNr">78 </span> <span id="L79" class="LineNr">79 </span>== data <span id="L80" class="LineNr">80 </span> -<span id="L81" class="LineNr">81 </span><span class="SpecialChar"><a href='051test.subx.html#L81'>Newline</a></span>: -<span id="L82" class="LineNr">82 </span> <span class="subxComment"># size</span> -<span id="L83" class="LineNr">83 </span> 01 00 00 00 -<span id="L84" class="LineNr">84 </span> <span class="subxComment"># data</span> -<span id="L85" class="LineNr">85 </span> 0a/newline -<span id="L86" class="LineNr">86 </span> -<span id="L87" class="LineNr">87 </span><span class="SpecialChar"><a href='051test.subx.html#L87'>Num-test-failures</a></span>: -<span id="L88" class="LineNr">88 </span> 00 00 00 00 -<span id="L89" class="LineNr">89 </span> -<span id="L90" class="LineNr">90 </span><span class="subxS2Comment"># . . vim:nowrap:textwidth=0</span> +<span id="L81" class="LineNr">81 </span><span class="subxComment"># length-prefixed string containing just a single newline</span> +<span id="L82" class="LineNr">82 </span><span class="subxComment"># convenient to have when printing messages and so on</span> +<span id="L83" class="LineNr">83 </span><span class="SpecialChar"><a href='051test.subx.html#L83'>Newline</a></span>: +<span id="L84" class="LineNr">84 </span> <span class="subxComment"># size</span> +<span id="L85" class="LineNr">85 </span> 01 00 00 00 +<span id="L86" class="LineNr">86 </span> <span class="subxComment"># data</span> +<span id="L87" class="LineNr">87 </span> 0a/newline +<span id="L88" class="LineNr">88 </span> +<span id="L89" class="LineNr">89 </span><span class="subxComment"># every test failure increments this counter</span> +<span id="L90" class="LineNr">90 </span><span class="SpecialChar"><a href='051test.subx.html#L90'>Num-test-failures</a></span>: +<span id="L91" class="LineNr">91 </span> 00 00 00 00 +<span id="L92" class="LineNr">92 </span> +<span id="L93" class="LineNr">93 </span><span class="subxS2Comment"># . . vim:nowrap:textwidth=0</span> </pre> </body> </html> diff --git a/subx/051test.subx b/subx/051test.subx index e0b91d17..08d1d6f6 100644 --- a/subx/051test.subx +++ b/subx/051test.subx @@ -78,12 +78,15 @@ $check-ints-equal:end: == data +# length-prefixed string containing just a single newline +# convenient to have when printing messages and so on Newline: # size 01 00 00 00 # data 0a/newline +# every test failure increments this counter Num-test-failures: 00 00 00 00 |