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/123slice.subx.html | |
parent | 9b5ead67eca1b6e1afeeba63e9c68b2790c26436 (diff) | |
download | mu-535fe9ac96dba0950efd1bfe6788801f6197971f.tar.gz |
7737
Diffstat (limited to 'html/baremetal/123slice.subx.html')
-rw-r--r-- | html/baremetal/123slice.subx.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/html/baremetal/123slice.subx.html b/html/baremetal/123slice.subx.html index 312af093..1c6925f7 100644 --- a/html/baremetal/123slice.subx.html +++ b/html/baremetal/123slice.subx.html @@ -880,7 +880,7 @@ if ('onhashchange' in window) { <span id="L819" class="LineNr"> 819 </span> 73/jump-if-addr>= $write-slice:loop-end/disp8 <span id="L820" class="LineNr"> 820 </span> <span class="subxComment"># if (out->write >= out->size) abort</span> <span id="L821" class="LineNr"> 821 </span> 39/compare 3/mod/direct 3/rm32/ebx <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"># compare ebx with edx</span> -<span id="L822" class="LineNr"> 822 </span> 7d/jump-if->= $write-slice:abort/disp8 +<span id="L822" class="LineNr"> 822 </span> 7d/jump-if->= $write-slice:<a href='501draw-text.mu.html#L519'>abort</a>/disp8 <span id="L823" class="LineNr"> 823 </span> <span class="subxComment"># out->data[out->write] = *in</span> <span id="L824" class="LineNr"> 824 </span> <span class="subxS1Comment"># . AL = *in</span> <span id="L825" class="LineNr"> 825 </span> 31/xor 3/mod/direct 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># clear eax</span> @@ -908,8 +908,8 @@ if ('onhashchange' in window) { <span id="L847" class="LineNr"> 847 </span> 5d/pop-to-ebp <span id="L848" class="LineNr"> 848 </span> c3/return <span id="L849" class="LineNr"> 849 </span> -<span id="L850" class="LineNr"> 850 </span><span class="Constant">$write-slice:abort</span>: -<span id="L851" class="LineNr"> 851 </span> (<a href='501draw-text.mu.html#L206'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">"write-slice: out of space"</span> 3) <span class="subxComment"># 3=cyan</span> +<span id="L850" class="LineNr"> 850 </span><span class="Constant">$write-slice:<a href='501draw-text.mu.html#L519'>abort</a></span>: +<span id="L851" class="LineNr"> 851 </span> (<a href='501draw-text.mu.html#L222'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">"write-slice: out of space"</span> 3 0) <span class="subxComment"># 3=cyan</span> <span id="L852" class="LineNr"> 852 </span> { <span id="L853" class="LineNr"> 853 </span> eb/jump <span class="Constant">loop</span>/disp8 <span id="L854" class="LineNr"> 854 </span> } @@ -950,7 +950,7 @@ if ('onhashchange' in window) { <span id="L889" class="LineNr"> 889 </span> 68/push <span class="Constant">"Abc"</span>/imm32 <span id="L890" class="LineNr"> 890 </span> 68/push <a href='108write.subx.html#L125'>_test-stream</a>/imm32 <span id="L891" class="LineNr"> 891 </span> <span class="subxS2Comment"># . . call</span> -<span id="L892" class="LineNr"> 892 </span> e8/call <a href='109stream-equal.subx.html#L197'>check-stream-equal</a>/disp32 +<span id="L892" class="LineNr"> 892 </span> e8/call <a href='109stream-equal.subx.html#L194'>check-stream-equal</a>/disp32 <span id="L893" class="LineNr"> 893 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L894" class="LineNr"> 894 </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="L895" class="LineNr"> 895 </span> <span class="subxS1Comment"># . epilogue</span> @@ -995,7 +995,7 @@ if ('onhashchange' in window) { <span id="L934" class="LineNr"> 934 </span> 05/add-to-eax 4/imm32 <span id="L935" class="LineNr"> 935 </span> <span class="subxComment"># if (eax == 0) abort</span> <span id="L936" class="LineNr"> 936 </span> 3d/compare-eax-and 0/imm32 -<span id="L937" class="LineNr"> 937 </span> 74/jump-if-= $slice-to-string:abort/disp8 +<span id="L937" class="LineNr"> 937 </span> 74/jump-if-= $slice-to-string:<a href='501draw-text.mu.html#L519'>abort</a>/disp8 <span id="L938" class="LineNr"> 938 </span> <span class="subxComment"># out->size = size-4</span> <span id="L939" class="LineNr"> 939 </span> 89/copy 0/mod/indirect 0/rm32/eax <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 ecx to *eax</span> <span id="L940" class="LineNr"> 940 </span> 81 5/subop/subtract 0/mod/indirect 0/rm32/eax <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/imm32 <span class="subxComment"># subtract 4 from *eax</span> @@ -1030,8 +1030,8 @@ if ('onhashchange' in window) { <span id="L969" class="LineNr"> 969 </span> 5d/pop-to-ebp <span id="L970" class="LineNr"> 970 </span> c3/return <span id="L971" class="LineNr"> 971 </span> -<span id="L972" class="LineNr"> 972 </span><span class="Constant">$slice-to-string:abort</span>: -<span id="L973" class="LineNr"> 973 </span> (<a href='501draw-text.mu.html#L206'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">"slice-to-string: out of space\n"</span> 3) <span class="subxComment"># 3=cyan</span> +<span id="L972" class="LineNr"> 972 </span><span class="Constant">$slice-to-string:<a href='501draw-text.mu.html#L519'>abort</a></span>: +<span id="L973" class="LineNr"> 973 </span> (<a href='501draw-text.mu.html#L222'>draw-text-wrapping-right-then-down-from-cursor-over-full-screen</a> 0 <span class="Constant">"slice-to-string: out of space\n"</span> 3 0) <span class="subxComment"># 3=cyan</span> <span id="L974" class="LineNr"> 974 </span> { <span id="L975" class="LineNr"> 975 </span> eb/jump <span class="Constant">loop</span>/disp8 <span id="L976" class="LineNr"> 976 </span> } @@ -1077,7 +1077,7 @@ if ('onhashchange' in window) { <span id="L1016" class="LineNr">1016 </span> 8b/copy 1/mod/*+disp8 3/rm32/ebx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 0/r32/eax 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(ebx+4) to eax</span> <span id="L1017" class="LineNr">1017 </span> <span class="subxComment"># skip payload->allocid</span> <span id="L1018" class="LineNr">1018 </span> 05/add-to-eax 4/imm32 -<span id="L1019" class="Folded">1019 </span><span class="Folded">+-- 26 lines: #? # dump eax ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span> +<span id="L1019" class="Folded">1019 </span><span class="Folded">+-- 26 lines: #? # dump eax ---------------------------------------------------------------------------------------------------------------------------------------------------------</span> <span id="L1045" class="LineNr">1045 </span> <span class="subxComment"># eax = string-equal?(eax, "Abc")</span> <span id="L1046" class="LineNr">1046 </span> <span class="subxS2Comment"># . . push args</span> <span id="L1047" class="LineNr">1047 </span> 68/push <span class="Constant">"Abc"</span>/imm32 |