From 52daf0722f7f4ad9d3f29e3cbbbaddde066f49f3 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Mon, 20 May 2019 01:44:06 -0700 Subject: 5211 Update syntax-highlighted renderings after a _long_ time. --- html/subx/apps/pack.subx.html | 218 +++++++++++++++++++++--------------------- 1 file changed, 109 insertions(+), 109 deletions(-) (limited to 'html/subx/apps/pack.subx.html') diff --git a/html/subx/apps/pack.subx.html b/html/subx/apps/pack.subx.html index 72fc28de..9a8758f4 100644 --- a/html/subx/apps/pack.subx.html +++ b/html/subx/apps/pack.subx.html @@ -160,7 +160,7 @@ if ('onhashchange' in window) { 96 # var in-code? = false 97 # while true 98 # clear-stream(line) - 99 # read-line(in, line) + 99 # read-line-buffered(in, line) 100 # if (line->write == 0) break # end of file 101 # var word-slice = next-word(line) 102 # if slice-empty?(word-slice) # whitespace @@ -205,12 +205,12 @@ if ('onhashchange' in window) { 141 e8/call clear-stream/disp32 142 # . . discard args 143 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP - 144 # read-line(in, line) + 144 # read-line-buffered(in, line) 145 # . . push args 146 51/push-ECX 147 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 8/disp8 . # push *(EBP+8) 148 # . . call - 149 e8/call read-line/disp32 + 149 e8/call read-line-buffered/disp32 150 # . . discard args 151 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP 152 $convert:check0: @@ -403,7 +403,7 @@ if ('onhashchange' in window) { 446 68/push ""/imm32 447 68/push _test-output-stream/imm32 448 # . . call - 449 e8/call check-stream-equal/disp32 + 449 e8/call check-stream-equal/disp32 450 # . . discard args 451 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 452 # . epilog @@ -480,7 +480,7 @@ if ('onhashchange' in window) { 523 68/push " "/imm32 524 68/push _test-output-stream/imm32 525 # . . call - 526 e8/call check-next-stream-line-equal/disp32 + 526 e8/call check-next-stream-line-equal/disp32 527 # . . discard args 528 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 529 # . epilog @@ -527,9 +527,9 @@ if ('onhashchange' in window) { 570 # . . discard args 571 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP 572 # initialize input - 573 # . write(_test-input-stream, "== abcd") + 573 # . write(_test-input-stream, "== abcd 0x1") 574 # . . push args - 575 68/push "== abcd"/imm32 + 575 68/push "== abcd 0x1"/imm32 576 68/push _test-input-stream/imm32 577 # . . call 578 e8/call write/disp32 @@ -551,13 +551,13 @@ if ('onhashchange' in window) { 594 e8/call flush/disp32 595 # . . discard args 596 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP - 597 # . check-stream-equal(_test-output-stream, "== abcd", msg) + 597 # . check-stream-equal(_test-output-stream, "== abcd 0x1", msg) 598 # . . push args 599 68/push "F - test-convert-passes-segment-headers-through"/imm32 - 600 68/push "== abcd"/imm32 + 600 68/push "== abcd 0x1"/imm32 601 68/push _test-output-stream/imm32 602 # . . call - 603 e8/call check-stream-equal/disp32 + 603 e8/call check-stream-equal/disp32 604 # . . discard args 605 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 606 # . epilog @@ -604,20 +604,20 @@ if ('onhashchange' in window) { 647 # . . discard args 648 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP 649 # initialize input - 650 # == code - 651 # == data + 650 # == code 0x1 + 651 # == data 0x2 652 # 3 4/imm32 - 653 # . write(_test-input-stream, "== code") + 653 # . write(_test-input-stream, "== code 0x1") 654 # . . push args - 655 68/push "== code\n"/imm32 + 655 68/push "== code 0x1\n"/imm32 656 68/push _test-input-stream/imm32 657 # . . call 658 e8/call write/disp32 659 # . . discard args 660 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP - 661 # . write(_test-input-stream, "== data\n") + 661 # . write(_test-input-stream, "== data 0x2\n") 662 # . . push args - 663 68/push "== data\n"/imm32 + 663 68/push "== data 0x2\n"/imm32 664 68/push _test-input-stream/imm32 665 # . . call 666 e8/call write/disp32 @@ -648,22 +648,22 @@ if ('onhashchange' in window) { 716 e8/call flush/disp32 717 # . . discard args 718 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP - 719 # . check-next-stream-line-equal(_test-output-stream, "== code", msg) + 719 # . check-next-stream-line-equal(_test-output-stream, "== code 0x1", msg) 720 # . . push args 721 68/push "F - test-convert-in-data-segment/0"/imm32 - 722 68/push "== code"/imm32 + 722 68/push "== code 0x1"/imm32 723 68/push _test-output-stream/imm32 724 # . . call - 725 e8/call check-next-stream-line-equal/disp32 + 725 e8/call check-next-stream-line-equal/disp32 726 # . . discard args 727 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP - 728 # . check-next-stream-line-equal(_test-output-stream, "== data", msg) + 728 # . check-next-stream-line-equal(_test-output-stream, "== data 0x2", msg) 729 # . . push args 730 68/push "F - test-convert-in-data-segment/1"/imm32 - 731 68/push "== data"/imm32 + 731 68/push "== data 0x2"/imm32 732 68/push _test-output-stream/imm32 733 # . . call - 734 e8/call check-next-stream-line-equal/disp32 + 734 e8/call check-next-stream-line-equal/disp32 735 # . . discard args 736 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 737 # . check-next-stream-line-equal(_test-output-stream, "03 04 00 00 00 ", msg) @@ -672,7 +672,7 @@ if ('onhashchange' in window) { 740 68/push "03 04 00 00 00 "/imm32 741 68/push _test-output-stream/imm32 742 # . . call - 743 e8/call check-next-stream-line-equal/disp32 + 743 e8/call check-next-stream-line-equal/disp32 744 # . . discard args 745 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 746 # . epilog @@ -719,14 +719,14 @@ if ('onhashchange' in window) { 787 # . . discard args 788 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP 789 # initialize input - 790 # == code + 790 # == code 0x1 791 # e8/call 20/disp32 792 # 68/push 0x20/imm8 - 793 # == data + 793 # == data 0x2 794 # 3 4/imm32 - 795 # . write(_test-input-stream, "== code\n") + 795 # . write(_test-input-stream, "== code 0x1\n") 796 # . . push args - 797 68/push "== code\n"/imm32 + 797 68/push "== code 0x1\n"/imm32 798 68/push _test-input-stream/imm32 799 # . . call 800 e8/call write/disp32 @@ -748,9 +748,9 @@ if ('onhashchange' in window) { 816 e8/call write/disp32 817 # . . discard args 818 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP - 819 # . write(_test-input-stream, "== data\n") + 819 # . write(_test-input-stream, "== data 0x2\n") 820 # . . push args - 821 68/push "== data\n"/imm32 + 821 68/push "== data 0x2\n"/imm32 822 68/push _test-input-stream/imm32 823 # . . call 824 e8/call write/disp32 @@ -773,10 +773,10 @@ if ('onhashchange' in window) { 841 # . . discard args 842 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP 843 # check output - 844 # == code + 844 # == code 0x1 845 # e8 20 00 00 00 # e8/call 20/disp32 846 # 68 20 # 68/push 0x20/imm8 - 847 # == data + 847 # == data 0x2 848 # 03 04 00 00 00 849 +-- 26 lines: #? # debug print --------------------------------------------------------------------------------------------------------------------------- 875 # . flush(_test-output-buffered-file) @@ -786,13 +786,13 @@ if ('onhashchange' in window) { 879 e8/call flush/disp32 880 # . . discard args 881 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 4/imm32 # add to ESP - 882 # . check-next-stream-line-equal(_test-output-stream, "== code", msg) + 882 # . check-next-stream-line-equal(_test-output-stream, "== code 0x1", msg) 883 # . . push args 884 68/push "F - test-convert-code-and-data-segments/0"/imm32 - 885 68/push "== code"/imm32 + 885 68/push "== code 0x1"/imm32 886 68/push _test-output-stream/imm32 887 # . . call - 888 e8/call check-next-stream-line-equal/disp32 + 888 e8/call check-next-stream-line-equal/disp32 889 # . . discard args 890 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 891 # . check-next-stream-line-equal(_test-output-stream, "e8 20 00 00 00 # e8/call 20/disp32", msg) @@ -801,7 +801,7 @@ if ('onhashchange' in window) { 894 68/push "e8 20 00 00 00 # e8/call 20/disp32"/imm32 895 68/push _test-output-stream/imm32 896 # . . call - 897 e8/call check-next-stream-line-equal/disp32 + 897 e8/call check-next-stream-line-equal/disp32 898 # . . discard args 899 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 900 # . check-next-stream-line-equal(_test-output-stream, "68 20 # 68/push 0x20/imm8", msg) @@ -810,16 +810,16 @@ if ('onhashchange' in window) { 903 68/push "68 20 # 68/push 0x20/imm8"/imm32 904 68/push _test-output-stream/imm32 905 # . . call - 906 e8/call check-next-stream-line-equal/disp32 + 906 e8/call check-next-stream-line-equal/disp32 907 # . . discard args 908 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP - 909 # . check-next-stream-line-equal(_test-output-stream, "== data", msg) + 909 # . check-next-stream-line-equal(_test-output-stream, "== data 0x2", msg) 910 # . . push args 911 68/push "F - test-convert-code-and-data-segments/3"/imm32 - 912 68/push "== data"/imm32 + 912 68/push "== data 0x2"/imm32 913 68/push _test-output-stream/imm32 914 # . . call - 915 e8/call check-next-stream-line-equal/disp32 + 915 e8/call check-next-stream-line-equal/disp32 916 # . . discard args 917 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 918 # . check-next-stream-line-equal(_test-output-stream, "03 04 00 00 00 ", msg) @@ -828,7 +828,7 @@ if ('onhashchange' in window) { 921 68/push "03 04 00 00 00 "/imm32 922 68/push _test-output-stream/imm32 923 # . . call - 924 e8/call check-next-stream-line-equal/disp32 + 924 e8/call check-next-stream-line-equal/disp32 925 # . . discard args 926 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 927 # . epilog @@ -844,7 +844,7 @@ if ('onhashchange' in window) { 937 # if slice-empty?(word-slice) # end of file (maybe including trailing whitespace) 938 # break # skip emitting some whitespace 939 # if slice-starts-with?(word-slice, "#") # comment - 940 # write-slice(out, word-slice) + 940 # write-slice-buffered(out, word-slice) 941 # break 942 # if slice-ends-with?(word-slice, ":") # label 943 # write-stream-data(out, line) @@ -900,12 +900,12 @@ if ('onhashchange' in window) { 1059 3d/compare-EAX-and 0x23/imm32/hash 1060 75/jump-if-not-equal $convert-data:check-for-label/disp8 1061 $convert-data:comment: -1062 # write-slice(out, word-slice) +1062 # write-slice-buffered(out, word-slice) 1063 # . . push args 1064 51/push-ECX 1065 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 0xc/disp8 . # push *(EBP+12) 1066 # . . call -1067 e8/call write-slice/disp32 +1067 e8/call write-slice-buffered/disp32 1068 # . . discard args 1069 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP 1070 # break @@ -1040,7 +1040,7 @@ if ('onhashchange' in window) { 1224 68/push "# abcd"/imm32 1225 68/push _test-output-stream/imm32 1226 # . . call -1227 e8/call check-stream-equal/disp32 +1227 e8/call check-stream-equal/disp32 1228 # . . discard args 1229 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 1230 # . epilog @@ -1108,7 +1108,7 @@ if ('onhashchange' in window) { 1292 68/push "ab: # cd"/imm32 1293 68/push _test-output-stream/imm32 1294 # . . call -1295 e8/call check-stream-equal/disp32 +1295 e8/call check-stream-equal/disp32 1296 # . . discard args 1297 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 1298 # . epilog @@ -1177,7 +1177,7 @@ if ('onhashchange' in window) { 1361 68/push "abcd/imm32 "/imm32 1362 68/push _test-output-stream/imm32 1363 # . . call -1364 e8/call check-stream-equal/disp32 +1364 e8/call check-stream-equal/disp32 1365 # . . discard args 1366 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 1367 # . epilog @@ -1245,7 +1245,7 @@ if ('onhashchange' in window) { 1429 68/push "30 00 00 00 "/imm32 1430 68/push _test-output-stream/imm32 1431 # . . call -1432 e8/call check-stream-equal/disp32 +1432 e8/call check-stream-equal/disp32 1433 # . . discard args 1434 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 1435 # . epilog @@ -1314,7 +1314,7 @@ if ('onhashchange' in window) { 1498 68/push "30 "/imm32 1499 68/push _test-output-stream/imm32 1500 # . . call -1501 e8/call check-stream-equal/disp32 +1501 e8/call check-stream-equal/disp32 1502 # . . discard args 1503 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 1504 # . epilog @@ -1382,7 +1382,7 @@ if ('onhashchange' in window) { 1566 68/push "01 02 "/imm32 1567 68/push _test-output-stream/imm32 1568 # . . call -1569 e8/call check-stream-equal/disp32 +1569 e8/call check-stream-equal/disp32 1570 # . . discard args 1571 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 1572 # . epilog @@ -1450,7 +1450,7 @@ if ('onhashchange' in window) { 1634 68/push "30 abcd/o "/imm32 1635 68/push _test-output-stream/imm32 1636 # . . call -1637 e8/call check-stream-equal/disp32 +1637 e8/call check-stream-equal/disp32 1638 # . . discard args 1639 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 1640 # . epilog @@ -1519,7 +1519,7 @@ if ('onhashchange' in window) { 1728 68/push "30 abcd/o e1 42 00 00 "/imm32 1729 68/push _test-output-stream/imm32 1730 # . . call -1731 e8/call check-stream-equal/disp32 +1731 e8/call check-stream-equal/disp32 1732 # . . discard args 1733 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 1734 # . epilog @@ -1588,7 +1588,7 @@ if ('onhashchange' in window) { 1822 68/push "30 00 00 00 # comment"/imm32 1823 68/push _test-output-stream/imm32 1824 # . . call -1825 e8/call check-stream-equal/disp32 +1825 e8/call check-stream-equal/disp32 1826 # . . discard args 1827 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 1828 # . epilog @@ -1765,14 +1765,14 @@ if ('onhashchange' in window) { 1999 # var op1 = next-word(line) 2000 # if (slice-empty?(op1) || slice-starts-with?(op1, "#")) return 2001 # op1 = next-token-from-slice(op1->start, op1->end, "/") -2002 # write-slice(out, op1) +2002 # write-slice-buffered(out, op1) 2003 # if !slice-equal?(op1, "0f") && !slice-equal?(op1, "f2") && !slice-equal?(op1, "f3") 2004 # return 2005 # 2006 # var op2 = next-word(line) 2007 # if (slice-empty?(op2) || slice-starts-with?(op2, "#")) return 2008 # op2 = next-token-from-slice(op2->start, op2->end, "/") -2009 # write-slice(out, op2) +2009 # write-slice-buffered(out, op2) 2010 # if slice-equal?(op1, "0f") 2011 # return 2012 # if !slice-equal?(op2, "0f") @@ -1781,7 +1781,7 @@ if ('onhashchange' in window) { 2015 # var op3 = next-word(line) 2016 # if (slice-empty?(op3) || slice-starts-with?(op3, "#")) return 2017 # op3 = next-token-from-slice(op3->start, op3->end, "/") -2018 # write-slice(out, op3) +2018 # write-slice-buffered(out, op3) 2019 # 2020 # . prolog 2021 55/push-EBP @@ -1845,12 +1845,12 @@ if ('onhashchange' in window) { 2079 e8/call next-token-from-slice/disp32 2080 # . . discard args 2081 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0x10/imm32 # add to ESP -2082 # write-slice(out, op1) +2082 # write-slice-buffered(out, op1) 2083 # . . push args 2084 51/push-ECX 2085 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 0xc/disp8 . # push *(EBP+12) 2086 # . . call -2087 e8/call write-slice/disp32 +2087 e8/call write-slice-buffered/disp32 2088 # . . discard args 2089 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP 2090 # write-buffered(out, " ") @@ -1858,7 +1858,7 @@ if ('onhashchange' in window) { 2092 68/push " "/imm32 2093 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 0xc/disp8 . # push *(EBP+12) 2094 # . . call -2095 e8/call write-buffered/disp32 +2095 e8/call write-buffered/disp32 2096 # . . discard args 2097 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP 2098 # if (slice-equal?(op1, "0f")) goto op2 @@ -1938,12 +1938,12 @@ if ('onhashchange' in window) { 2172 e8/call next-token-from-slice/disp32 2173 # . . discard args 2174 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0x10/imm32 # add to ESP -2175 # write-slice(out, op2) +2175 # write-slice-buffered(out, op2) 2176 # . . push args 2177 52/push-EDX 2178 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 0xc/disp8 . # push *(EBP+12) 2179 # . . call -2180 e8/call write-slice/disp32 +2180 e8/call write-slice-buffered/disp32 2181 # . . discard args 2182 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP 2183 # write-buffered(out, " ") @@ -1951,7 +1951,7 @@ if ('onhashchange' in window) { 2185 68/push " "/imm32 2186 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 0xc/disp8 . # push *(EBP+12) 2187 # . . call -2188 e8/call write-buffered/disp32 +2188 e8/call write-buffered/disp32 2189 # . . discard args 2190 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP 2191 # if (slice-equal?(op1, "0f")) return @@ -2017,12 +2017,12 @@ if ('onhashchange' in window) { 2251 e8/call next-token-from-slice/disp32 2252 # . . discard args 2253 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0x10/imm32 # add to ESP -2254 # write-slice(out, op3) +2254 # write-slice-buffered(out, op3) 2255 # . . push args 2256 52/push-EDX 2257 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 0xc/disp8 . # push *(EBP+12) 2258 # . . call -2259 e8/call write-slice/disp32 +2259 e8/call write-slice-buffered/disp32 2260 # . . discard args 2261 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP 2262 # write-buffered(out, " ") @@ -2030,7 +2030,7 @@ if ('onhashchange' in window) { 2264 68/push " "/imm32 2265 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 0xc/disp8 . # push *(EBP+12) 2266 # . . call -2267 e8/call write-buffered/disp32 +2267 e8/call write-buffered/disp32 2268 # . . discard args 2269 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP 2270 $emit-opcodes:end: @@ -2828,7 +2828,7 @@ if ('onhashchange' in window) { 3326 68/push " # "/imm32 3327 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 0xc/disp8 . # push *(EBP+12) 3328 # . . call -3329 e8/call write-buffered/disp32 +3329 e8/call write-buffered/disp32 3330 # . . discard args 3331 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP 3332 # write-stream-data(out, line) @@ -2905,7 +2905,7 @@ if ('onhashchange' in window) { 3403 68/push "# abcd"/imm32 3404 68/push _test-output-stream/imm32 3405 # . . call -3406 e8/call check-stream-equal/disp32 +3406 e8/call check-stream-equal/disp32 3407 # . . discard args 3408 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 3409 # . epilog @@ -2973,7 +2973,7 @@ if ('onhashchange' in window) { 3471 68/push "ab: # cd"/imm32 3472 68/push _test-output-stream/imm32 3473 # . . call -3474 e8/call check-stream-equal/disp32 +3474 e8/call check-stream-equal/disp32 3475 # . . discard args 3476 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 3477 # . epilog @@ -3042,7 +3042,7 @@ if ('onhashchange' in window) { 3565 68/push "ab # ab/cd # comment"/imm32 3566 68/push _test-output-stream/imm32 3567 # . . call -3568 e8/call check-stream-equal/disp32 +3568 e8/call check-stream-equal/disp32 3569 # . . discard args 3570 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 3571 # . epilog @@ -3111,7 +3111,7 @@ if ('onhashchange' in window) { 3659 68/push "0f ab # 0f/m1 ab/m2 # comment"/imm32 3660 68/push _test-output-stream/imm32 3661 # . . call -3662 e8/call check-stream-equal/disp32 +3662 e8/call check-stream-equal/disp32 3663 # . . discard args 3664 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 3665 # . epilog @@ -3180,7 +3180,7 @@ if ('onhashchange' in window) { 3753 68/push "f2 ab # f2/m1 ab/m2 # comment"/imm32 3754 68/push _test-output-stream/imm32 3755 # . . call -3756 e8/call check-stream-equal/disp32 +3756 e8/call check-stream-equal/disp32 3757 # . . discard args 3758 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 3759 # . epilog @@ -3249,7 +3249,7 @@ if ('onhashchange' in window) { 3847 68/push "f3 ab # f3/m1 ab/m2 # comment"/imm32 3848 68/push _test-output-stream/imm32 3849 # . . call -3850 e8/call check-stream-equal/disp32 +3850 e8/call check-stream-equal/disp32 3851 # . . discard args 3852 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 3853 # . epilog @@ -3318,7 +3318,7 @@ if ('onhashchange' in window) { 3941 68/push "f2 0f ab # f2/m1 0f/m2 ab/m3 # comment"/imm32 3942 68/push _test-output-stream/imm32 3943 # . . call -3944 e8/call check-stream-equal/disp32 +3944 e8/call check-stream-equal/disp32 3945 # . . discard args 3946 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 3947 # . epilog @@ -3387,7 +3387,7 @@ if ('onhashchange' in window) { 4035 68/push "f3 0f ab # f3/m1 0f/m2 ab/m3 # comment"/imm32 4036 68/push _test-output-stream/imm32 4037 # . . call -4038 e8/call check-stream-equal/disp32 +4038 e8/call check-stream-equal/disp32 4039 # . . discard args 4040 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 4041 # . epilog @@ -3456,7 +3456,7 @@ if ('onhashchange' in window) { 4129 68/push "ab # ab/m1 cd/m2 # comment"/imm32 4130 68/push _test-output-stream/imm32 4131 # . . call -4132 e8/call check-stream-equal/disp32 +4132 e8/call check-stream-equal/disp32 4133 # . . discard args 4134 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 4135 # . epilog @@ -3525,7 +3525,7 @@ if ('onhashchange' in window) { 4223 68/push "f2 ab # f2/m1 ab/m2 cd/m3 # comment"/imm32 4224 68/push _test-output-stream/imm32 4225 # . . call -4226 e8/call check-stream-equal/disp32 +4226 e8/call check-stream-equal/disp32 4227 # . . discard args 4228 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 4229 # . epilog @@ -3594,7 +3594,7 @@ if ('onhashchange' in window) { 4317 68/push "f3 ab # f3/m1 ab/m2 cd/m3 # comment"/imm32 4318 68/push _test-output-stream/imm32 4319 # . . call -4320 e8/call check-stream-equal/disp32 +4320 e8/call check-stream-equal/disp32 4321 # . . discard args 4322 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 4323 # . epilog @@ -3663,7 +3663,7 @@ if ('onhashchange' in window) { 4411 68/push "8b 08 # 8b/copy 0/mod 0/rm32 1/r32"/imm32 4412 68/push _test-output-stream/imm32 4413 # . . call -4414 e8/call check-stream-equal/disp32 +4414 e8/call check-stream-equal/disp32 4415 # . . discard args 4416 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 4417 # . epilog @@ -3732,7 +3732,7 @@ if ('onhashchange' in window) { 4505 68/push "ff 30 # ff 6/subop/push 0/mod 0/rm32"/imm32 4506 68/push _test-output-stream/imm32 4507 # . . call -4508 e8/call check-stream-equal/disp32 +4508 e8/call check-stream-equal/disp32 4509 # . . discard args 4510 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 4511 # . epilog @@ -3801,7 +3801,7 @@ if ('onhashchange' in window) { 4599 68/push "8b 08 # 8b/copy 0/rm32 1/r32"/imm32 4600 68/push _test-output-stream/imm32 4601 # . . call -4602 e8/call check-stream-equal/disp32 +4602 e8/call check-stream-equal/disp32 4603 # . . discard args 4604 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 4605 # . epilog @@ -3870,7 +3870,7 @@ if ('onhashchange' in window) { 4693 68/push "8b 08 # 8b/copy 0/mod 1/r32"/imm32 4694 68/push _test-output-stream/imm32 4695 # . . call -4696 e8/call check-stream-equal/disp32 +4696 e8/call check-stream-equal/disp32 4697 # . . discard args 4698 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 4699 # . epilog @@ -3939,7 +3939,7 @@ if ('onhashchange' in window) { 4787 68/push "8b 00 # 8b/copy 0/mod 0/rm32"/imm32 4788 68/push _test-output-stream/imm32 4789 # . . call -4790 e8/call check-stream-equal/disp32 +4790 e8/call check-stream-equal/disp32 4791 # . . discard args 4792 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 4793 # . epilog @@ -4008,7 +4008,7 @@ if ('onhashchange' in window) { 4881 68/push "8b 0c 08 # 8b/copy 0/mod 4/rm32 1/r32 0/base 1/index 0/scale"/imm32 4882 68/push _test-output-stream/imm32 4883 # . . call -4884 e8/call check-stream-equal/disp32 +4884 e8/call check-stream-equal/disp32 4885 # . . discard args 4886 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 4887 # . epilog @@ -4077,7 +4077,7 @@ if ('onhashchange' in window) { 4975 68/push "8b 0c 08 # 8b/copy 0/mod 4/rm32 1/r32 1/index 0/scale"/imm32 4976 68/push _test-output-stream/imm32 4977 # . . call -4978 e8/call check-stream-equal/disp32 +4978 e8/call check-stream-equal/disp32 4979 # . . discard args 4980 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 4981 # . epilog @@ -4146,7 +4146,7 @@ if ('onhashchange' in window) { 5069 68/push "8b 0c 00 # 8b/copy 0/mod 4/rm32 1/r32 0/base 0/scale"/imm32 5070 68/push _test-output-stream/imm32 5071 # . . call -5072 e8/call check-stream-equal/disp32 +5072 e8/call check-stream-equal/disp32 5073 # . . discard args 5074 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 5075 # . epilog @@ -4215,7 +4215,7 @@ if ('onhashchange' in window) { 5163 68/push "8b 0c 08 # 8b/copy 0/mod 4/rm32 1/r32 0/base 1/index"/imm32 5164 68/push _test-output-stream/imm32 5165 # . . call -5166 e8/call check-stream-equal/disp32 +5166 e8/call check-stream-equal/disp32 5167 # . . discard args 5168 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 5169 # . epilog @@ -4284,7 +4284,7 @@ if ('onhashchange' in window) { 5257 68/push "e8 20 00 00 00 # e8/call 20/disp32"/imm32 5258 68/push _test-output-stream/imm32 5259 # . . call -5260 e8/call check-stream-equal/disp32 +5260 e8/call check-stream-equal/disp32 5261 # . . discard args 5262 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 5263 # . epilog @@ -4353,7 +4353,7 @@ if ('onhashchange' in window) { 5351 68/push "e8 20 00 # e8/call 20/disp16"/imm32 5352 68/push _test-output-stream/imm32 5353 # . . call -5354 e8/call check-stream-equal/disp32 +5354 e8/call check-stream-equal/disp32 5355 # . . discard args 5356 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 5357 # . epilog @@ -4422,7 +4422,7 @@ if ('onhashchange' in window) { 5445 68/push "eb 20 # eb/jump 20/disp8"/imm32 5446 68/push _test-output-stream/imm32 5447 # . . call -5448 e8/call check-stream-equal/disp32 +5448 e8/call check-stream-equal/disp32 5449 # . . discard args 5450 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 5451 # . epilog @@ -4491,7 +4491,7 @@ if ('onhashchange' in window) { 5539 68/push "eb xyz/disp8 # eb/jump xyz/disp8"/imm32 5540 68/push _test-output-stream/imm32 5541 # . . call -5542 e8/call check-stream-equal/disp32 +5542 e8/call check-stream-equal/disp32 5543 # . . discard args 5544 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 5545 # . epilog @@ -4560,7 +4560,7 @@ if ('onhashchange' in window) { 5633 68/push "68 20 00 00 00 # 68/push 0x20/imm32"/imm32 5634 68/push _test-output-stream/imm32 5635 # . . call -5636 e8/call check-stream-equal/disp32 +5636 e8/call check-stream-equal/disp32 5637 # . . discard args 5638 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 5639 # . epilog @@ -4630,7 +4630,7 @@ if ('onhashchange' in window) { 5728 68/push "68 20 00 # 68/push 0x20/imm16"/imm32 5729 68/push _test-output-stream/imm32 5730 # . . call -5731 e8/call check-stream-equal/disp32 +5731 e8/call check-stream-equal/disp32 5732 # . . discard args 5733 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 5734 # . epilog @@ -4700,7 +4700,7 @@ if ('onhashchange' in window) { 5823 68/push "68 20 # 68/push 0x20/imm8"/imm32 5824 68/push _test-output-stream/imm32 5825 # . . call -5826 e8/call check-stream-equal/disp32 +5826 e8/call check-stream-equal/disp32 5827 # . . discard args 5828 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 5829 # . epilog @@ -5250,7 +5250,7 @@ if ('onhashchange' in window) { 6373 e8/call next-token-from-slice/disp32 6374 # . . discard args 6375 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0x10/imm32 # add to ESP -6376 # if (is-valid-name?(datum)) write-slice(out, word) and return +6376 # if (is-valid-name?(datum)) write-slice-buffered(out, word) and return 6377 # . EAX = is-valid-name?(name) 6378 # . . push args 6379 57/push-EDI @@ -5262,12 +5262,12 @@ if ('onhashchange' in window) { 6385 3d/compare-EAX-and 0/imm32 6386 74/jump-if-equal $emit:hex-int/disp8 6387 $emit:name: -6388 # . write-slice(out, word) +6388 # . write-slice-buffered(out, word) 6389 # . . push args 6390 56/push-ESI 6391 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 8/disp8 . # push *(EBP+8) 6392 # . . call -6393 e8/call write-slice/disp32 +6393 e8/call write-slice-buffered/disp32 6394 # . . discard args 6395 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP 6396 # . write-buffered(out, " ") @@ -5275,7 +5275,7 @@ if ('onhashchange' in window) { 6398 68/push " "/imm32 6399 ff 6/subop/push 1/mod/*+disp8 5/rm32/EBP . . . . 8/disp8 . # push *(EBP+8) 6400 # . . call -6401 e8/call write-buffered/disp32 +6401 e8/call write-buffered/disp32 6402 # . . discard args 6403 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP 6404 # . return @@ -5361,7 +5361,7 @@ if ('onhashchange' in window) { 6484 68/push "30 "/imm32 6485 68/push _test-output-stream/imm32 6486 # . . call -6487 e8/call check-stream-equal/disp32 +6487 e8/call check-stream-equal/disp32 6488 # . . discard args 6489 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 6490 # . epilog @@ -5417,7 +5417,7 @@ if ('onhashchange' in window) { 6540 68/push "fe ff "/imm32 6541 68/push _test-output-stream/imm32 6542 # . . call -6543 e8/call check-stream-equal/disp32 +6543 e8/call check-stream-equal/disp32 6544 # . . discard args 6545 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 6546 # . epilog @@ -5473,7 +5473,7 @@ if ('onhashchange' in window) { 6596 68/push "fe ff "/imm32 6597 68/push _test-output-stream/imm32 6598 # . . call -6599 e8/call check-stream-equal/disp32 +6599 e8/call check-stream-equal/disp32 6600 # . . discard args 6601 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 6602 # . epilog @@ -5528,7 +5528,7 @@ if ('onhashchange' in window) { 6651 68/push "xyz "/imm32 6652 68/push _test-output-stream/imm32 6653 # . . call -6654 e8/call check-stream-equal/disp32 +6654 e8/call check-stream-equal/disp32 6655 # . . discard args 6656 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 6657 # . epilog @@ -5583,7 +5583,7 @@ if ('onhashchange' in window) { 6706 68/push "xyz/ "/imm32 6707 68/push _test-output-stream/imm32 6708 # . . call -6709 e8/call check-stream-equal/disp32 +6709 e8/call check-stream-equal/disp32 6710 # . . discard args 6711 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 6712 # . epilog @@ -5639,7 +5639,7 @@ if ('onhashchange' in window) { 6787 68/push "abcd/xyz "/imm32 6788 68/push _test-output-stream/imm32 6789 # . . call -6790 e8/call check-stream-equal/disp32 +6790 e8/call check-stream-equal/disp32 6791 # . . discard args 6792 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 6793 # . epilog @@ -5906,20 +5906,20 @@ if ('onhashchange' in window) { 7054 # if (curr >= width) break 7055 39/compare 3/mod/direct 1/rm32/ECX . . . 2/r32/EDX . . # compare ECX with EDX 7056 7d/jump-if-greater-or-equal $emit-hex:end/disp8 -7057 # print-byte(out, EBX) +7057 # print-byte-buffered(out, EBX) 7058 # . . push args 7059 53/push-EBX 7060 57/push-EDI 7061 # . . call -7062 e8/call print-byte/disp32 +7062 e8/call print-byte-buffered/disp32 7063 # . . discard args 7064 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP -7065 # write-byte(out, ' ') +7065 # write-byte-buffered(out, ' ') 7066 # . . push args 7067 68/push 0x20/imm32/space 7068 57/push-EDI 7069 # . . call -7070 e8/call write-byte/disp32 +7070 e8/call write-byte-buffered/disp32 7071 # . . discard args 7072 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 8/imm32 # add to ESP 7073 # EBX = EBX >> 8 @@ -6028,7 +6028,7 @@ if ('onhashchange' in window) { 7176 68/push "34 12 "/imm32 7177 68/push _test-output-stream/imm32 7178 # . . call -7179 e8/call check-stream-equal/disp32 +7179 e8/call check-stream-equal/disp32 7180 # . . discard args 7181 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 7182 # . end @@ -6074,7 +6074,7 @@ if ('onhashchange' in window) { 7222 68/push "ab 00 "/imm32 7223 68/push _test-output-stream/imm32 7224 # . . call -7225 e8/call check-stream-equal/disp32 +7225 e8/call check-stream-equal/disp32 7226 # . . discard args 7227 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 7228 # . end @@ -6120,7 +6120,7 @@ if ('onhashchange' in window) { 7268 68/push "ff ff "/imm32 7269 68/push _test-output-stream/imm32 7270 # . . call -7271 e8/call check-stream-equal/disp32 +7271 e8/call check-stream-equal/disp32 7272 # . . discard args 7273 81 0/subop/add 3/mod/direct 4/rm32/ESP . . . . . 0xc/imm32 # add to ESP 7274 # . end -- cgit 1.4.1-2-gfad0