diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-11-30 14:17:13 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-11-30 14:18:36 -0800 |
commit | f25f2e98f9a35a275b5dc31ea80cbbb26fe88c92 (patch) | |
tree | 9b3fe1d8e174655a1dd810d84ab407c7f7e1e59d /html/054string-equal.subx.html | |
parent | eb6e4a13390ed7013bcd2c08f9661c1d6baaf955 (diff) | |
download | mu-f25f2e98f9a35a275b5dc31ea80cbbb26fe88c92.tar.gz |
5786
Diffstat (limited to 'html/054string-equal.subx.html')
-rw-r--r-- | html/054string-equal.subx.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/html/054string-equal.subx.html b/html/054string-equal.subx.html index 07054197..b58ac7a7 100644 --- a/html/054string-equal.subx.html +++ b/html/054string-equal.subx.html @@ -237,7 +237,7 @@ if ('onhashchange' in window) { <span id="L175" class="LineNr">175 </span> c3/return <span id="L176" class="LineNr">176 </span> <span id="L177" class="LineNr">177 </span><span class="subxComment"># helper for later tests</span> -<span id="L178" class="LineNr">178 </span><span class="subxFunction">check-string-equal</span>: <span class="subxComment"># s : (address string), expected : (address string), msg : (address string)</span> +<span id="L178" class="LineNr">178 </span><span class="subxFunction">check-strings-equal</span>: <span class="subxComment"># s : (address string), expected : (address string), msg : (address string)</span> <span id="L179" class="LineNr">179 </span> <span class="subxS1Comment"># . prologue</span> <span id="L180" class="LineNr">180 </span> 55/push-ebp <span id="L181" class="LineNr">181 </span> 89/copy 3/mod/direct 5/rm32/ebp <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 ebp</span> @@ -260,7 +260,7 @@ if ('onhashchange' in window) { <span id="L198" class="LineNr">198 </span> e8/call <a href='051test.subx.html#L24'>check-ints-equal</a>/disp32 <span id="L199" class="LineNr">199 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L200" class="LineNr">200 </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="L201" class="LineNr">201 </span><span class="Constant">$check-string-equal:end</span>: +<span id="L201" class="LineNr">201 </span><span class="Constant">$check-strings-equal:end</span>: <span id="L202" class="LineNr">202 </span> <span class="subxS1Comment"># . restore registers</span> <span id="L203" class="LineNr">203 </span> 58/pop-to-eax <span id="L204" class="LineNr">204 </span> <span class="subxS1Comment"># . epilogue</span> @@ -269,18 +269,18 @@ if ('onhashchange' in window) { <span id="L207" class="LineNr">207 </span> c3/return <span id="L208" class="LineNr">208 </span> <span id="L209" class="LineNr">209 </span><span class="subxComment"># test the helper</span> -<span id="L210" class="LineNr">210 </span><span class="subxTest">test-check-string-equal</span>: -<span id="L211" class="LineNr">211 </span> <span class="subxComment"># check-string-equal?("Abc", "Abc")</span> +<span id="L210" class="LineNr">210 </span><span class="subxTest">test-check-strings-equal</span>: +<span id="L211" class="LineNr">211 </span> <span class="subxComment"># check-strings-equal?("Abc", "Abc")</span> <span id="L212" class="LineNr">212 </span> <span class="subxS2Comment"># . . push args</span> <span id="L213" class="LineNr">213 </span> 68/push <span class="Constant">"Abc"</span>/imm32 <span id="L214" class="LineNr">214 </span> 68/push <span class="Constant">"Abc"</span>/imm32 <span id="L215" class="LineNr">215 </span> <span class="subxS2Comment"># . . call</span> -<span id="L216" class="LineNr">216 </span> e8/call <a href='054string-equal.subx.html#L178'>check-string-equal</a>/disp32 +<span id="L216" class="LineNr">216 </span> e8/call <a href='054string-equal.subx.html#L178'>check-strings-equal</a>/disp32 <span id="L217" class="LineNr">217 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L218" class="LineNr">218 </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="L219" class="LineNr">219 </span> <span class="subxComment"># check-ints-equal(eax, 1, msg)</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">"F - test-check-string-equal"</span>/imm32 +<span id="L221" class="LineNr">221 </span> 68/push <span class="Constant">"F - test-check-strings-equal"</span>/imm32 <span id="L222" class="LineNr">222 </span> 68/push 0/imm32/false <span id="L223" class="LineNr">223 </span> 50/push-eax <span id="L224" class="LineNr">224 </span> <span class="subxS2Comment"># . . call</span> |