diff options
author | Kartik Agaram <vc@akkartik.com> | 2018-12-30 20:24:37 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2018-12-30 20:24:37 -0800 |
commit | 901ae474300d70bcc00e7e0b420ca87c8cbf6f55 (patch) | |
tree | af60b1c8c92bfc10a6bb6bd1082a765fcc718004 /html/subx/055trace.subx.html | |
parent | 0474ec865af12cff08dd255954fbccf6d38085e6 (diff) | |
download | mu-901ae474300d70bcc00e7e0b420ca87c8cbf6f55.tar.gz |
4899
Bug in my linkify tool introduced in commit 4891.
Diffstat (limited to 'html/subx/055trace.subx.html')
-rw-r--r-- | html/subx/055trace.subx.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/html/subx/055trace.subx.html b/html/subx/055trace.subx.html index 7e71858c..fc55d888 100644 --- a/html/subx/055trace.subx.html +++ b/html/subx/055trace.subx.html @@ -84,12 +84,12 @@ if ('onhashchange' in window) { <span id="L22" class="LineNr"> 22 </span>== data <span id="L23" class="LineNr"> 23 </span> <span id="L24" class="LineNr"> 24 </span><span class="subxComment"># We'll save the address of the trace segment here.</span> -<span id="L25" class="LineNr"> 25 </span><span class="SpecialChar"><a href='055trace.subx.html#L25'>Trace-stream</a></span>: +<span id="L25" class="LineNr"> 25 </span><span class="SpecialChar">Trace-stream</span>: <span id="L26" class="LineNr"> 26 </span> 00 00 00 00 <span id="L27" class="LineNr"> 27 </span> <span id="L28" class="LineNr"> 28 </span><span class="subxComment"># Fake trace-stream for tests.</span> <span id="L29" class="LineNr"> 29 </span><span class="subxComment"># Also illustrates the layout of the real trace-stream (segment).</span> -<span id="L30" class="LineNr"> 30 </span><span class="subxMinorFunction"><a href='055trace.subx.html#L30'>_test-trace-stream</a></span>: +<span id="L30" class="LineNr"> 30 </span><span class="subxMinorFunction">_test-trace-stream</span>: <span id="L31" class="LineNr"> 31 </span> <span class="subxComment"># current write index</span> <span id="L32" class="LineNr"> 32 </span> 00 00 00 00 <span id="L33" class="LineNr"> 33 </span> <span class="subxComment"># current read index</span> @@ -114,7 +114,7 @@ if ('onhashchange' in window) { <span id="L52" class="LineNr"> 52 </span> <span id="L53" class="LineNr"> 53 </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="L54" class="LineNr"> 54 </span><span class="subxComment"># The Trace-stream segment will consist of variable-length lines separated by newlines (0x0a)</span> -<span id="L55" class="LineNr"> 55 </span><span class="subxFunction"><a href='055trace.subx.html#L55'>initialize-trace-stream</a></span>: +<span id="L55" class="LineNr"> 55 </span><span class="subxFunction">initialize-trace-stream</span>: <span id="L56" class="LineNr"> 56 </span> <span class="subxComment"># EAX = new-segment(0x1000)</span> <span id="L57" class="LineNr"> 57 </span> <span class="subxS2Comment"># . . push args</span> <span id="L58" class="LineNr"> 58 </span> 68/push 0x1000/imm32/N @@ -130,7 +130,7 @@ if ('onhashchange' in window) { <span id="L68" class="LineNr"> 68 </span> <span id="L69" class="LineNr"> 69 </span><span class="subxComment"># Append a string to the given trace stream.</span> <span id="L70" class="LineNr"> 70 </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="L71" class="LineNr"> 71 </span><span class="subxFunction"><a href='055trace.subx.html#L71'>trace</a></span>: <span class="subxComment"># t : (address trace-stream), line : string</span> +<span id="L71" class="LineNr"> 71 </span><span class="subxFunction">trace</span>: <span class="subxComment"># t : (address trace-stream), line : string</span> <span id="L72" class="LineNr"> 72 </span> <span class="subxS1Comment"># . prolog</span> <span id="L73" class="LineNr"> 73 </span> 55/push-EBP <span id="L74" class="LineNr"> 74 </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> @@ -197,7 +197,7 @@ if ('onhashchange' in window) { <span id="L135" class="LineNr">135 </span> 5d/pop-to-EBP <span id="L136" class="LineNr">136 </span> c3/return <span id="L137" class="LineNr">137 </span> -<span id="L138" class="LineNr">138 </span><span class="subxFunction"><a href='055trace.subx.html#L138'>clear-trace-stream</a></span>: <span class="subxComment"># t : (address trace-stream)</span> +<span id="L138" class="LineNr">138 </span><span class="subxFunction">clear-trace-stream</span>: <span class="subxComment"># t : (address trace-stream)</span> <span id="L139" class="LineNr">139 </span> <span class="subxS1Comment"># . prolog</span> <span id="L140" class="LineNr">140 </span> 55/push-EBP <span id="L141" class="LineNr">141 </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> @@ -237,7 +237,7 @@ if ('onhashchange' in window) { <span id="L175" class="LineNr">175 </span> <span id="L176" class="LineNr">176 </span><span class="subxH1Comment"># - tests</span> <span id="L177" class="LineNr">177 </span> -<span id="L178" class="LineNr">178 </span><span class="subxTest"><a href='055trace.subx.html#L178'>test-trace-single</a></span>: +<span id="L178" class="LineNr">178 </span><span class="subxTest">test-trace-single</span>: <span id="L179" class="LineNr">179 </span> <span class="subxComment"># clear-trace-stream(_test-trace-stream)</span> <span id="L180" class="LineNr">180 </span> <span class="subxS2Comment"># . . push args</span> <span id="L181" class="LineNr">181 </span> 68/push <a href='055trace.subx.html#L30'>_test-trace-stream</a>/imm32 @@ -267,7 +267,7 @@ if ('onhashchange' in window) { <span id="L205" class="LineNr">205 </span> <span class="subxComment"># end</span> <span id="L206" class="LineNr">206 </span> c3/return <span id="L207" class="LineNr">207 </span> -<span id="L208" class="LineNr">208 </span><span class="subxTest"><a href='055trace.subx.html#L208'>test-trace-appends</a></span>: +<span id="L208" class="LineNr">208 </span><span class="subxTest">test-trace-appends</span>: <span id="L209" class="LineNr">209 </span> <span class="subxComment"># clear-trace-stream(_test-trace-stream)</span> <span id="L210" class="LineNr">210 </span> <span class="subxS2Comment"># . . push args</span> <span id="L211" class="LineNr">211 </span> 68/push <a href='055trace.subx.html#L30'>_test-trace-stream</a>/imm32 @@ -305,7 +305,7 @@ if ('onhashchange' in window) { <span id="L243" class="LineNr">243 </span> <span class="subxComment"># end</span> <span id="L244" class="LineNr">244 </span> c3/return <span id="L245" class="LineNr">245 </span> -<span id="L246" class="LineNr">246 </span><span class="subxTest"><a href='055trace.subx.html#L246'>test-trace-empty-line</a></span>: +<span id="L246" class="LineNr">246 </span><span class="subxTest">test-trace-empty-line</span>: <span id="L247" class="LineNr">247 </span> <span class="subxComment"># clear-trace-stream(_test-trace-stream)</span> <span id="L248" class="LineNr">248 </span> <span class="subxS2Comment"># . . push args</span> <span id="L249" class="LineNr">249 </span> 68/push <a href='055trace.subx.html#L30'>_test-trace-stream</a>/imm32 @@ -338,7 +338,7 @@ if ('onhashchange' in window) { <span id="L276" class="LineNr">276 </span><span class="subxH1Comment"># - helpers</span> <span id="L277" class="LineNr">277 </span> <span id="L278" class="LineNr">278 </span><span class="subxComment"># 3-argument variant of _append</span> -<span id="L279" class="LineNr">279 </span><span class="subxMinorFunction"><a href='055trace.subx.html#L279'>_append-3</a></span>: <span class="subxComment"># out : address, outend : address, s : (array byte) -> num_bytes_appended/EAX</span> +<span id="L279" class="LineNr">279 </span><span class="subxMinorFunction">_append-3</span>: <span class="subxComment"># out : address, outend : address, s : (array byte) -> num_bytes_appended/EAX</span> <span id="L280" class="LineNr">280 </span> <span class="subxS1Comment"># . prolog</span> <span id="L281" class="LineNr">281 </span> 55/push-EBP <span id="L282" class="LineNr">282 </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> @@ -370,7 +370,7 @@ if ('onhashchange' in window) { <span id="L308" class="LineNr">308 </span> c3/return <span id="L309" class="LineNr">309 </span> <span id="L310" class="LineNr">310 </span><span class="subxComment"># 4-argument variant of _append</span> -<span id="L311" class="LineNr">311 </span><span class="subxMinorFunction"><a href='055trace.subx.html#L311'>_append-4</a></span>: <span class="subxComment"># out : address, outend : address, in : address, inend : address -> num_bytes_appended/EAX</span> +<span id="L311" class="LineNr">311 </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="L312" class="LineNr">312 </span> <span class="subxS1Comment"># . prolog</span> <span id="L313" class="LineNr">313 </span> 55/push-EBP <span id="L314" class="LineNr">314 </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> |