diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-01-16 18:31:12 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-01-16 18:31:12 -0800 |
commit | 6070c23e5e1c60d3bb169e43bddfa59b1d322427 (patch) | |
tree | 9a70e378c33c15e4779cf94abda8f37c35a5d1da /html/apps/hex.subx.html | |
parent | 5a6601aba973ba1d1ef30b7b64438c25623b89c5 (diff) | |
download | mu-6070c23e5e1c60d3bb169e43bddfa59b1d322427.tar.gz |
5897 - rename comparison instructions
Signed and unsigned don't quite capture the essence of what the different combinations of x86 flags are doing for SubX. The crucial distinction is that one set of comparison operators is for integers and the second is for addresses.
Diffstat (limited to 'html/apps/hex.subx.html')
-rw-r--r-- | html/apps/hex.subx.html | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/html/apps/hex.subx.html b/html/apps/hex.subx.html index b52d4284..1ea0f352 100644 --- a/html/apps/hex.subx.html +++ b/html/apps/hex.subx.html @@ -95,7 +95,7 @@ if ('onhashchange' in window) { <span id="L34" class="LineNr"> 34 </span> <span class="subxH1Comment"># - if argc > 1 and argv[1] == "test", then return run_tests()</span> <span id="L35" class="LineNr"> 35 </span> <span class="subxComment"># if (argc <= 1) goto interactive</span> <span id="L36" class="LineNr"> 36 </span> 81 7/subop/compare 1/mod/*+disp8 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/disp8 1/imm32 <span class="subxComment"># compare *ebp</span> -<span id="L37" class="LineNr"> 37 </span> 7e/jump-if-lesser-or-equal $subx-hex-main:interactive/disp8 +<span id="L37" class="LineNr"> 37 </span> 7e/jump-if-<= $subx-hex-main:interactive/disp8 <span id="L38" class="LineNr"> 38 </span> <span class="subxComment"># if (!kernel-string-equal?(argv[1], "test")) goto interactive</span> <span id="L39" class="LineNr"> 39 </span> <span class="subxS1Comment"># . eax = kernel-string-equal?(argv[1], "test")</span> <span id="L40" class="LineNr"> 40 </span> <span class="subxS2Comment"># . . push args</span> @@ -107,7 +107,7 @@ if ('onhashchange' in window) { <span id="L46" class="LineNr"> 46 </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="L47" class="LineNr"> 47 </span> <span class="subxS1Comment"># . if (eax == false) goto interactive</span> <span id="L48" class="LineNr"> 48 </span> 3d/compare-eax-and 0/imm32/false -<span id="L49" class="LineNr"> 49 </span> 74/jump-if-equal $subx-hex-main:interactive/disp8 +<span id="L49" class="LineNr"> 49 </span> 74/jump-if-= $subx-hex-main:interactive/disp8 <span id="L50" class="LineNr"> 50 </span> <span class="subxComment"># run-tests()</span> <span id="L51" class="LineNr"> 51 </span> e8/call run-tests/disp32 <span id="L52" class="LineNr"> 52 </span> <span class="subxComment"># syscall(exit, *Num-test-failures)</span> @@ -163,7 +163,7 @@ if ('onhashchange' in window) { <span id="L102" class="LineNr"> 102 </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="L103" class="LineNr"> 103 </span> <span class="subxComment"># if (eax == Eof) break</span> <span id="L104" class="LineNr"> 104 </span> 3d/compare-eax-and 0xffffffff/imm32/Eof -<span id="L105" class="LineNr"> 105 </span> 74/jump-if-equal $subx-hex:loop-end/disp8 +<span id="L105" class="LineNr"> 105 </span> 74/jump-if-= $subx-hex:loop-end/disp8 <span id="L106" class="LineNr"> 106 </span> <span class="subxComment"># write-byte-buffered(out, AL)</span> <span id="L107" class="LineNr"> 107 </span> <span class="subxS2Comment"># . . push args</span> <span id="L108" class="LineNr"> 108 </span> 50/push-eax @@ -223,7 +223,7 @@ if ('onhashchange' in window) { <span id="L162" class="LineNr"> 162 </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="L163" class="LineNr"> 163 </span> <span class="subxComment"># if (eax == Eof) return</span> <span id="L164" class="LineNr"> 164 </span> 3d/compare-eax-and 0xffffffff/imm32/Eof -<span id="L165" class="LineNr"> 165 </span> 74/jump-if-equal $convert-next-octet:end/disp8 +<span id="L165" class="LineNr"> 165 </span> 74/jump-if-= $convert-next-octet:end/disp8 <span id="L166" class="LineNr"> 166 </span> <span class="subxComment"># eax = from-hex-char(eax)</span> <span id="L167" class="LineNr"> 167 </span> e8/call <a href='../067parse-hex.subx.html#L803'>from-hex-char</a>/disp32 <span id="L168" class="LineNr"> 168 </span> <span class="subxComment"># ecx = eax</span> @@ -239,7 +239,7 @@ if ('onhashchange' in window) { <span id="L178" class="LineNr"> 178 </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="L179" class="LineNr"> 179 </span> <span class="subxComment"># if (eax == Eof) error(ed, err, "partial byte found.")</span> <span id="L180" class="LineNr"> 180 </span> 3d/compare-eax-and 0xffffffff/imm32/Eof -<span id="L181" class="LineNr"> 181 </span> 75/jump-if-not-equal $convert-next-octet:convert/disp8 +<span id="L181" class="LineNr"> 181 </span> 75/jump-if-!= $convert-next-octet:convert/disp8 <span id="L182" class="LineNr"> 182 </span> <span class="subxS1Comment"># . error-byte(ed, err, msg, '.') # reusing error-byte to avoid creating _yet_ another helper</span> <span id="L183" class="LineNr"> 183 </span> <span class="subxS2Comment"># . . push args</span> <span id="L184" class="LineNr"> 184 </span> 68/push 0x2e/imm32/period/dummy @@ -345,7 +345,7 @@ if ('onhashchange' in window) { <span id="L284" class="LineNr"> 284 </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="L285" class="LineNr"> 285 </span> <span class="subxComment"># return if abort</span> <span id="L286" class="LineNr"> 286 </span> 81 7/subop/compare 1/mod/*+disp8 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/disp8 0/imm32 <span class="subxComment"># compare *(ecx+4)</span> -<span id="L287" class="LineNr"> 287 </span> 75/jump-if-not-equal $test-convert-next-octet:end/disp8 +<span id="L287" class="LineNr"> 287 </span> 75/jump-if-!= $test-convert-next-octet:end/disp8 <span id="L288" class="LineNr"> 288 </span> <span class="subxComment"># check-ints-equal(eax, 0xab, msg)</span> <span id="L289" class="LineNr"> 289 </span> <span class="subxS2Comment"># . . push args</span> <span id="L290" class="LineNr"> 290 </span> 68/push <span class="Constant">"F - test-convert-next-octet"</span>/imm32 @@ -435,7 +435,7 @@ if ('onhashchange' in window) { <span id="L374" class="LineNr"> 374 </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="L375" class="LineNr"> 375 </span> <span class="subxComment"># return if abort</span> <span id="L376" class="LineNr"> 376 </span> 81 7/subop/compare 1/mod/*+disp8 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/disp8 0/imm32 <span class="subxComment"># compare *(ecx+4)</span> -<span id="L377" class="LineNr"> 377 </span> 75/jump-if-not-equal $test-convert-next-octet-handles-Eof:end/disp8 +<span id="L377" class="LineNr"> 377 </span> 75/jump-if-!= $test-convert-next-octet-handles-Eof:end/disp8 <span id="L378" class="LineNr"> 378 </span> <span class="subxComment"># check-ints-equal(eax, Eof, msg)</span> <span id="L379" class="LineNr"> 379 </span> <span class="subxS2Comment"># . . push args</span> <span id="L380" class="LineNr"> 380 </span> 68/push <span class="Constant">"F - test-convert-next-octet-handles-Eof"</span>/imm32 @@ -566,7 +566,7 @@ if ('onhashchange' in window) { <span id="L505" class="LineNr"> 505 </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="L506" class="LineNr"> 506 </span> <span class="subxComment"># if (eax == Eof) return eax</span> <span id="L507" class="LineNr"> 507 </span> 3d/compare-with-eax 0xffffffff/imm32/Eof -<span id="L508" class="LineNr"> 508 </span> 74/jump-if-equal $scan-next-byte:end/disp8 +<span id="L508" class="LineNr"> 508 </span> 74/jump-if-= $scan-next-byte:end/disp8 <span id="L509" class="LineNr"> 509 </span> <span class="subxComment"># if (is-hex-digit?(eax)) return eax</span> <span id="L510" class="LineNr"> 510 </span> <span class="subxS1Comment"># . save eax for now</span> <span id="L511" class="LineNr"> 511 </span> 50/push-eax @@ -582,21 +582,21 @@ if ('onhashchange' in window) { <span id="L521" class="LineNr"> 521 </span> <span class="subxS1Comment"># . restore eax (does not affect flags)</span> <span id="L522" class="LineNr"> 522 </span> 58/pop-to-eax <span id="L523" class="LineNr"> 523 </span> <span class="subxS1Comment"># . check whether to return</span> -<span id="L524" class="LineNr"> 524 </span> 75/jump-if-not-equal $scan-next-byte:end/disp8 +<span id="L524" class="LineNr"> 524 </span> 75/jump-if-!= $scan-next-byte:end/disp8 <span id="L525" class="LineNr"> 525 </span><span class="Constant">$scan-next-byte:check1</span>: <span id="L526" class="LineNr"> 526 </span> <span class="subxComment"># if (eax == ' ') continue</span> <span id="L527" class="LineNr"> 527 </span> 3d/compare-eax-and 0x20/imm32/space -<span id="L528" class="LineNr"> 528 </span> 74/jump-if-equal $scan-next-byte:<span class="Constant">loop</span>/disp8 +<span id="L528" class="LineNr"> 528 </span> 74/jump-if-= $scan-next-byte:<span class="Constant">loop</span>/disp8 <span id="L529" class="LineNr"> 529 </span> <span class="subxComment"># if (eax == '\t') continue</span> <span id="L530" class="LineNr"> 530 </span> 3d/compare-eax-and 9/imm32/tab -<span id="L531" class="LineNr"> 531 </span> 74/jump-if-equal $scan-next-byte:<span class="Constant">loop</span>/disp8 +<span id="L531" class="LineNr"> 531 </span> 74/jump-if-= $scan-next-byte:<span class="Constant">loop</span>/disp8 <span id="L532" class="LineNr"> 532 </span> <span class="subxComment"># if (eax == '\n') continue</span> <span id="L533" class="LineNr"> 533 </span> 3d/compare-eax-and 0xa/imm32/newline -<span id="L534" class="LineNr"> 534 </span> 74/jump-if-equal $scan-next-byte:<span class="Constant">loop</span>/disp8 +<span id="L534" class="LineNr"> 534 </span> 74/jump-if-= $scan-next-byte:<span class="Constant">loop</span>/disp8 <span id="L535" class="LineNr"> 535 </span><span class="Constant">$scan-next-byte:check2</span>: <span id="L536" class="LineNr"> 536 </span> <span class="subxComment"># if (eax == '#') skip-until-newline(in)</span> <span id="L537" class="LineNr"> 537 </span> 3d/compare-with-eax 0x23/imm32 -<span id="L538" class="LineNr"> 538 </span> 75/jump-if-not-equal $scan-next-byte:check3/disp8 +<span id="L538" class="LineNr"> 538 </span> 75/jump-if-!= $scan-next-byte:check3/disp8 <span id="L539" class="LineNr"> 539 </span> <span class="subxS1Comment"># . skip-until-newline(in)</span> <span id="L540" class="LineNr"> 540 </span> <span class="subxS2Comment"># . . push args</span> <span id="L541" class="LineNr"> 541 </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> @@ -702,7 +702,7 @@ if ('onhashchange' in window) { <span id="L641" class="LineNr"> 641 </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="L642" class="LineNr"> 642 </span> <span class="subxComment"># return if abort</span> <span id="L643" class="LineNr"> 643 </span> 81 7/subop/compare 1/mod/*+disp8 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/disp8 0/imm32 <span class="subxComment"># compare *(ecx+4)</span> -<span id="L644" class="LineNr"> 644 </span> 75/jump-if-not-equal $test-scan-next-byte:end/disp8 +<span id="L644" class="LineNr"> 644 </span> 75/jump-if-!= $test-scan-next-byte:end/disp8 <span id="L645" class="LineNr"> 645 </span> <span class="subxComment"># check-ints-equal(eax, 0x61/a, msg)</span> <span id="L646" class="LineNr"> 646 </span> <span class="subxS2Comment"># . . push args</span> <span id="L647" class="LineNr"> 647 </span> 68/push <span class="Constant">"F - test-scan-next-byte"</span>/imm32 @@ -800,7 +800,7 @@ if ('onhashchange' in window) { <span id="L739" class="LineNr"> 739 </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="L740" class="LineNr"> 740 </span> <span class="subxComment"># return if abort</span> <span id="L741" class="LineNr"> 741 </span> 81 7/subop/compare 1/mod/*+disp8 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/disp8 0/imm32 <span class="subxComment"># compare *(ecx+4)</span> -<span id="L742" class="LineNr"> 742 </span> 75/jump-if-not-equal $test-scan-next-byte-skips-whitespace:end/disp8 +<span id="L742" class="LineNr"> 742 </span> 75/jump-if-!= $test-scan-next-byte-skips-whitespace:end/disp8 <span id="L743" class="LineNr"> 743 </span> <span class="subxComment"># check-ints-equal(eax, 0x61/a, msg)</span> <span id="L744" class="LineNr"> 744 </span> <span class="subxS2Comment"># . . push args</span> <span id="L745" class="LineNr"> 745 </span> 68/push <span class="Constant">"F - test-scan-next-byte-skips-whitespace"</span>/imm32 @@ -906,7 +906,7 @@ if ('onhashchange' in window) { <span id="L845" class="LineNr"> 845 </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="L846" class="LineNr"> 846 </span> <span class="subxComment"># return if abort</span> <span id="L847" class="LineNr"> 847 </span> 81 7/subop/compare 1/mod/*+disp8 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/disp8 0/imm32 <span class="subxComment"># compare *(ecx+4)</span> -<span id="L848" class="LineNr"> 848 </span> 75/jump-if-not-equal $test-scan-next-byte-skips-comment:end/disp8 +<span id="L848" class="LineNr"> 848 </span> 75/jump-if-!= $test-scan-next-byte-skips-comment:end/disp8 <span id="L849" class="LineNr"> 849 </span> <span class="subxComment"># check-ints-equal(eax, 0x61/a, msg)</span> <span id="L850" class="LineNr"> 850 </span> <span class="subxS2Comment"># . . push args</span> <span id="L851" class="LineNr"> 851 </span> 68/push <span class="Constant">"F - test-scan-next-byte-skips-comment"</span>/imm32 @@ -1012,7 +1012,7 @@ if ('onhashchange' in window) { <span id="L951" class="LineNr"> 951 </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="L952" class="LineNr"> 952 </span> <span class="subxComment"># return if abort</span> <span id="L953" class="LineNr"> 953 </span> 81 7/subop/compare 1/mod/*+disp8 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/disp8 0/imm32 <span class="subxComment"># compare *(ecx+4)</span> -<span id="L954" class="LineNr"> 954 </span> 75/jump-if-not-equal $test-scan-next-byte-skips-comment-and-whitespace:end/disp8 +<span id="L954" class="LineNr"> 954 </span> 75/jump-if-!= $test-scan-next-byte-skips-comment-and-whitespace:end/disp8 <span id="L955" class="LineNr"> 955 </span> <span class="subxComment"># check-ints-equal(eax, 0x61/a, msg)</span> <span id="L956" class="LineNr"> 956 </span> <span class="subxS2Comment"># . . push args</span> <span id="L957" class="LineNr"> 957 </span> 68/push <span class="Constant">"F - test-scan-next-byte-skips-comment-and-whitespace"</span>/imm32 @@ -1120,7 +1120,7 @@ if ('onhashchange' in window) { <span id="L1059" class="LineNr">1059 </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="L1060" class="LineNr">1060 </span> <span class="subxComment"># return if abort</span> <span id="L1061" class="LineNr">1061 </span> 81 7/subop/compare 1/mod/*+disp8 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/disp8 0/imm32 <span class="subxComment"># compare *(ecx+4)</span> -<span id="L1062" class="LineNr">1062 </span> 75/jump-if-not-equal $test-scan-next-byte-skips-whitespace-and-comment:end/disp8 +<span id="L1062" class="LineNr">1062 </span> 75/jump-if-!= $test-scan-next-byte-skips-whitespace-and-comment:end/disp8 <span id="L1063" class="LineNr">1063 </span> <span class="subxComment"># check-ints-equal(eax, 0x61/a, msg)</span> <span id="L1064" class="LineNr">1064 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1065" class="LineNr">1065 </span> 68/push <span class="Constant">"F - test-scan-next-byte-skips-whitespace-and-comment"</span>/imm32 @@ -1218,7 +1218,7 @@ if ('onhashchange' in window) { <span id="L1157" class="LineNr">1157 </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="L1158" class="LineNr">1158 </span> <span class="subxComment"># return if abort</span> <span id="L1159" class="LineNr">1159 </span> 81 7/subop/compare 1/mod/*+disp8 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/disp8 0/imm32 <span class="subxComment"># compare *(ecx+4)</span> -<span id="L1160" class="LineNr">1160 </span> 75/jump-if-not-equal $test-scan-next-byte-reads-final-byte:end/disp8 +<span id="L1160" class="LineNr">1160 </span> 75/jump-if-!= $test-scan-next-byte-reads-final-byte:end/disp8 <span id="L1161" class="LineNr">1161 </span> <span class="subxComment"># check-ints-equal(eax, 0x61/a, msg)</span> <span id="L1162" class="LineNr">1162 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1163" class="LineNr">1163 </span> 68/push <span class="Constant">"F - test-scan-next-byte-reads-final-byte"</span>/imm32 @@ -1308,7 +1308,7 @@ if ('onhashchange' in window) { <span id="L1247" class="LineNr">1247 </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="L1248" class="LineNr">1248 </span> <span class="subxComment"># return if abort</span> <span id="L1249" class="LineNr">1249 </span> 81 7/subop/compare 1/mod/*+disp8 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/disp8 0/imm32 <span class="subxComment"># compare *(ecx+4)</span> -<span id="L1250" class="LineNr">1250 </span> 75/jump-if-not-equal $test-scan-next-byte-handles-Eof:end/disp8 +<span id="L1250" class="LineNr">1250 </span> 75/jump-if-!= $test-scan-next-byte-handles-Eof:end/disp8 <span id="L1251" class="LineNr">1251 </span> <span class="subxComment"># check-ints-equal(eax, Eof, msg)</span> <span id="L1252" class="LineNr">1252 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1253" class="LineNr">1253 </span> 68/push <span class="Constant">"F - test-scan-next-byte-handles-Eof"</span>/imm32 @@ -1434,10 +1434,10 @@ if ('onhashchange' in window) { <span id="L1373" class="LineNr">1373 </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="L1374" class="LineNr">1374 </span> <span class="subxS1Comment"># . if (eax == Eof) break</span> <span id="L1375" class="LineNr">1375 </span> 3d/compare-eax-and 0xffffffff/imm32/Eof -<span id="L1376" class="LineNr">1376 </span> 74/jump-if-equal $skip-until-newline:end/disp8 +<span id="L1376" class="LineNr">1376 </span> 74/jump-if-= $skip-until-newline:end/disp8 <span id="L1377" class="LineNr">1377 </span> <span class="subxS1Comment"># . if (eax != 0xa/newline) loop</span> <span id="L1378" class="LineNr">1378 </span> 3d/compare-eax-and 0xa/imm32/newline -<span id="L1379" class="LineNr">1379 </span> 75/jump-if-not-equal $skip-until-newline:<span class="Constant">loop</span>/disp8 +<span id="L1379" class="LineNr">1379 </span> 75/jump-if-!= $skip-until-newline:<span class="Constant">loop</span>/disp8 <span id="L1380" class="LineNr">1380 </span><span class="Constant">$skip-until-newline:end</span>: <span id="L1381" class="LineNr">1381 </span> <span class="subxS1Comment"># . restore registers</span> <span id="L1382" class="LineNr">1382 </span> 58/pop-to-eax |