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/074write-stream-data.subx.html | |
parent | 540974343290cb9ac0cf55b999447bf563928612 (diff) | |
download | mu-b1635a5c8e25650a19999c246be321a0794eb58a.tar.gz |
5701
Diffstat (limited to 'html/074write-stream-data.subx.html')
-rw-r--r-- | html/074write-stream-data.subx.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/html/074write-stream-data.subx.html b/html/074write-stream-data.subx.html index f655ab75..fcc2f27f 100644 --- a/html/074write-stream-data.subx.html +++ b/html/074write-stream-data.subx.html @@ -67,8 +67,8 @@ if ('onhashchange' in window) { <span id="L8" class="LineNr"> 8 </span><span class="subxComment"># - construct a 'maximal slice' and pass it to write-slice-buffered</span> <span id="L9" class="LineNr"> 9 </span><span class="subxComment"># - flush the buffered-file and pass the stream directly to its fd (disabling buffering)</span> <span id="L10" class="LineNr"> 10 </span><span class="subxComment"># we'll go with the first way for now</span> -<span id="L11" class="LineNr"> 11 </span><span class="subxFunction">write-stream-data</span>: <span class="subxComment"># f : (address buffered-file), s : (address stream) -> <void></span> -<span id="L12" class="LineNr"> 12 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L11" class="LineNr"> 11 </span><span class="subxFunction">write-stream-data</span>: <span class="subxComment"># f : (address buffered-file), s : (address stream)</span> +<span id="L12" class="LineNr"> 12 </span> <span class="subxS1Comment"># . prologue</span> <span id="L13" class="LineNr"> 13 </span> 55/push-ebp <span id="L14" class="LineNr"> 14 </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="L15" class="LineNr"> 15 </span> <span class="subxS1Comment"># . save registers</span> @@ -102,13 +102,13 @@ if ('onhashchange' in window) { <span id="L43" class="LineNr"> 43 </span> 5e/pop-to-esi <span id="L44" class="LineNr"> 44 </span> 59/pop-to-ecx <span id="L45" class="LineNr"> 45 </span> 58/pop-to-eax -<span id="L46" class="LineNr"> 46 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L46" class="LineNr"> 46 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L47" class="LineNr"> 47 </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="L48" class="LineNr"> 48 </span> 5d/pop-to-ebp <span id="L49" class="LineNr"> 49 </span> c3/return <span id="L50" class="LineNr"> 50 </span> <span id="L51" class="LineNr"> 51 </span><span class="subxTest">test-write-stream-data</span>: -<span id="L52" class="LineNr"> 52 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L52" class="LineNr"> 52 </span> <span class="subxS1Comment"># . prologue</span> <span id="L53" class="LineNr"> 53 </span> 55/push-ebp <span id="L54" class="LineNr"> 54 </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="L55" class="LineNr"> 55 </span> <span class="subxComment"># setup</span> @@ -169,7 +169,7 @@ if ('onhashchange' in window) { <span id="L110" class="LineNr">110 </span> e8/call <a href='058stream-equal.subx.html#L193'>check-stream-equal</a>/disp32 <span id="L111" class="LineNr">111 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L112" class="LineNr">112 </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="L113" class="LineNr">113 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L113" class="LineNr">113 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L114" class="LineNr">114 </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="L115" class="LineNr">115 </span> 5d/pop-to-ebp <span id="L116" class="LineNr">116 </span> c3/return |