diff options
Diffstat (limited to 'html/apps/ex11.subx.html')
-rw-r--r-- | html/apps/ex11.subx.html | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/html/apps/ex11.subx.html b/html/apps/ex11.subx.html index 47c0b289..28fa18f0 100644 --- a/html/apps/ex11.subx.html +++ b/html/apps/ex11.subx.html @@ -2,7 +2,7 @@ <html> <head> <meta http-equiv="content-type" content="text/html; charset=UTF-8"> -<title>Mu - examples/ex11.subx</title> +<title>Mu - apps/ex11.subx</title> <meta name="Generator" content="Vim/8.1"> <meta name="plugin-version" content="vim8.1_v1"> <meta name="syntax" content="none"> @@ -58,7 +58,7 @@ if ('onhashchange' in window) { </script> </head> <body onload='JumpToLine();'> -<a href='https://github.com/akkartik/mu/blob/master/examples/ex11.subx'>https://github.com/akkartik/mu/blob/master/examples/ex11.subx</a> +<a href='https://github.com/akkartik/mu/blob/master/apps/ex11.subx'>https://github.com/akkartik/mu/blob/master/apps/ex11.subx</a> <pre id='vimCodeElement'> <span id="L1" class="LineNr"> 1 </span><span class="subxComment"># Null-terminated vs length-prefixed ascii strings.</span> <span id="L2" class="LineNr"> 2 </span><span class="subxComment">#</span> @@ -181,9 +181,9 @@ if ('onhashchange' in window) { <span id="L119" class="LineNr">119 </span> <span class="subxComment"># eax = kernel-string-equal?(Null-kernel-string, "")</span> <span id="L120" class="LineNr">120 </span> <span class="subxS2Comment"># . . push args</span> <span id="L121" class="LineNr">121 </span> 68/push <span class="Constant">""</span>/imm32 -<span id="L122" class="LineNr">122 </span> 68/push <span class="SpecialChar"><a href='ex11.subx.html#L349'>Null-kernel-string</a></span>/imm32 +<span id="L122" class="LineNr">122 </span> 68/push <span class="SpecialChar">Null-kernel-string</span>/imm32 <span id="L123" class="LineNr">123 </span> <span class="subxS2Comment"># . . call</span> -<span id="L124" class="LineNr">124 </span> e8/call <a href='ex11.subx.html#L30'>kernel-string-equal?</a>/disp32 +<span id="L124" class="LineNr">124 </span> e8/call kernel-string-equal?/disp32 <span id="L125" class="LineNr">125 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L126" class="LineNr">126 </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="L127" class="LineNr">127 </span> <span class="subxComment"># check-ints-equal(eax, 1, msg)</span> @@ -192,7 +192,7 @@ if ('onhashchange' in window) { <span id="L130" class="LineNr">130 </span> 68/push 1/imm32/true <span id="L131" class="LineNr">131 </span> 50/push-eax <span id="L132" class="LineNr">132 </span> <span class="subxS2Comment"># . . call</span> -<span id="L133" class="LineNr">133 </span> e8/call <a href='ex11.subx.html#L261'>check-ints-equal</a>/disp32 +<span id="L133" class="LineNr">133 </span> e8/call check-ints-equal/disp32 <span id="L134" class="LineNr">134 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L135" class="LineNr">135 </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="L136" class="LineNr">136 </span> c3/return @@ -201,9 +201,9 @@ if ('onhashchange' in window) { <span id="L139" class="LineNr">139 </span> <span class="subxComment"># eax = kernel-string-equal?(Null-kernel-string, "Abc")</span> <span id="L140" class="LineNr">140 </span> <span class="subxS2Comment"># . . push args</span> <span id="L141" class="LineNr">141 </span> 68/push <span class="Constant">"Abc"</span>/imm32 -<span id="L142" class="LineNr">142 </span> 68/push <span class="SpecialChar"><a href='ex11.subx.html#L349'>Null-kernel-string</a></span>/imm32 +<span id="L142" class="LineNr">142 </span> 68/push <span class="SpecialChar">Null-kernel-string</span>/imm32 <span id="L143" class="LineNr">143 </span> <span class="subxS2Comment"># . . call</span> -<span id="L144" class="LineNr">144 </span> e8/call <a href='ex11.subx.html#L30'>kernel-string-equal?</a>/disp32 +<span id="L144" class="LineNr">144 </span> e8/call kernel-string-equal?/disp32 <span id="L145" class="LineNr">145 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L146" class="LineNr">146 </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="L147" class="LineNr">147 </span> <span class="subxComment"># check-ints-equal(eax, 0, msg)</span> @@ -212,7 +212,7 @@ if ('onhashchange' in window) { <span id="L150" class="LineNr">150 </span> 68/push 0/imm32/false <span id="L151" class="LineNr">151 </span> 50/push-eax <span id="L152" class="LineNr">152 </span> <span class="subxS2Comment"># . . call</span> -<span id="L153" class="LineNr">153 </span> e8/call <a href='ex11.subx.html#L261'>check-ints-equal</a>/disp32 +<span id="L153" class="LineNr">153 </span> e8/call check-ints-equal/disp32 <span id="L154" class="LineNr">154 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L155" class="LineNr">155 </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="L156" class="LineNr">156 </span> c3/return @@ -221,9 +221,9 @@ if ('onhashchange' in window) { <span id="L159" class="LineNr">159 </span> <span class="subxComment"># eax = kernel-string-equal?(_test-Abc-kernel-string, "Abc")</span> <span id="L160" class="LineNr">160 </span> <span class="subxS2Comment"># . . push args</span> <span id="L161" class="LineNr">161 </span> 68/push <span class="Constant">"Abc"</span>/imm32 -<span id="L162" class="LineNr">162 </span> 68/push <a href='ex11.subx.html#L352'>_test-Abc-kernel-string</a>/imm32 +<span id="L162" class="LineNr">162 </span> 68/push _test-Abc-kernel-string/imm32 <span id="L163" class="LineNr">163 </span> <span class="subxS2Comment"># . . call</span> -<span id="L164" class="LineNr">164 </span> e8/call <a href='ex11.subx.html#L30'>kernel-string-equal?</a>/disp32 +<span id="L164" class="LineNr">164 </span> e8/call kernel-string-equal?/disp32 <span id="L165" class="LineNr">165 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L166" class="LineNr">166 </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="L167" class="LineNr">167 </span> <span class="subxComment"># check-ints-equal(eax, 1, msg)</span> @@ -232,7 +232,7 @@ if ('onhashchange' in window) { <span id="L170" class="LineNr">170 </span> 68/push 1/imm32/true <span id="L171" class="LineNr">171 </span> 50/push-eax <span id="L172" class="LineNr">172 </span> <span class="subxS2Comment"># . . call</span> -<span id="L173" class="LineNr">173 </span> e8/call <a href='ex11.subx.html#L261'>check-ints-equal</a>/disp32 +<span id="L173" class="LineNr">173 </span> e8/call check-ints-equal/disp32 <span id="L174" class="LineNr">174 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L175" class="LineNr">175 </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="L176" class="LineNr">176 </span> c3/return @@ -241,9 +241,9 @@ if ('onhashchange' in window) { <span id="L179" class="LineNr">179 </span> <span class="subxComment"># eax = kernel-string-equal?(_test-Abc-kernel-string, "Adc")</span> <span id="L180" class="LineNr">180 </span> <span class="subxS2Comment"># . . push args</span> <span id="L181" class="LineNr">181 </span> 68/push <span class="Constant">"Adc"</span>/imm32 -<span id="L182" class="LineNr">182 </span> 68/push <a href='ex11.subx.html#L352'>_test-Abc-kernel-string</a>/imm32 +<span id="L182" class="LineNr">182 </span> 68/push _test-Abc-kernel-string/imm32 <span id="L183" class="LineNr">183 </span> <span class="subxS2Comment"># . . call</span> -<span id="L184" class="LineNr">184 </span> e8/call <a href='ex11.subx.html#L30'>kernel-string-equal?</a>/disp32 +<span id="L184" class="LineNr">184 </span> e8/call kernel-string-equal?/disp32 <span id="L185" class="LineNr">185 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L186" class="LineNr">186 </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="L187" class="LineNr">187 </span> <span class="subxComment"># check-ints-equal(eax, 0, msg)</span> @@ -252,7 +252,7 @@ if ('onhashchange' in window) { <span id="L190" class="LineNr">190 </span> 68/push 0/imm32/false <span id="L191" class="LineNr">191 </span> 50/push-eax <span id="L192" class="LineNr">192 </span> <span class="subxS2Comment"># . . call</span> -<span id="L193" class="LineNr">193 </span> e8/call <a href='ex11.subx.html#L261'>check-ints-equal</a>/disp32 +<span id="L193" class="LineNr">193 </span> e8/call check-ints-equal/disp32 <span id="L194" class="LineNr">194 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L195" class="LineNr">195 </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="L196" class="LineNr">196 </span> c3/return @@ -261,9 +261,9 @@ if ('onhashchange' in window) { <span id="L199" class="LineNr">199 </span> <span class="subxComment"># eax = kernel-string-equal?(_test-Abc-kernel-string, "")</span> <span id="L200" class="LineNr">200 </span> <span class="subxS2Comment"># . . push args</span> <span id="L201" class="LineNr">201 </span> 68/push <span class="Constant">""</span>/imm32 -<span id="L202" class="LineNr">202 </span> 68/push <a href='ex11.subx.html#L352'>_test-Abc-kernel-string</a>/imm32 +<span id="L202" class="LineNr">202 </span> 68/push _test-Abc-kernel-string/imm32 <span id="L203" class="LineNr">203 </span> <span class="subxS2Comment"># . . call</span> -<span id="L204" class="LineNr">204 </span> e8/call <a href='ex11.subx.html#L30'>kernel-string-equal?</a>/disp32 +<span id="L204" class="LineNr">204 </span> e8/call kernel-string-equal?/disp32 <span id="L205" class="LineNr">205 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L206" class="LineNr">206 </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="L207" class="LineNr">207 </span> <span class="subxComment"># check-ints-equal(eax, 0, msg)</span> @@ -272,7 +272,7 @@ if ('onhashchange' in window) { <span id="L210" class="LineNr">210 </span> 68/push 0/imm32/false <span id="L211" class="LineNr">211 </span> 50/push-eax <span id="L212" class="LineNr">212 </span> <span class="subxS2Comment"># . . call</span> -<span id="L213" class="LineNr">213 </span> e8/call <a href='ex11.subx.html#L261'>check-ints-equal</a>/disp32 +<span id="L213" class="LineNr">213 </span> e8/call check-ints-equal/disp32 <span id="L214" class="LineNr">214 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L215" class="LineNr">215 </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="L216" class="LineNr">216 </span> c3/return @@ -281,9 +281,9 @@ if ('onhashchange' in window) { <span id="L219" class="LineNr">219 </span> <span class="subxComment"># eax = kernel-string-equal?(_test-Abc-kernel-string, "Ab")</span> <span id="L220" class="LineNr">220 </span> <span class="subxS2Comment"># . . push args</span> <span id="L221" class="LineNr">221 </span> 68/push <span class="Constant">"Ab"</span>/imm32 -<span id="L222" class="LineNr">222 </span> 68/push <a href='ex11.subx.html#L352'>_test-Abc-kernel-string</a>/imm32 +<span id="L222" class="LineNr">222 </span> 68/push _test-Abc-kernel-string/imm32 <span id="L223" class="LineNr">223 </span> <span class="subxS2Comment"># . . call</span> -<span id="L224" class="LineNr">224 </span> e8/call <a href='ex11.subx.html#L30'>kernel-string-equal?</a>/disp32 +<span id="L224" class="LineNr">224 </span> e8/call kernel-string-equal?/disp32 <span id="L225" class="LineNr">225 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L226" class="LineNr">226 </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="L227" class="LineNr">227 </span> <span class="subxComment"># check-ints-equal(eax, 0, msg)</span> @@ -292,7 +292,7 @@ if ('onhashchange' in window) { <span id="L230" class="LineNr">230 </span> 68/push 0/imm32/false <span id="L231" class="LineNr">231 </span> 50/push-eax <span id="L232" class="LineNr">232 </span> <span class="subxS2Comment"># . . call</span> -<span id="L233" class="LineNr">233 </span> e8/call <a href='ex11.subx.html#L261'>check-ints-equal</a>/disp32 +<span id="L233" class="LineNr">233 </span> e8/call check-ints-equal/disp32 <span id="L234" class="LineNr">234 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L235" class="LineNr">235 </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="L236" class="LineNr">236 </span> c3/return @@ -301,9 +301,9 @@ if ('onhashchange' in window) { <span id="L239" class="LineNr">239 </span> <span class="subxComment"># eax = kernel-string-equal?(_test-Abc-kernel-string, "Abcd")</span> <span id="L240" class="LineNr">240 </span> <span class="subxS2Comment"># . . push args</span> <span id="L241" class="LineNr">241 </span> 68/push <span class="Constant">"Abcd"</span>/imm32 -<span id="L242" class="LineNr">242 </span> 68/push <a href='ex11.subx.html#L352'>_test-Abc-kernel-string</a>/imm32 +<span id="L242" class="LineNr">242 </span> 68/push _test-Abc-kernel-string/imm32 <span id="L243" class="LineNr">243 </span> <span class="subxS2Comment"># . . call</span> -<span id="L244" class="LineNr">244 </span> e8/call <a href='ex11.subx.html#L30'>kernel-string-equal?</a>/disp32 +<span id="L244" class="LineNr">244 </span> e8/call kernel-string-equal?/disp32 <span id="L245" class="LineNr">245 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L246" class="LineNr">246 </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="L247" class="LineNr">247 </span> <span class="subxComment"># check-ints-equal(eax, 0, msg)</span> @@ -312,7 +312,7 @@ if ('onhashchange' in window) { <span id="L250" class="LineNr">250 </span> 68/push 0/imm32/false <span id="L251" class="LineNr">251 </span> 50/push-eax <span id="L252" class="LineNr">252 </span> <span class="subxS2Comment"># . . call</span> -<span id="L253" class="LineNr">253 </span> e8/call <a href='ex11.subx.html#L261'>check-ints-equal</a>/disp32 +<span id="L253" class="LineNr">253 </span> e8/call check-ints-equal/disp32 <span id="L254" class="LineNr">254 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L255" class="LineNr">255 </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="L256" class="LineNr">256 </span> c3/return @@ -355,7 +355,7 @@ if ('onhashchange' in window) { <span id="L293" class="LineNr">293 </span> 81 0/subop/add 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/imm32 <span class="subxComment"># add to esp</span> <span id="L294" class="LineNr">294 </span> <span class="subxComment"># print newline</span> <span id="L295" class="LineNr">295 </span> <span class="subxS2Comment"># . . push args</span> -<span id="L296" class="LineNr">296 </span> 68/push <span class="SpecialChar"><a href='ex11.subx.html#L342'>Newline</a></span>/imm32 +<span id="L296" class="LineNr">296 </span> 68/push <span class="SpecialChar">Newline</span>/imm32 <span id="L297" class="LineNr">297 </span> <span class="subxS2Comment"># . . call</span> <span id="L298" class="LineNr">298 </span> e8/call <a href='ex11.subx.html#L310'>write-stderr</a>/disp32 <span id="L299" class="LineNr">299 </span> <span class="subxS2Comment"># . . discard args</span> |