diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-11-09 09:23:31 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-11-09 09:23:31 -0800 |
commit | 3ff2fe607c2cb5690d201d3b83ddcc957e949b7a (patch) | |
tree | 2dd6019731bad313ecf0423d6063c9d0fa0bb77e /html/linux/113write-stream.subx.html | |
parent | ef8fd8851a883eefd7bd55ffc31d6e00f67d50a8 (diff) | |
download | mu-3ff2fe607c2cb5690d201d3b83ddcc957e949b7a.tar.gz |
.
Diffstat (limited to 'html/linux/113write-stream.subx.html')
-rw-r--r-- | html/linux/113write-stream.subx.html | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/html/linux/113write-stream.subx.html b/html/linux/113write-stream.subx.html index 4fc8a14b..819ef388 100644 --- a/html/linux/113write-stream.subx.html +++ b/html/linux/113write-stream.subx.html @@ -15,15 +15,15 @@ body { font-size:12pt; font-family: monospace; color: #000000; background-color: a { color:inherit; } * { font-size:12pt; font-size: 1em; } .subxComment { color: #005faf; } +.subxS1Comment { color: #0000af; } .subxS2Comment { color: #8a8a8a; } .LineNr { } -.subxFunction { color: #af5f00; text-decoration: underline; } -.subxS1Comment { color: #0000af; } .Constant { color: #008787; } -.Normal { color: #000000; background-color: #ffffd7; padding-bottom: 1px; } .subxMinorFunction { color: #875f5f; } -.subxTest { color: #5f8700; } +.subxFunction { color: #af5f00; text-decoration: underline; } +.Normal { color: #000000; background-color: #ffffd7; padding-bottom: 1px; } .CommentedCode { color: #8a8a8a; } +.subxTest { color: #5f8700; } --> </style> @@ -71,7 +71,7 @@ if ('onhashchange' in window) { <span id="L10" class="LineNr"> 10 </span><span class="CommentedCode">#? 68/push _test-stream2/imm32</span> <span id="L11" class="LineNr"> 11 </span><span class="CommentedCode">#? 68/push 1/imm32/stdout</span> <span id="L12" class="LineNr"> 12 </span><span class="CommentedCode">#? e8/call write-stream/disp32</span> -<span id="L13" class="LineNr"> 13 </span><span class="CommentedCode">#? # syscall(exit, Num-test-failures)</span> +<span id="L13" class="LineNr"> 13 </span><span class="CommentedCode">#? # syscall_exit(Num-test-failures)</span> <span id="L14" class="LineNr"> 14 </span><span class="CommentedCode">#? 8b/copy 0/mod/indirect 5/rm32/.disp32 . . 3/r32/ebx Num-test-failures/disp32 # copy *Num-test-failures to ebx</span> <span id="L15" class="LineNr"> 15 </span><span class="CommentedCode">#? e8/call syscall_exit/disp32</span> <span id="L16" class="LineNr"> 16 </span> @@ -152,7 +152,7 @@ if ('onhashchange' in window) { <span id="L91" class="LineNr"> 91 </span> 8b/copy 1/mod/*+disp8 6/rm32/esi <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 7/r32/edi 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(esi+4) to edi</span> <span id="L92" class="LineNr"> 92 </span> <span class="subxComment"># edx = s->write</span> <span id="L93" class="LineNr"> 93 </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="L94" class="LineNr"> 94 </span> <span class="subxComment"># syscall(write, fd, &s->data[s->read], s->write - s->read)</span> +<span id="L94" class="LineNr"> 94 </span> <span class="subxComment"># syscall_write(fd, &s->data[s->read], s->write - s->read)</span> <span id="L95" class="LineNr"> 95 </span> <span class="subxS2Comment"># . . fd: ebx</span> <span id="L96" class="LineNr"> 96 </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="L97" class="LineNr"> 97 </span> <span class="subxS2Comment"># . . data: ecx = &s->data[s->read]</span> @@ -187,7 +187,7 @@ if ('onhashchange' in window) { <span id="L126" class="LineNr">126 </span> e8/call <a href='101_write.subx.html#L12'>_write</a>/disp32 <span id="L127" class="LineNr">127 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L128" class="LineNr">128 </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="L129" class="LineNr">129 </span> <span class="subxS1Comment"># . syscall(exit, 1)</span> +<span id="L129" class="LineNr">129 </span> <span class="subxS1Comment"># . syscall_exit(1)</span> <span id="L130" class="LineNr">130 </span> bb/copy-to-ebx 1/imm32 <span id="L131" class="LineNr">131 </span> e8/call <a href='000init.subx.html#L18'>syscall_exit</a>/disp32 <span id="L132" class="LineNr">132 </span> <span class="subxComment"># never gets here</span> |