about summary refs log tree commit diff stats
path: root/html/subx/examples/ex11.subx.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2018-11-30 20:01:41 -0800
committerKartik Agaram <vc@akkartik.com>2018-11-30 20:01:41 -0800
commitc6f522007de6f96e79d52ae9db2e23333c318c8f (patch)
tree545d6db816273a4099c45bc854728e2e13421449 /html/subx/examples/ex11.subx.html
parent87c606ee062077f51c37e819e458ddf9a6ef8bc9 (diff)
downloadmu-c6f522007de6f96e79d52ae9db2e23333c318c8f.tar.gz
4811
Diffstat (limited to 'html/subx/examples/ex11.subx.html')
-rw-r--r--html/subx/examples/ex11.subx.html40
1 files changed, 20 insertions, 20 deletions
diff --git a/html/subx/examples/ex11.subx.html b/html/subx/examples/ex11.subx.html
index d4460ce5..56377403 100644
--- a/html/subx/examples/ex11.subx.html
+++ b/html/subx/examples/ex11.subx.html
@@ -176,14 +176,14 @@ if ('onhashchange' in window) {
 <span id="L114" class="LineNr">114 </span>    <span class="subxComment"># EAX = kernel-string-equal(Null-kernel-string, &quot;&quot;)</span>
 <span id="L115" class="LineNr">115 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L116" class="LineNr">116 </span>    68/push  <span class="Constant">&quot;&quot;</span>/imm32
-<span id="L117" class="LineNr">117 </span>    68/push <span class="SpecialChar"> Null-kernel-string</span>/imm32
+<span id="L117" class="LineNr">117 </span>    68/push  <span class="SpecialChar">Null-kernel-string</span>/imm32
 <span id="L118" class="LineNr">118 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L119" class="LineNr">119 </span>    e8/call  kernel-string-equal/disp32
 <span id="L120" class="LineNr">120 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L121" class="LineNr">121 </span>    81          0/subop/add         3/mod/direct    4/rm32/ESP   <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>              8/imm32           <span class="subxComment"># add to ESP</span>
 <span id="L122" class="LineNr">122 </span>    <span class="subxComment"># check-ints-equal(EAX, 1, msg)</span>
 <span id="L123" class="LineNr">123 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L124" class="LineNr">124 </span>    68/push  <span class="SpecialChar">&quot;F</span> - test-compare-null-kernel-string-with-empty-array&quot;/imm32
+<span id="L124" class="LineNr">124 </span>    68/push  <span class="Constant">&quot;F - test-compare-null-kernel-string-with-empty-array&quot;</span>/imm32
 <span id="L125" class="LineNr">125 </span>    68/push  1/imm32/true
 <span id="L126" class="LineNr">126 </span>    50/push-EAX
 <span id="L127" class="LineNr">127 </span>    <span class="subxS2Comment"># . . call</span>
@@ -195,15 +195,15 @@ if ('onhashchange' in window) {
 <span id="L133" class="LineNr">133 </span>test-compare-null-kernel-string-with-non-empty-array:
 <span id="L134" class="LineNr">134 </span>    <span class="subxComment"># EAX = kernel-string-equal(Null-kernel-string, &quot;Abc&quot;)</span>
 <span id="L135" class="LineNr">135 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L136" class="LineNr">136 </span>    68/push  <span class="SpecialChar">&quot;Abc</span>&quot;/imm32
-<span id="L137" class="LineNr">137 </span>    68/push <span class="SpecialChar"> Null-kernel-string</span>/imm32
+<span id="L136" class="LineNr">136 </span>    68/push  <span class="Constant">&quot;Abc&quot;</span>/imm32
+<span id="L137" class="LineNr">137 </span>    68/push  <span class="SpecialChar">Null-kernel-string</span>/imm32
 <span id="L138" class="LineNr">138 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L139" class="LineNr">139 </span>    e8/call  kernel-string-equal/disp32
 <span id="L140" class="LineNr">140 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L141" class="LineNr">141 </span>    81          0/subop/add         3/mod/direct    4/rm32/ESP   <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>              8/imm32           <span class="subxComment"># add to ESP</span>
 <span id="L142" class="LineNr">142 </span>    <span class="subxComment"># check-ints-equal(EAX, 0, msg)</span>
 <span id="L143" class="LineNr">143 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L144" class="LineNr">144 </span>    68/push  <span class="SpecialChar">&quot;F</span> - test-compare-null-kernel-string-with-non-empty-array&quot;/imm32
+<span id="L144" class="LineNr">144 </span>    68/push  <span class="Constant">&quot;F - test-compare-null-kernel-string-with-non-empty-array&quot;</span>/imm32
 <span id="L145" class="LineNr">145 </span>    68/push  0/imm32/false
 <span id="L146" class="LineNr">146 </span>    50/push-EAX
 <span id="L147" class="LineNr">147 </span>    <span class="subxS2Comment"># . . call</span>
@@ -215,15 +215,15 @@ if ('onhashchange' in window) {
 <span id="L153" class="LineNr">153 </span>test-compare-kernel-string-with-equal-array:
 <span id="L154" class="LineNr">154 </span>    <span class="subxComment"># EAX = kernel-string-equal(Abc-kernel-string, &quot;Abc&quot;)</span>
 <span id="L155" class="LineNr">155 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L156" class="LineNr">156 </span>    68/push  <span class="SpecialChar">&quot;Abc</span>&quot;/imm32
-<span id="L157" class="LineNr">157 </span>    68/push <span class="SpecialChar"> Abc-kernel-string</span>/imm32
+<span id="L156" class="LineNr">156 </span>    68/push  <span class="Constant">&quot;Abc&quot;</span>/imm32
+<span id="L157" class="LineNr">157 </span>    68/push  <span class="SpecialChar">Abc-kernel-string</span>/imm32
 <span id="L158" class="LineNr">158 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L159" class="LineNr">159 </span>    e8/call  kernel-string-equal/disp32
 <span id="L160" class="LineNr">160 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L161" class="LineNr">161 </span>    81          0/subop/add         3/mod/direct    4/rm32/ESP   <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>              8/imm32           <span class="subxComment"># add to ESP</span>
 <span id="L162" class="LineNr">162 </span>    <span class="subxComment"># check-ints-equal(EAX, 1, msg)</span>
 <span id="L163" class="LineNr">163 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L164" class="LineNr">164 </span>    68/push  <span class="SpecialChar">&quot;F</span> - test-compare-kernel-string-with-equal-array&quot;/imm32
+<span id="L164" class="LineNr">164 </span>    68/push  <span class="Constant">&quot;F - test-compare-kernel-string-with-equal-array&quot;</span>/imm32
 <span id="L165" class="LineNr">165 </span>    68/push  1/imm32/true
 <span id="L166" class="LineNr">166 </span>    50/push-EAX
 <span id="L167" class="LineNr">167 </span>    <span class="subxS2Comment"># . . call</span>
@@ -235,15 +235,15 @@ if ('onhashchange' in window) {
 <span id="L173" class="LineNr">173 </span>test-compare-kernel-string-with-inequal-array:
 <span id="L174" class="LineNr">174 </span>    <span class="subxComment"># EAX = kernel-string-equal(Abc-kernel-string, &quot;Adc&quot;)</span>
 <span id="L175" class="LineNr">175 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L176" class="LineNr">176 </span>    68/push  <span class="SpecialChar">&quot;Adc</span>&quot;/imm32
-<span id="L177" class="LineNr">177 </span>    68/push <span class="SpecialChar"> Abc-kernel-string</span>/imm32
+<span id="L176" class="LineNr">176 </span>    68/push  <span class="Constant">&quot;Adc&quot;</span>/imm32
+<span id="L177" class="LineNr">177 </span>    68/push  <span class="SpecialChar">Abc-kernel-string</span>/imm32
 <span id="L178" class="LineNr">178 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L179" class="LineNr">179 </span>    e8/call  kernel-string-equal/disp32
 <span id="L180" class="LineNr">180 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L181" class="LineNr">181 </span>    81          0/subop/add         3/mod/direct    4/rm32/ESP   <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>              8/imm32           <span class="subxComment"># add to ESP</span>
 <span id="L182" class="LineNr">182 </span>    <span class="subxComment"># check-ints-equal(EAX, 0, msg)</span>
 <span id="L183" class="LineNr">183 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L184" class="LineNr">184 </span>    68/push  <span class="SpecialChar">&quot;F</span> - test-compare-kernel-string-with-equal-array&quot;/imm32
+<span id="L184" class="LineNr">184 </span>    68/push  <span class="Constant">&quot;F - test-compare-kernel-string-with-equal-array&quot;</span>/imm32
 <span id="L185" class="LineNr">185 </span>    68/push  0/imm32/false
 <span id="L186" class="LineNr">186 </span>    50/push-EAX
 <span id="L187" class="LineNr">187 </span>    <span class="subxS2Comment"># . . call</span>
@@ -256,14 +256,14 @@ if ('onhashchange' in window) {
 <span id="L194" class="LineNr">194 </span>    <span class="subxComment"># EAX = kernel-string-equal(Abc-kernel-string, &quot;&quot;)</span>
 <span id="L195" class="LineNr">195 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L196" class="LineNr">196 </span>    68/push  <span class="Constant">&quot;&quot;</span>/imm32
-<span id="L197" class="LineNr">197 </span>    68/push <span class="SpecialChar"> Abc-kernel-string</span>/imm32
+<span id="L197" class="LineNr">197 </span>    68/push  <span class="SpecialChar">Abc-kernel-string</span>/imm32
 <span id="L198" class="LineNr">198 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L199" class="LineNr">199 </span>    e8/call  kernel-string-equal/disp32
 <span id="L200" class="LineNr">200 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L201" class="LineNr">201 </span>    81          0/subop/add         3/mod/direct    4/rm32/ESP   <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>              8/imm32           <span class="subxComment"># add to ESP</span>
 <span id="L202" class="LineNr">202 </span>    <span class="subxComment"># check-ints-equal(EAX, 0)</span>
 <span id="L203" class="LineNr">203 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L204" class="LineNr">204 </span>    68/push  <span class="SpecialChar">&quot;F</span> - test-compare-kernel-string-with-equal-array&quot;/imm32
+<span id="L204" class="LineNr">204 </span>    68/push  <span class="Constant">&quot;F - test-compare-kernel-string-with-equal-array&quot;</span>/imm32
 <span id="L205" class="LineNr">205 </span>    68/push  0/imm32/false
 <span id="L206" class="LineNr">206 </span>    50/push-EAX
 <span id="L207" class="LineNr">207 </span>    <span class="subxS2Comment"># . . call</span>
@@ -275,15 +275,15 @@ if ('onhashchange' in window) {
 <span id="L213" class="LineNr">213 </span>test-compare-kernel-string-with-shorter-array:
 <span id="L214" class="LineNr">214 </span>    <span class="subxComment"># EAX = kernel-string-equal(Abc-kernel-string, &quot;Ab&quot;)</span>
 <span id="L215" class="LineNr">215 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L216" class="LineNr">216 </span>    68/push  <span class="SpecialChar">&quot;Ab</span>&quot;/imm32
-<span id="L217" class="LineNr">217 </span>    68/push <span class="SpecialChar"> Abc-kernel-string</span>/imm32
+<span id="L216" class="LineNr">216 </span>    68/push  <span class="Constant">&quot;Ab&quot;</span>/imm32
+<span id="L217" class="LineNr">217 </span>    68/push  <span class="SpecialChar">Abc-kernel-string</span>/imm32
 <span id="L218" class="LineNr">218 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L219" class="LineNr">219 </span>    e8/call  kernel-string-equal/disp32
 <span id="L220" class="LineNr">220 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L221" class="LineNr">221 </span>    81          0/subop/add         3/mod/direct    4/rm32/ESP   <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>              8/imm32           <span class="subxComment"># add to ESP</span>
 <span id="L222" class="LineNr">222 </span>    <span class="subxComment"># check-ints-equal(EAX, 0)</span>
 <span id="L223" class="LineNr">223 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L224" class="LineNr">224 </span>    68/push  <span class="SpecialChar">&quot;F</span> - test-compare-kernel-string-with-shorter-array&quot;/imm32
+<span id="L224" class="LineNr">224 </span>    68/push  <span class="Constant">&quot;F - test-compare-kernel-string-with-shorter-array&quot;</span>/imm32
 <span id="L225" class="LineNr">225 </span>    68/push  0/imm32/false
 <span id="L226" class="LineNr">226 </span>    50/push-EAX
 <span id="L227" class="LineNr">227 </span>    <span class="subxS2Comment"># . . call</span>
@@ -295,15 +295,15 @@ if ('onhashchange' in window) {
 <span id="L233" class="LineNr">233 </span>test-compare-kernel-string-with-longer-array:
 <span id="L234" class="LineNr">234 </span>    <span class="subxComment"># EAX = kernel-string-equal(Abc-kernel-string, &quot;Abcd&quot;)</span>
 <span id="L235" class="LineNr">235 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L236" class="LineNr">236 </span>    68/push  <span class="SpecialChar">&quot;Abcd</span>&quot;/imm32
-<span id="L237" class="LineNr">237 </span>    68/push <span class="SpecialChar"> Abc-kernel-string</span>/imm32
+<span id="L236" class="LineNr">236 </span>    68/push  <span class="Constant">&quot;Abcd&quot;</span>/imm32
+<span id="L237" class="LineNr">237 </span>    68/push  <span class="SpecialChar">Abc-kernel-string</span>/imm32
 <span id="L238" class="LineNr">238 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L239" class="LineNr">239 </span>    e8/call  kernel-string-equal/disp32
 <span id="L240" class="LineNr">240 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L241" class="LineNr">241 </span>    81          0/subop/add         3/mod/direct    4/rm32/ESP   <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>              8/imm32           <span class="subxComment"># add to ESP</span>
 <span id="L242" class="LineNr">242 </span>    <span class="subxComment"># check-ints-equal(EAX, 0)</span>
 <span id="L243" class="LineNr">243 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L244" class="LineNr">244 </span>    68/push  <span class="SpecialChar">&quot;F</span> - test-compare-kernel-string-with-longer-array&quot;/imm32
+<span id="L244" class="LineNr">244 </span>    68/push  <span class="Constant">&quot;F - test-compare-kernel-string-with-longer-array&quot;</span>/imm32
 <span id="L245" class="LineNr">245 </span>    68/push  0/imm32/false
 <span id="L246" class="LineNr">246 </span>    50/push-EAX
 <span id="L247" class="LineNr">247 </span>    <span class="subxS2Comment"># . . call</span>
@@ -350,7 +350,7 @@ if ('onhashchange' in window) {
 <span id="L288" class="LineNr">288 </span>    81          0/subop/add         3/mod/direct    4/rm32/ESP   <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>         <span class="CommentedCode"> . </span>              4/imm32           <span class="subxComment"># add to ESP</span>
 <span id="L289" class="LineNr">289 </span>    <span class="subxComment"># print newline</span>
 <span id="L290" class="LineNr">290 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L291" class="LineNr">291 </span>    68/push <span class="SpecialChar"> Newline</span>/imm32
+<span id="L291" class="LineNr">291 </span>    68/push  <span class="SpecialChar">Newline</span>/imm32
 <span id="L292" class="LineNr">292 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L293" class="LineNr">293 </span>    e8/call  write-stderr/disp32
 <span id="L294" class="LineNr">294 </span>    <span class="subxS2Comment"># . . discard args</span>