diff options
Diffstat (limited to 'html/062write-stream.subx.html')
-rw-r--r-- | html/062write-stream.subx.html | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/html/062write-stream.subx.html b/html/062write-stream.subx.html index f698d844..9bc2c29f 100644 --- a/html/062write-stream.subx.html +++ b/html/062write-stream.subx.html @@ -76,7 +76,7 @@ if ('onhashchange' in window) { <span id="L15" class="LineNr"> 15 </span><span class="CommentedCode">#? b8/copy-to-eax 1/imm32/exit</span> <span id="L16" class="LineNr"> 16 </span><span class="CommentedCode">#? cd/syscall 0x80/imm8</span> <span id="L17" class="LineNr"> 17 </span> -<span id="L18" class="LineNr"> 18 </span><span class="subxFunction">write-stream</span>: <span class="subxComment"># f : fd or (addr stream byte), s : (addr stream byte)</span> +<span id="L18" class="LineNr"> 18 </span><span class="subxFunction">write-stream</span>: <span class="subxComment"># f: fd or (addr stream byte), s: (addr stream byte)</span> <span id="L19" class="LineNr"> 19 </span> <span class="subxS1Comment"># . prologue</span> <span id="L20" class="LineNr"> 20 </span> 55/push-ebp <span id="L21" class="LineNr"> 21 </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> @@ -136,7 +136,7 @@ if ('onhashchange' in window) { <span id="L75" class="LineNr"> 75 </span> 5d/pop-to-ebp <span id="L76" class="LineNr"> 76 </span> c3/return <span id="L77" class="LineNr"> 77 </span> -<span id="L78" class="LineNr"> 78 </span><span class="subxMinorFunction">_write-stream</span>: <span class="subxComment"># fd : int, s : (addr stream byte)</span> +<span id="L78" class="LineNr"> 78 </span><span class="subxMinorFunction">_write-stream</span>: <span class="subxComment"># fd: int, s: (addr stream byte)</span> <span id="L79" class="LineNr"> 79 </span> <span class="subxS1Comment"># . prologue</span> <span id="L80" class="LineNr"> 80 </span> 55/push-ebp <span id="L81" class="LineNr"> 81 </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> @@ -154,11 +154,11 @@ if ('onhashchange' in window) { <span id="L93" class="LineNr"> 93 </span> <span class="subxComment"># edx = s->write</span> <span id="L94" class="LineNr"> 94 </span> 8b/copy 0/mod/indirect 6/rm32/esi <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 2/r32/edx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy *esi to edx</span> <span id="L95" class="LineNr"> 95 </span> <span class="subxComment"># syscall(write, fd, &s->data[s->read], s->write - s->read)</span> -<span id="L96" class="LineNr"> 96 </span> <span class="subxS2Comment"># . . fd : ebx</span> +<span id="L96" class="LineNr"> 96 </span> <span class="subxS2Comment"># . . fd: ebx</span> <span id="L97" class="LineNr"> 97 </span> 8b/copy 1/mod/*+disp8 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 3/r32/ebx 8/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(ebp+8) to ebx</span> -<span id="L98" class="LineNr"> 98 </span> <span class="subxS2Comment"># . . data : ecx = &s->data[s->read]</span> +<span id="L98" class="LineNr"> 98 </span> <span class="subxS2Comment"># . . data: ecx = &s->data[s->read]</span> <span id="L99" class="LineNr"> 99 </span> 8d/copy-address 1/mod/*+disp8 4/rm32/sib 6/base/esi 7/index/edi <span class="Normal"> . </span> 1/r32/ecx 0xc/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy esi+edi+12 to ecx</span> -<span id="L100" class="LineNr">100 </span> <span class="subxS2Comment"># . . size : edx = s->write - s->read</span> +<span id="L100" class="LineNr">100 </span> <span class="subxS2Comment"># . . size: edx = s->write - s->read</span> <span id="L101" class="LineNr">101 </span> 29/subtract 3/mod/direct 2/rm32/edx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 7/r32/edi <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># subtract edi from edx</span> <span id="L102" class="LineNr">102 </span> <span class="subxS2Comment"># . . syscall</span> <span id="L103" class="LineNr">103 </span> b8/copy-to-eax 4/imm32/write |