diff options
Diffstat (limited to 'html/apps/tests.subx.html')
-rw-r--r-- | html/apps/tests.subx.html | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/html/apps/tests.subx.html b/html/apps/tests.subx.html index 06295ccd..3c9c8237 100644 --- a/html/apps/tests.subx.html +++ b/html/apps/tests.subx.html @@ -100,11 +100,11 @@ if ('onhashchange' in window) { <span id="L40" class="LineNr"> 40 </span> 68/push <span class="Constant">"test"</span>/imm32 <span id="L41" class="LineNr"> 41 </span> ff 6/subop/push 1/mod/*+disp8 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 8/disp8 <span class="Normal"> . </span> <span class="subxComment"># push *(ebp+8)</span> <span id="L42" class="LineNr"> 42 </span> <span class="subxS2Comment"># . . call</span> -<span id="L43" class="LineNr"> 43 </span> e8/call <a href='../052kernel-string-equal.subx.html#L31'>kernel-string-equal?</a>/disp32 +<span id="L43" class="LineNr"> 43 </span> e8/call <a href='../052kernel-string-equal.subx.html#L33'>kernel-string-equal?</a>/disp32 <span id="L44" class="LineNr"> 44 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L45" class="LineNr"> 45 </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="L46" class="LineNr"> 46 </span> <span class="subxS1Comment"># . if (eax == 0) goto run-main</span> -<span id="L47" class="LineNr"> 47 </span> 3d/compare-eax-and 0/imm32 +<span id="L46" class="LineNr"> 46 </span> <span class="subxS1Comment"># . if (eax == false) goto run-main</span> +<span id="L47" class="LineNr"> 47 </span> 3d/compare-eax-and 0/imm32/false <span id="L48" class="LineNr"> 48 </span> 74/jump-if-equal $subx-tests-main:interactive/disp8 <span id="L49" class="LineNr"> 49 </span> <span class="subxComment"># run-tests()</span> <span id="L50" class="LineNr"> 50 </span> e8/call run-tests/disp32 @@ -161,13 +161,13 @@ if ('onhashchange' in window) { <span id="L101" class="LineNr">101 </span> 52/push-edx <span id="L102" class="LineNr">102 </span> 53/push-ebx <span id="L103" class="LineNr">103 </span> 57/push-edi -<span id="L104" class="LineNr">104 </span> <span class="subxComment"># var line/ecx : (address stream byte) = stream(512)</span> +<span id="L104" class="LineNr">104 </span> <span class="subxComment"># var line/ecx : (ref stream byte 512)</span> <span id="L105" class="LineNr">105 </span> 81 5/subop/subtract 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> 0x200/imm32 <span class="subxComment"># subtract from esp</span> <span id="L106" class="LineNr">106 </span> 68/push 0x200/imm32/length <span id="L107" class="LineNr">107 </span> 68/push 0/imm32/read <span id="L108" class="LineNr">108 </span> 68/push 0/imm32/write <span id="L109" class="LineNr">109 </span> 89/copy 3/mod/direct 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ecx</span> -<span id="L110" class="LineNr">110 </span> <span class="subxComment"># var word-slice/edx = {0, 0}</span> +<span id="L110" class="LineNr">110 </span> <span class="subxComment"># var word-slice/edx : (ref slice)</span> <span id="L111" class="LineNr">111 </span> 68/push 0/imm32/end <span id="L112" class="LineNr">112 </span> 68/push 0/imm32/start <span id="L113" class="LineNr">113 </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> @@ -235,11 +235,11 @@ if ('onhashchange' in window) { <span id="L175" class="LineNr">175 </span> <span class="subxS2Comment"># . . push args</span> <span id="L176" class="LineNr">176 </span> 52/push-edx <span id="L177" class="LineNr">177 </span> <span class="subxS2Comment"># . . call</span> -<span id="L178" class="LineNr">178 </span> e8/call <a href='../077subx-words.subx.html#L542'>is-label?</a>/disp32 +<span id="L178" class="LineNr">178 </span> e8/call <a href='../077subx-words.subx.html#L535'>is-label?</a>/disp32 <span id="L179" class="LineNr">179 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L180" class="LineNr">180 </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="L181" class="LineNr">181 </span> <span class="subxS1Comment"># . if (eax == 0) continue</span> -<span id="L182" class="LineNr">182 </span> 3d/compare-eax-and 0/imm32 +<span id="L181" class="LineNr">181 </span> <span class="subxS1Comment"># . if (eax == false) continue</span> +<span id="L182" class="LineNr">182 </span> 3d/compare-eax-and 0/imm32/false <span id="L183" class="LineNr">183 </span> 74/jump-if-equal $subx-gen-run-tests:continue/disp8 <span id="L184" class="LineNr">184 </span><span class="Constant">$subx-gen-run-tests:check-label-prefix</span>: <span id="L185" class="LineNr">185 </span> <span class="subxComment"># strip trailing ':' from word-slice</span> @@ -249,11 +249,11 @@ if ('onhashchange' in window) { <span id="L189" class="LineNr">189 </span> 68/push <span class="Constant">"test-"</span>/imm32 <span id="L190" class="LineNr">190 </span> 52/push-edx <span id="L191" class="LineNr">191 </span> <span class="subxS2Comment"># . . call</span> -<span id="L192" class="LineNr">192 </span> e8/call <a href='../072slice.subx.html#L457'>slice-starts-with?</a>/disp32 +<span id="L192" class="LineNr">192 </span> e8/call <a href='../072slice.subx.html#L458'>slice-starts-with?</a>/disp32 <span id="L193" class="LineNr">193 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L194" class="LineNr">194 </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="L195" class="LineNr">195 </span> <span class="subxS1Comment"># . if (eax == 0) break</span> -<span id="L196" class="LineNr">196 </span> 3d/compare-eax-and 0/imm32 +<span id="L195" class="LineNr">195 </span> <span class="subxS1Comment"># . if (eax == false) break</span> +<span id="L196" class="LineNr">196 </span> 3d/compare-eax-and 0/imm32/false <span id="L197" class="LineNr">197 </span> 74/jump-if-equal $subx-gen-run-tests:continue/disp8 <span id="L198" class="LineNr">198 </span><span class="Constant">$subx-gen-run-tests:call-test-function</span>: <span id="L199" class="LineNr">199 </span> <span class="subxComment"># tests-found? = true</span> @@ -271,7 +271,7 @@ if ('onhashchange' in window) { <span id="L211" class="LineNr">211 </span> 52/push-edx <span id="L212" class="LineNr">212 </span> 57/push-edi <span id="L213" class="LineNr">213 </span> <span class="subxS2Comment"># . . call</span> -<span id="L214" class="LineNr">214 </span> e8/call <a href='../072slice.subx.html#L762'>write-slice</a>/disp32 +<span id="L214" class="LineNr">214 </span> e8/call <a href='../072slice.subx.html#L764'>write-slice</a>/disp32 <span id="L215" class="LineNr">215 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L216" class="LineNr">216 </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="L217" class="LineNr">217 </span> <span class="subxComment"># write(new-code-segment, "/disp32\n")</span> @@ -302,7 +302,7 @@ if ('onhashchange' in window) { <span id="L242" class="LineNr">242 </span> e9/jump $subx-gen-run-tests:<span class="Constant">loop</span>/disp32 <span id="L243" class="LineNr">243 </span><span class="Constant">$subx-gen-run-tests:break</span>: <span id="L244" class="LineNr">244 </span> <span class="subxComment"># if (!tests-found?) goto end</span> -<span id="L245" class="LineNr">245 </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="L245" class="LineNr">245 </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/false <span class="subxComment"># compare ebx</span> <span id="L246" class="LineNr">246 </span> 74/jump-if-equal $subx-gen-run-tests:end/disp8 <span id="L247" class="LineNr">247 </span> <span class="subxComment"># write(new-code-segment, " c3/return\n")</span> <span id="L248" class="LineNr">248 </span> <span class="subxS2Comment"># . . push args</span> |