diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-02-13 18:18:05 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-02-13 18:41:43 -0800 |
commit | 535fe9ac96dba0950efd1bfe6788801f6197971f (patch) | |
tree | 218270b512ce4175e3c7e3394d7b1a19ad84184b /html/baremetal/115write-byte.subx.html | |
parent | 9b5ead67eca1b6e1afeeba63e9c68b2790c26436 (diff) | |
download | mu-535fe9ac96dba0950efd1bfe6788801f6197971f.tar.gz |
7737
Diffstat (limited to 'html/baremetal/115write-byte.subx.html')
-rw-r--r-- | html/baremetal/115write-byte.subx.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/html/baremetal/115write-byte.subx.html b/html/baremetal/115write-byte.subx.html index 463ddc4d..002dc0c9 100644 --- a/html/baremetal/115write-byte.subx.html +++ b/html/baremetal/115write-byte.subx.html @@ -82,7 +82,7 @@ if ('onhashchange' in window) { <span id="L22" class="LineNr">22 </span> 8b/copy 0/mod/indirect 7/rm32/edi <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 1/r32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy *edi to ecx</span> <span id="L23" class="LineNr">23 </span> <span class="subxComment"># if (f->write >= f->size) abort</span> <span id="L24" class="LineNr">24 </span> 3b/compare 1/mod/*+disp8 7/rm32/edi <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 1/r32/ecx 8/disp8 <span class="Normal"> . </span> <span class="subxComment"># compare ecx with *(edi+8)</span> -<span id="L25" class="LineNr">25 </span> 7d/jump-if->= $append-byte:abort/disp8 +<span id="L25" class="LineNr">25 </span> 7d/jump-if->= $append-byte:<a href='501draw-text.mu.html#L519'>abort</a>/disp8 <span id="L26" class="LineNr">26 </span><span class="Constant">$append-byte:to-stream</span>: <span id="L27" class="LineNr">27 </span> <span class="subxComment"># write to stream</span> <span id="L28" class="LineNr">28 </span> <span class="subxComment"># f->data[f->write] = LSB(n)</span> @@ -100,8 +100,8 @@ if ('onhashchange' in window) { <span id="L40" class="LineNr">40 </span> 5d/pop-to-ebp <span id="L41" class="LineNr">41 </span> c3/return <span id="L42" class="LineNr">42 </span> -<span id="L43" class="LineNr">43 </span><span class="Constant">$append-byte:abort</span>: -<span id="L44" class="LineNr">44 </span> (<a href='501draw-text.mu.html#L206'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">"append-byte: out of space\n"</span> 3) <span class="subxComment"># 3=cyan</span> +<span id="L43" class="LineNr">43 </span><span class="Constant">$append-byte:<a href='501draw-text.mu.html#L519'>abort</a></span>: +<span id="L44" class="LineNr">44 </span> (<a href='501draw-text.mu.html#L222'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">"append-byte: out of space\n"</span> 3 0) <span class="subxComment"># 3=cyan</span> <span id="L45" class="LineNr">45 </span> { <span id="L46" class="LineNr">46 </span> eb/jump <span class="Constant">loop</span>/disp8 <span id="L47" class="LineNr">47 </span> } @@ -131,7 +131,7 @@ if ('onhashchange' in window) { <span id="L71" class="LineNr">71 </span> 68/push <span class="Constant">"A"</span>/imm32 <span id="L72" class="LineNr">72 </span> 68/push <a href='108write.subx.html#L125'>_test-stream</a>/imm32 <span id="L73" class="LineNr">73 </span> <span class="subxS2Comment"># . . call</span> -<span id="L74" class="LineNr">74 </span> e8/call <a href='109stream-equal.subx.html#L197'>check-stream-equal</a>/disp32 +<span id="L74" class="LineNr">74 </span> e8/call <a href='109stream-equal.subx.html#L194'>check-stream-equal</a>/disp32 <span id="L75" class="LineNr">75 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L76" class="LineNr">76 </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="L77" class="LineNr">77 </span> <span class="subxS1Comment"># . end</span> |