about summary refs log tree commit diff stats
path: root/html/subx/052kernel_string_equal.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/052kernel_string_equal.subx.html
parent87c606ee062077f51c37e819e458ddf9a6ef8bc9 (diff)
downloadmu-c6f522007de6f96e79d52ae9db2e23333c318c8f.tar.gz
4811
Diffstat (limited to 'html/subx/052kernel_string_equal.subx.html')
-rw-r--r--html/subx/052kernel_string_equal.subx.html40
1 files changed, 20 insertions, 20 deletions
diff --git a/html/subx/052kernel_string_equal.subx.html b/html/subx/052kernel_string_equal.subx.html
index 48efe02d..ae0840b8 100644
--- a/html/subx/052kernel_string_equal.subx.html
+++ b/html/subx/052kernel_string_equal.subx.html
@@ -84,7 +84,7 @@ if ('onhashchange' in window) {
 <span id="L22" class="LineNr"> 22 </span><span class="subxComment"># main:</span>
 <span id="L23" class="LineNr"> 23 </span>    e8/call  run-tests/disp32  <span class="subxComment"># 'run-tests' is a function created automatically by SubX. It calls all functions that start with 'test-'.</span>
 <span id="L24" class="LineNr"> 24 </span>    <span class="subxComment"># syscall(exit, Num-test-failures)</span>
-<span id="L25" class="LineNr"> 25 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>          3/r32/EBX  <span class="SpecialChar"> Num-test-failures</span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
+<span id="L25" class="LineNr"> 25 </span>    8b/copy                         0/mod/indirect  5/rm32/.disp32           <span class="CommentedCode"> . </span>           <span class="CommentedCode"> . </span>          3/r32/EBX   <span class="SpecialChar">Num-test-failures</span>/disp32          <span class="subxComment"># copy *Num-test-failures to EBX</span>
 <span id="L26" class="LineNr"> 26 </span>    b8/copy-to-EAX  1/imm32
 <span id="L27" class="LineNr"> 27 </span>    cd/syscall  0x80/imm8
 <span id="L28" class="LineNr"> 28 </span>
@@ -177,14 +177,14 @@ if ('onhashchange' in window) {
 <span id="L115" class="LineNr">115 </span>    <span class="subxComment"># EAX = kernel-string-equal(Null-kernel-string, &quot;&quot;)</span>
 <span id="L116" class="LineNr">116 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L117" class="LineNr">117 </span>    68/push  <span class="Constant">&quot;&quot;</span>/imm32
-<span id="L118" class="LineNr">118 </span>    68/push <span class="SpecialChar"> Null-kernel-string</span>/imm32
+<span id="L118" class="LineNr">118 </span>    68/push  <span class="SpecialChar">Null-kernel-string</span>/imm32
 <span id="L119" class="LineNr">119 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L120" class="LineNr">120 </span>    e8/call  kernel-string-equal/disp32
 <span id="L121" class="LineNr">121 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L122" class="LineNr">122 </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="L123" class="LineNr">123 </span>    <span class="subxComment"># check-ints-equal(EAX, 1, msg)</span>
 <span id="L124" class="LineNr">124 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L125" class="LineNr">125 </span>    68/push  <span class="SpecialChar">&quot;F</span> - test-compare-null-kernel-string-with-empty-array&quot;/imm32
+<span id="L125" class="LineNr">125 </span>    68/push  <span class="Constant">&quot;F - test-compare-null-kernel-string-with-empty-array&quot;</span>/imm32
 <span id="L126" class="LineNr">126 </span>    68/push  1/imm32/true
 <span id="L127" class="LineNr">127 </span>    50/push-EAX
 <span id="L128" class="LineNr">128 </span>    <span class="subxS2Comment"># . . call</span>
@@ -196,15 +196,15 @@ if ('onhashchange' in window) {
 <span id="L134" class="LineNr">134 </span>test-compare-null-kernel-string-with-non-empty-array:
 <span id="L135" class="LineNr">135 </span>    <span class="subxComment"># EAX = kernel-string-equal(Null-kernel-string, &quot;Abc&quot;)</span>
 <span id="L136" class="LineNr">136 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L137" class="LineNr">137 </span>    68/push  <span class="SpecialChar">&quot;Abc</span>&quot;/imm32
-<span id="L138" class="LineNr">138 </span>    68/push <span class="SpecialChar"> Null-kernel-string</span>/imm32
+<span id="L137" class="LineNr">137 </span>    68/push  <span class="Constant">&quot;Abc&quot;</span>/imm32
+<span id="L138" class="LineNr">138 </span>    68/push  <span class="SpecialChar">Null-kernel-string</span>/imm32
 <span id="L139" class="LineNr">139 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L140" class="LineNr">140 </span>    e8/call  kernel-string-equal/disp32
 <span id="L141" class="LineNr">141 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L142" class="LineNr">142 </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="L143" class="LineNr">143 </span>    <span class="subxComment"># check-ints-equal(EAX, 0, msg)</span>
 <span id="L144" class="LineNr">144 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L145" class="LineNr">145 </span>    68/push  <span class="SpecialChar">&quot;F</span> - test-compare-null-kernel-string-with-non-empty-array&quot;/imm32
+<span id="L145" class="LineNr">145 </span>    68/push  <span class="Constant">&quot;F - test-compare-null-kernel-string-with-non-empty-array&quot;</span>/imm32
 <span id="L146" class="LineNr">146 </span>    68/push  0/imm32/false
 <span id="L147" class="LineNr">147 </span>    50/push-EAX
 <span id="L148" class="LineNr">148 </span>    <span class="subxS2Comment"># . . call</span>
@@ -216,15 +216,15 @@ if ('onhashchange' in window) {
 <span id="L154" class="LineNr">154 </span>test-compare-kernel-string-with-equal-array:
 <span id="L155" class="LineNr">155 </span>    <span class="subxComment"># EAX = kernel-string-equal(Abc-kernel-string, &quot;Abc&quot;)</span>
 <span id="L156" class="LineNr">156 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L157" class="LineNr">157 </span>    68/push  <span class="SpecialChar">&quot;Abc</span>&quot;/imm32
-<span id="L158" class="LineNr">158 </span>    68/push <span class="SpecialChar"> Abc-kernel-string</span>/imm32
+<span id="L157" class="LineNr">157 </span>    68/push  <span class="Constant">&quot;Abc&quot;</span>/imm32
+<span id="L158" class="LineNr">158 </span>    68/push  <span class="SpecialChar">Abc-kernel-string</span>/imm32
 <span id="L159" class="LineNr">159 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L160" class="LineNr">160 </span>    e8/call  kernel-string-equal/disp32
 <span id="L161" class="LineNr">161 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L162" class="LineNr">162 </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="L163" class="LineNr">163 </span>    <span class="subxComment"># check-ints-equal(EAX, 1, msg)</span>
 <span id="L164" class="LineNr">164 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L165" class="LineNr">165 </span>    68/push  <span class="SpecialChar">&quot;F</span> - test-compare-kernel-string-with-equal-array&quot;/imm32
+<span id="L165" class="LineNr">165 </span>    68/push  <span class="Constant">&quot;F - test-compare-kernel-string-with-equal-array&quot;</span>/imm32
 <span id="L166" class="LineNr">166 </span>    68/push  1/imm32/true
 <span id="L167" class="LineNr">167 </span>    50/push-EAX
 <span id="L168" class="LineNr">168 </span>    <span class="subxS2Comment"># . . call</span>
@@ -236,15 +236,15 @@ if ('onhashchange' in window) {
 <span id="L174" class="LineNr">174 </span>test-compare-kernel-string-with-inequal-array:
 <span id="L175" class="LineNr">175 </span>    <span class="subxComment"># EAX = kernel-string-equal(Abc-kernel-string, &quot;Adc&quot;)</span>
 <span id="L176" class="LineNr">176 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L177" class="LineNr">177 </span>    68/push  <span class="SpecialChar">&quot;Adc</span>&quot;/imm32
-<span id="L178" class="LineNr">178 </span>    68/push <span class="SpecialChar"> Abc-kernel-string</span>/imm32
+<span id="L177" class="LineNr">177 </span>    68/push  <span class="Constant">&quot;Adc&quot;</span>/imm32
+<span id="L178" class="LineNr">178 </span>    68/push  <span class="SpecialChar">Abc-kernel-string</span>/imm32
 <span id="L179" class="LineNr">179 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L180" class="LineNr">180 </span>    e8/call  kernel-string-equal/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="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="L183" class="LineNr">183 </span>    <span class="subxComment"># check-ints-equal(EAX, 0, msg)</span>
 <span id="L184" class="LineNr">184 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L185" class="LineNr">185 </span>    68/push  <span class="SpecialChar">&quot;F</span> - test-compare-kernel-string-with-equal-array&quot;/imm32
+<span id="L185" class="LineNr">185 </span>    68/push  <span class="Constant">&quot;F - test-compare-kernel-string-with-equal-array&quot;</span>/imm32
 <span id="L186" class="LineNr">186 </span>    68/push  0/imm32/false
 <span id="L187" class="LineNr">187 </span>    50/push-EAX
 <span id="L188" class="LineNr">188 </span>    <span class="subxS2Comment"># . . call</span>
@@ -257,14 +257,14 @@ if ('onhashchange' in window) {
 <span id="L195" class="LineNr">195 </span>    <span class="subxComment"># EAX = kernel-string-equal(Abc-kernel-string, &quot;&quot;)</span>
 <span id="L196" class="LineNr">196 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L197" class="LineNr">197 </span>    68/push  <span class="Constant">&quot;&quot;</span>/imm32
-<span id="L198" class="LineNr">198 </span>    68/push <span class="SpecialChar"> Abc-kernel-string</span>/imm32
+<span id="L198" class="LineNr">198 </span>    68/push  <span class="SpecialChar">Abc-kernel-string</span>/imm32
 <span id="L199" class="LineNr">199 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L200" class="LineNr">200 </span>    e8/call  kernel-string-equal/disp32
 <span id="L201" class="LineNr">201 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L202" class="LineNr">202 </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="L203" class="LineNr">203 </span>    <span class="subxComment"># check-ints-equal(EAX, 0)</span>
 <span id="L204" class="LineNr">204 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L205" class="LineNr">205 </span>    68/push  <span class="SpecialChar">&quot;F</span> - test-compare-kernel-string-with-equal-array&quot;/imm32
+<span id="L205" class="LineNr">205 </span>    68/push  <span class="Constant">&quot;F - test-compare-kernel-string-with-equal-array&quot;</span>/imm32
 <span id="L206" class="LineNr">206 </span>    68/push  0/imm32/false
 <span id="L207" class="LineNr">207 </span>    50/push-EAX
 <span id="L208" class="LineNr">208 </span>    <span class="subxS2Comment"># . . call</span>
@@ -276,15 +276,15 @@ if ('onhashchange' in window) {
 <span id="L214" class="LineNr">214 </span>test-compare-kernel-string-with-shorter-array:
 <span id="L215" class="LineNr">215 </span>    <span class="subxComment"># EAX = kernel-string-equal(Abc-kernel-string, &quot;Ab&quot;)</span>
 <span id="L216" class="LineNr">216 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L217" class="LineNr">217 </span>    68/push  <span class="SpecialChar">&quot;Ab</span>&quot;/imm32
-<span id="L218" class="LineNr">218 </span>    68/push <span class="SpecialChar"> Abc-kernel-string</span>/imm32
+<span id="L217" class="LineNr">217 </span>    68/push  <span class="Constant">&quot;Ab&quot;</span>/imm32
+<span id="L218" class="LineNr">218 </span>    68/push  <span class="SpecialChar">Abc-kernel-string</span>/imm32
 <span id="L219" class="LineNr">219 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L220" class="LineNr">220 </span>    e8/call  kernel-string-equal/disp32
 <span id="L221" class="LineNr">221 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L222" class="LineNr">222 </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="L223" class="LineNr">223 </span>    <span class="subxComment"># check-ints-equal(EAX, 0)</span>
 <span id="L224" class="LineNr">224 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L225" class="LineNr">225 </span>    68/push  <span class="SpecialChar">&quot;F</span> - test-compare-kernel-string-with-shorter-array&quot;/imm32
+<span id="L225" class="LineNr">225 </span>    68/push  <span class="Constant">&quot;F - test-compare-kernel-string-with-shorter-array&quot;</span>/imm32
 <span id="L226" class="LineNr">226 </span>    68/push  0/imm32/false
 <span id="L227" class="LineNr">227 </span>    50/push-EAX
 <span id="L228" class="LineNr">228 </span>    <span class="subxS2Comment"># . . call</span>
@@ -296,15 +296,15 @@ if ('onhashchange' in window) {
 <span id="L234" class="LineNr">234 </span>test-compare-kernel-string-with-longer-array:
 <span id="L235" class="LineNr">235 </span>    <span class="subxComment"># EAX = kernel-string-equal(Abc-kernel-string, &quot;Abcd&quot;)</span>
 <span id="L236" class="LineNr">236 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L237" class="LineNr">237 </span>    68/push  <span class="SpecialChar">&quot;Abcd</span>&quot;/imm32
-<span id="L238" class="LineNr">238 </span>    68/push <span class="SpecialChar"> Abc-kernel-string</span>/imm32
+<span id="L237" class="LineNr">237 </span>    68/push  <span class="Constant">&quot;Abcd&quot;</span>/imm32
+<span id="L238" class="LineNr">238 </span>    68/push  <span class="SpecialChar">Abc-kernel-string</span>/imm32
 <span id="L239" class="LineNr">239 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L240" class="LineNr">240 </span>    e8/call  kernel-string-equal/disp32
 <span id="L241" class="LineNr">241 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L242" class="LineNr">242 </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="L243" class="LineNr">243 </span>    <span class="subxComment"># check-ints-equal(EAX, 0)</span>
 <span id="L244" class="LineNr">244 </span>    <span class="subxS2Comment"># . . push args</span>
-<span id="L245" class="LineNr">245 </span>    68/push  <span class="SpecialChar">&quot;F</span> - test-compare-kernel-string-with-longer-array&quot;/imm32
+<span id="L245" class="LineNr">245 </span>    68/push  <span class="Constant">&quot;F - test-compare-kernel-string-with-longer-array&quot;</span>/imm32
 <span id="L246" class="LineNr">246 </span>    68/push  0/imm32/false
 <span id="L247" class="LineNr">247 </span>    50/push-EAX
 <span id="L248" class="LineNr">248 </span>    <span class="subxS2Comment"># . . call</span>