diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-10-17 22:03:35 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-10-17 22:03:48 -0700 |
commit | b1635a5c8e25650a19999c246be321a0794eb58a (patch) | |
tree | a5ce06d138fac34b1e13fb1b06fd91b8b6c55712 /html/056trace.subx.html | |
parent | 540974343290cb9ac0cf55b999447bf563928612 (diff) | |
download | mu-b1635a5c8e25650a19999c246be321a0794eb58a.tar.gz |
5701
Diffstat (limited to 'html/056trace.subx.html')
-rw-r--r-- | html/056trace.subx.html | 42 |
1 files changed, 21 insertions, 21 deletions
diff --git a/html/056trace.subx.html b/html/056trace.subx.html index f7a72c7f..1da88893 100644 --- a/html/056trace.subx.html +++ b/html/056trace.subx.html @@ -104,8 +104,8 @@ if ('onhashchange' in window) { <span id="L41" class="LineNr"> 41 </span> <span id="L42" class="LineNr"> 42 </span><span class="subxComment"># Allocate a new segment for the trace stream, initialize its length, and save its address to Trace-stream.</span> <span id="L43" class="LineNr"> 43 </span><span class="subxComment"># The Trace-stream segment will consist of variable-length lines separated by newlines (0x0a)</span> -<span id="L44" class="LineNr"> 44 </span><span class="subxFunction">initialize-trace-stream</span>: <span class="subxComment"># n : int -> <void></span> -<span id="L45" class="LineNr"> 45 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L44" class="LineNr"> 44 </span><span class="subxFunction">initialize-trace-stream</span>: <span class="subxComment"># n : int</span> +<span id="L45" class="LineNr"> 45 </span> <span class="subxS1Comment"># . prologue</span> <span id="L46" class="LineNr"> 46 </span> 55/push-ebp <span id="L47" class="LineNr"> 47 </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> <span id="L48" class="LineNr"> 48 </span> <span class="subxS1Comment"># . save registers</span> @@ -135,7 +135,7 @@ if ('onhashchange' in window) { <span id="L72" class="LineNr"> 72 </span> <span class="subxS1Comment"># . restore registers</span> <span id="L73" class="LineNr"> 73 </span> 59/pop-to-ecx <span id="L74" class="LineNr"> 74 </span> 58/pop-to-eax -<span id="L75" class="LineNr"> 75 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L75" class="LineNr"> 75 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L76" class="LineNr"> 76 </span> 89/copy 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy ebp to esp</span> <span id="L77" class="LineNr"> 77 </span> 5d/pop-to-ebp <span id="L78" class="LineNr"> 78 </span> c3/return @@ -143,7 +143,7 @@ if ('onhashchange' in window) { <span id="L80" class="LineNr"> 80 </span><span class="subxComment"># Append a string to the given trace stream.</span> <span id="L81" class="LineNr"> 81 </span><span class="subxComment"># Silently give up if it's already full. Or truncate the string if there isn't enough room.</span> <span id="L82" class="LineNr"> 82 </span><span class="subxFunction">trace</span>: <span class="subxComment"># line : (address string)</span> -<span id="L83" class="LineNr"> 83 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L83" class="LineNr"> 83 </span> <span class="subxS1Comment"># . prologue</span> <span id="L84" class="LineNr"> 84 </span> 55/push-ebp <span id="L85" class="LineNr"> 85 </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> <span id="L86" class="LineNr"> 86 </span> <span class="subxS1Comment"># . save registers</span> @@ -204,7 +204,7 @@ if ('onhashchange' in window) { <span id="L141" class="LineNr"> 141 </span> 5a/pop-to-edx <span id="L142" class="LineNr"> 142 </span> 59/pop-to-ecx <span id="L143" class="LineNr"> 143 </span> 58/pop-to-eax -<span id="L144" class="LineNr"> 144 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L144" class="LineNr"> 144 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L145" class="LineNr"> 145 </span> 89/copy 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy ebp to esp</span> <span id="L146" class="LineNr"> 146 </span> 5d/pop-to-ebp <span id="L147" class="LineNr"> 147 </span> c3/return @@ -310,7 +310,7 @@ if ('onhashchange' in window) { <span id="L247" class="LineNr"> 247 </span> c3/return <span id="L248" class="LineNr"> 248 </span> <span id="L249" class="LineNr"> 249 </span><span class="subxFunction">check-trace-contains</span>: <span class="subxComment"># line : (address string), msg : (address string)</span> -<span id="L250" class="LineNr"> 250 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L250" class="LineNr"> 250 </span> <span class="subxS1Comment"># . prologue</span> <span id="L251" class="LineNr"> 251 </span> 55/push-ebp <span id="L252" class="LineNr"> 252 </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> <span id="L253" class="LineNr"> 253 </span> <span class="subxComment"># rewind-stream(*Trace-stream)</span> @@ -329,13 +329,13 @@ if ('onhashchange' in window) { <span id="L266" class="LineNr"> 266 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L267" class="LineNr"> 267 </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="L268" class="LineNr"> 268 </span><span class="Constant">$check-trace-contains:end</span>: -<span id="L269" class="LineNr"> 269 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L269" class="LineNr"> 269 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L270" class="LineNr"> 270 </span> 89/copy 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy ebp to esp</span> <span id="L271" class="LineNr"> 271 </span> 5d/pop-to-ebp <span id="L272" class="LineNr"> 272 </span> c3/return <span id="L273" class="LineNr"> 273 </span> <span id="L274" class="LineNr"> 274 </span><span class="subxFunction">check-trace-scans-to</span>: <span class="subxComment"># line : (address string), msg : (address string)</span> -<span id="L275" class="LineNr"> 275 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L275" class="LineNr"> 275 </span> <span class="subxS1Comment"># . prologue</span> <span id="L276" class="LineNr"> 276 </span> 55/push-ebp <span id="L277" class="LineNr"> 277 </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> <span id="L278" class="LineNr"> 278 </span> <span class="subxS1Comment"># . save registers</span> @@ -359,7 +359,7 @@ if ('onhashchange' in window) { <span id="L296" class="LineNr"> 296 </span><span class="Constant">$check-trace-scans-to:end</span>: <span id="L297" class="LineNr"> 297 </span> <span class="subxS1Comment"># . restore registers</span> <span id="L298" class="LineNr"> 298 </span> 58/pop-to-eax -<span id="L299" class="LineNr"> 299 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L299" class="LineNr"> 299 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L300" class="LineNr"> 300 </span> 89/copy 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy ebp to esp</span> <span id="L301" class="LineNr"> 301 </span> 5d/pop-to-ebp <span id="L302" class="LineNr"> 302 </span> c3/return @@ -379,7 +379,7 @@ if ('onhashchange' in window) { <span id="L316" class="LineNr"> 316 </span> <span class="subxComment"># pop saved copy of Trace-stream->read</span> <span id="L317" class="LineNr"> 317 </span> <span class="subxComment"># return false</span> <span id="L318" class="LineNr"> 318 </span> <span class="subxComment">#</span> -<span id="L319" class="LineNr"> 319 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L319" class="LineNr"> 319 </span> <span class="subxS1Comment"># . prologue</span> <span id="L320" class="LineNr"> 320 </span> 55/push-ebp <span id="L321" class="LineNr"> 321 </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> <span id="L322" class="LineNr"> 322 </span> <span class="subxS1Comment"># . save registers</span> @@ -436,7 +436,7 @@ if ('onhashchange' in window) { <span id="L373" class="LineNr"> 373 </span><span class="Constant">$trace-scan:end</span>: <span id="L374" class="LineNr"> 374 </span> <span class="subxS1Comment"># . restore registers</span> <span id="L375" class="LineNr"> 375 </span> 59/pop-to-ecx -<span id="L376" class="LineNr"> 376 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L376" class="LineNr"> 376 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L377" class="LineNr"> 377 </span> 89/copy 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy ebp to esp</span> <span id="L378" class="LineNr"> 378 </span> 5d/pop-to-ebp <span id="L379" class="LineNr"> 379 </span> c3/return @@ -627,7 +627,7 @@ if ('onhashchange' in window) { <span id="L564" class="LineNr"> 564 </span> <span class="subxComment"># ++currl</span> <span id="L565" class="LineNr"> 565 </span> <span class="subxComment"># return *currt == '\n'</span> <span id="L566" class="LineNr"> 566 </span> <span class="subxComment">#</span> -<span id="L567" class="LineNr"> 567 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L567" class="LineNr"> 567 </span> <span class="subxS1Comment"># . prologue</span> <span id="L568" class="LineNr"> 568 </span> 55/push-ebp <span id="L569" class="LineNr"> 569 </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> <span id="L570" class="LineNr"> 570 </span> <span class="subxS1Comment"># . save registers</span> @@ -703,7 +703,7 @@ if ('onhashchange' in window) { <span id="L640" class="LineNr"> 640 </span> 5b/pop-to-ebx <span id="L641" class="LineNr"> 641 </span> 5a/pop-to-edx <span id="L642" class="LineNr"> 642 </span> 59/pop-to-ecx -<span id="L643" class="LineNr"> 643 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L643" class="LineNr"> 643 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L644" class="LineNr"> 644 </span> 89/copy 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy ebp to esp</span> <span id="L645" class="LineNr"> 645 </span> 5d/pop-to-ebp <span id="L646" class="LineNr"> 646 </span> c3/return @@ -805,7 +805,7 @@ if ('onhashchange' in window) { <span id="L742" class="LineNr"> 742 </span> <span class="subxComment"># ++curr</span> <span id="L743" class="LineNr"> 743 </span> <span class="subxComment"># t->read = i</span> <span id="L744" class="LineNr"> 744 </span> <span class="subxComment">#</span> -<span id="L745" class="LineNr"> 745 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L745" class="LineNr"> 745 </span> <span class="subxS1Comment"># . prologue</span> <span id="L746" class="LineNr"> 746 </span> 55/push-ebp <span id="L747" class="LineNr"> 747 </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> <span id="L748" class="LineNr"> 748 </span> <span class="subxS1Comment"># . save registers</span> @@ -852,7 +852,7 @@ if ('onhashchange' in window) { <span id="L789" class="LineNr"> 789 </span> 5a/pop-to-edx <span id="L790" class="LineNr"> 790 </span> 59/pop-to-ecx <span id="L791" class="LineNr"> 791 </span> 58/pop-to-eax -<span id="L792" class="LineNr"> 792 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L792" class="LineNr"> 792 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L793" class="LineNr"> 793 </span> 89/copy 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy ebp to esp</span> <span id="L794" class="LineNr"> 794 </span> 5d/pop-to-ebp <span id="L795" class="LineNr"> 795 </span> c3/return @@ -902,7 +902,7 @@ if ('onhashchange' in window) { <span id="L839" class="LineNr"> 839 </span> c3/return <span id="L840" class="LineNr"> 840 </span> <span id="L841" class="LineNr"> 841 </span><span class="subxFunction">clear-trace-stream</span>: -<span id="L842" class="LineNr"> 842 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L842" class="LineNr"> 842 </span> <span class="subxS1Comment"># . prologue</span> <span id="L843" class="LineNr"> 843 </span> 55/push-ebp <span id="L844" class="LineNr"> 844 </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> <span id="L845" class="LineNr"> 845 </span> <span class="subxS1Comment"># . save registers</span> @@ -933,7 +933,7 @@ if ('onhashchange' in window) { <span id="L870" class="LineNr"> 870 </span> <span class="subxS1Comment"># . restore registers</span> <span id="L871" class="LineNr"> 871 </span> 59/pop-to-ecx <span id="L872" class="LineNr"> 872 </span> 58/pop-to-eax -<span id="L873" class="LineNr"> 873 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L873" class="LineNr"> 873 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L874" class="LineNr"> 874 </span> 89/copy 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy ebp to esp</span> <span id="L875" class="LineNr"> 875 </span> 5d/pop-to-ebp <span id="L876" class="LineNr"> 876 </span> c3/return @@ -942,7 +942,7 @@ if ('onhashchange' in window) { <span id="L879" class="LineNr"> 879 </span> <span id="L880" class="LineNr"> 880 </span><span class="subxComment"># 3-argument variant of _append</span> <span id="L881" class="LineNr"> 881 </span><span class="subxMinorFunction">_append-3</span>: <span class="subxComment"># out : address, outend : address, s : (array byte) -> num_bytes_appended/eax</span> -<span id="L882" class="LineNr"> 882 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L882" class="LineNr"> 882 </span> <span class="subxS1Comment"># . prologue</span> <span id="L883" class="LineNr"> 883 </span> 55/push-ebp <span id="L884" class="LineNr"> 884 </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> <span id="L885" class="LineNr"> 885 </span> <span class="subxS1Comment"># . save registers</span> @@ -967,14 +967,14 @@ if ('onhashchange' in window) { <span id="L904" class="LineNr"> 904 </span><span class="Constant">$_append-3:end</span>: <span id="L905" class="LineNr"> 905 </span> <span class="subxS1Comment"># . restore registers</span> <span id="L906" class="LineNr"> 906 </span> 59/pop-to-ecx -<span id="L907" class="LineNr"> 907 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L907" class="LineNr"> 907 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L908" class="LineNr"> 908 </span> 89/copy 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy ebp to esp</span> <span id="L909" class="LineNr"> 909 </span> 5d/pop-to-ebp <span id="L910" class="LineNr"> 910 </span> c3/return <span id="L911" class="LineNr"> 911 </span> <span id="L912" class="LineNr"> 912 </span><span class="subxComment"># 4-argument variant of _append</span> <span id="L913" class="LineNr"> 913 </span><span class="subxMinorFunction">_append-4</span>: <span class="subxComment"># out : address, outend : address, in : address, inend : address -> num_bytes_appended/eax</span> -<span id="L914" class="LineNr"> 914 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L914" class="LineNr"> 914 </span> <span class="subxS1Comment"># . prologue</span> <span id="L915" class="LineNr"> 915 </span> 55/push-ebp <span id="L916" class="LineNr"> 916 </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> <span id="L917" class="LineNr"> 917 </span> <span class="subxS1Comment"># . save registers</span> @@ -1017,7 +1017,7 @@ if ('onhashchange' in window) { <span id="L954" class="LineNr"> 954 </span> 5b/pop-to-ebx <span id="L955" class="LineNr"> 955 </span> 5a/pop-to-edx <span id="L956" class="LineNr"> 956 </span> 59/pop-to-ecx -<span id="L957" class="LineNr"> 957 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L957" class="LineNr"> 957 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L958" class="LineNr"> 958 </span> 89/copy 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy ebp to esp</span> <span id="L959" class="LineNr"> 959 </span> 5d/pop-to-ebp <span id="L960" class="LineNr"> 960 </span> c3/return |