diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-05-18 13:01:59 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-05-18 13:04:33 -0700 |
commit | 5396e24cba8390ca2d70d99c7e8772eee4ec3a11 (patch) | |
tree | b266edbb6c21db7904370d082a7966783fb9e9d4 /html/310copy-bytes.subx.html | |
parent | b4c0b12542c1f1a1e141ed0c8db2f6165af06e0f (diff) | |
download | mu-5396e24cba8390ca2d70d99c7e8772eee4ec3a11.tar.gz |
.
Diffstat (limited to 'html/310copy-bytes.subx.html')
-rw-r--r-- | html/310copy-bytes.subx.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/html/310copy-bytes.subx.html b/html/310copy-bytes.subx.html index d8fdba46..53cff9d8 100644 --- a/html/310copy-bytes.subx.html +++ b/html/310copy-bytes.subx.html @@ -130,13 +130,13 @@ if ('onhashchange' in window) { <span id="L72" class="LineNr"> 72 </span> 8b/-> *esi 1/r32/ecx <span id="L73" class="LineNr"> 73 </span> 2b/subtract *(esi+4) 1/r32/ecx <span id="L74" class="LineNr"> 74 </span> <span class="subxComment"># allocate</span> -<span id="L75" class="LineNr"> 75 </span> (<a href='120allocate.subx.html#L535'>allocate-array</a> <span class="SpecialChar"><a href='120allocate.subx.html#L27'>Heap</a></span> %ecx *(ebp+0xc)) +<span id="L75" class="LineNr"> 75 </span> (<a href='120allocate.subx.html#L556'>allocate-array</a> <span class="SpecialChar"><a href='120allocate.subx.html#L27'>Heap</a></span> %ecx *(ebp+0xc)) <span id="L76" class="LineNr"> 76 </span> <span class="subxComment"># var in/edx: (addr byte) = s->data + s->read</span> <span id="L77" class="LineNr"> 77 </span> 8b/-> *(esi+4) 2/r32/edx <span id="L78" class="LineNr"> 78 </span> 8d/copy-address *(esi+edx+0xc) 2/r32/edx <span id="L79" class="LineNr"> 79 </span> <span class="subxComment"># var dest/eax: (addr byte) = data for out</span> <span id="L80" class="LineNr"> 80 </span> 8b/-> *(ebp+0xc) 0/r32/eax -<span id="L81" class="LineNr"> 81 </span> (<a href='120allocate.subx.html#L226'>lookup</a> *eax *(eax+4)) <span class="subxComment"># => eax</span> +<span id="L81" class="LineNr"> 81 </span> (<a href='120allocate.subx.html#L223'>lookup</a> *eax *(eax+4)) <span class="subxComment"># => eax</span> <span id="L82" class="LineNr"> 82 </span> 8d/copy-address *(eax+4) 0/r32/eax <span id="L83" class="LineNr"> 83 </span> <span class="subxComment">#</span> <span id="L84" class="LineNr"> 84 </span> (<a href='310copy-bytes.subx.html#L6'>copy-bytes</a> %edx %eax %ecx) @@ -156,17 +156,17 @@ if ('onhashchange' in window) { <span id="L98" class="LineNr"> 98 </span> 55/push-ebp <span id="L99" class="LineNr"> 99 </span> 89/<- %ebp 4/r32/esp <span id="L100" class="LineNr">100 </span> <span class="subxComment"># setup</span> -<span id="L101" class="LineNr">101 </span> (<a href='106stream.subx.html#L20'>clear-stream</a> <a href='112read-byte.subx.html#L50'>_test-input-stream</a>) -<span id="L102" class="LineNr">102 </span> (<a href='108write.subx.html#L11'>write</a> <a href='112read-byte.subx.html#L50'>_test-input-stream</a> <span class="Constant">"abc"</span>) +<span id="L101" class="LineNr">101 </span> (<a href='106stream.subx.html#L20'>clear-stream</a> <a href='112read-byte.subx.html#L47'>_test-input-stream</a>) +<span id="L102" class="LineNr">102 </span> (<a href='108write.subx.html#L11'>write</a> <a href='112read-byte.subx.html#L47'>_test-input-stream</a> <span class="Constant">"abc"</span>) <span id="L103" class="LineNr">103 </span> <span class="subxComment"># skip something</span> -<span id="L104" class="LineNr">104 </span> (<a href='112read-byte.subx.html#L13'>read-byte</a> <a href='112read-byte.subx.html#L50'>_test-input-stream</a>) <span class="subxComment"># => eax</span> +<span id="L104" class="LineNr">104 </span> (<a href='112read-byte.subx.html#L13'>read-byte</a> <a href='112read-byte.subx.html#L47'>_test-input-stream</a>) <span class="subxComment"># => eax</span> <span id="L105" class="LineNr">105 </span> <span class="subxComment"># var out/ecx: (handle array byte)</span> <span id="L106" class="LineNr">106 </span> 68/push 0/imm32 <span id="L107" class="LineNr">107 </span> 68/push 0/imm32 <span id="L108" class="LineNr">108 </span> 89/<- %ecx 4/r32/esp <span id="L109" class="LineNr">109 </span> <span class="subxComment">#</span> -<span id="L110" class="LineNr">110 </span> (<a href='310copy-bytes.subx.html#L60'>stream-to-array</a> <a href='112read-byte.subx.html#L50'>_test-input-stream</a> %ecx) -<span id="L111" class="LineNr">111 </span> (<a href='120allocate.subx.html#L226'>lookup</a> *ecx *(ecx+4)) <span class="subxComment"># => eax</span> +<span id="L110" class="LineNr">110 </span> (<a href='310copy-bytes.subx.html#L60'>stream-to-array</a> <a href='112read-byte.subx.html#L47'>_test-input-stream</a> %ecx) +<span id="L111" class="LineNr">111 </span> (<a href='120allocate.subx.html#L223'>lookup</a> *ecx *(ecx+4)) <span class="subxComment"># => eax</span> <span id="L112" class="LineNr">112 </span> (<a href='105string-equal.subx.html#L213'>check-strings-equal</a> %eax <span class="Constant">"bc"</span>) <span id="L113" class="LineNr">113 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L114" class="LineNr">114 </span> 89/<- %esp 5/r32/ebp @@ -193,13 +193,13 @@ if ('onhashchange' in window) { <span id="L135" class="LineNr">135 </span> 7c/jump-if-< $unquote-stream-to-array:end/disp8 <span id="L136" class="LineNr">136 </span> 81 5/subop/subtract %ecx 2/imm32 <span id="L137" class="LineNr">137 </span> <span class="subxComment"># allocate</span> -<span id="L138" class="LineNr">138 </span> (<a href='120allocate.subx.html#L535'>allocate-array</a> <span class="SpecialChar"><a href='120allocate.subx.html#L27'>Heap</a></span> %ecx *(ebp+0xc)) +<span id="L138" class="LineNr">138 </span> (<a href='120allocate.subx.html#L556'>allocate-array</a> <span class="SpecialChar"><a href='120allocate.subx.html#L27'>Heap</a></span> %ecx *(ebp+0xc)) <span id="L139" class="LineNr">139 </span> <span class="subxComment"># var in/edx: (addr byte) = s->data + s->read + 1</span> <span id="L140" class="LineNr">140 </span> 8b/-> *(esi+4) 2/r32/edx <span id="L141" class="LineNr">141 </span> 8d/copy-address *(esi+edx+0xd) 2/r32/edx <span class="subxComment"># Stream-data + 1</span> <span id="L142" class="LineNr">142 </span> <span class="subxComment"># var dest/eax: (addr byte) = data for out</span> <span id="L143" class="LineNr">143 </span> 8b/-> *(ebp+0xc) 0/r32/eax -<span id="L144" class="LineNr">144 </span> (<a href='120allocate.subx.html#L226'>lookup</a> *eax *(eax+4)) <span class="subxComment"># => eax</span> +<span id="L144" class="LineNr">144 </span> (<a href='120allocate.subx.html#L223'>lookup</a> *eax *(eax+4)) <span class="subxComment"># => eax</span> <span id="L145" class="LineNr">145 </span> 8d/copy-address *(eax+4) 0/r32/eax <span id="L146" class="LineNr">146 </span> <span class="subxComment">#</span> <span id="L147" class="LineNr">147 </span> (<a href='310copy-bytes.subx.html#L6'>copy-bytes</a> %edx %eax %ecx) |