diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-08-15 23:44:43 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-08-15 23:44:43 -0700 |
commit | 52e3ea8a4bec791e4c2d64fb8aca9e26cdf60f25 (patch) | |
tree | 331a98b558b8d638348b3e93ce4ef036ae70130c /html/310copy-bytes.subx.html | |
parent | 8765064d6910c65ea5ed5526b27e9752df000c3d (diff) | |
download | mu-52e3ea8a4bec791e4c2d64fb8aca9e26cdf60f25.tar.gz |
.
Diffstat (limited to 'html/310copy-bytes.subx.html')
-rw-r--r-- | html/310copy-bytes.subx.html | 38 |
1 files changed, 19 insertions, 19 deletions
diff --git a/html/310copy-bytes.subx.html b/html/310copy-bytes.subx.html index e5ce0e39..859eb844 100644 --- a/html/310copy-bytes.subx.html +++ b/html/310copy-bytes.subx.html @@ -1,30 +1,30 @@ -<!DOCTYPE html> +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html> <head> -<meta charset="UTF-8"> +<meta http-equiv="content-type" content="text/html; charset=UTF-8"> <title>Mu - 310copy-bytes.subx</title> -<meta name="Generator" content="Vim/8.2"> -<meta name="plugin-version" content="vim8.1_v2"> +<meta name="Generator" content="Vim/8.1"> +<meta name="plugin-version" content="vim8.1_v1"> <meta name="syntax" content="none"> -<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy=,use_input_for_pc=fallback"> +<meta name="settings" content="number_lines,use_css,pre_wrap,no_foldcolumn,expand_tabs,line_ids,prevent_copy="> <meta name="colorscheme" content="minimal-light"> -<style> +<style type="text/css"> <!-- pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-color: #ffffd7; } body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; } a { color:inherit; } * { font-size:12pt; font-size: 1em; } +.SpecialChar { color: #d70000; } .subxComment { color: #005faf; } +.subxS1Comment { color: #0000af; } .LineNr { } +.subxTest { color: #5f8700; } .subxFunction { color: #af5f00; text-decoration: underline; } -.subxS1Comment { color: #0000af; } -.SpecialChar { color: #d70000; } .Constant { color: #008787; } -.subxTest { color: #5f8700; } --> </style> -<script> +<script type='text/javascript'> <!-- /* function to open any folds containing a jumped-to line before jumping to it */ @@ -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#L556'>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#L568'>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#L223'>lookup</a> *eax *(eax+4)) <span class="subxComment"># => eax</span> +<span id="L81" class="LineNr"> 81 </span> (<a href='120allocate.subx.html#L235'>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,10 +156,10 @@ 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#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="L101" class="LineNr">101 </span> (<a href='106stream.subx.html#L20'>clear-stream</a> <a href='112read-byte.subx.html#L79'>_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#L79'>_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#L47'>_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#L79'>_test-input-stream</a>) <span class="subxComment"># => eax</span> <span id="L105" class="LineNr">105 </span> 8b/-> *$_test-input-stream->read 0/r32/eax <span id="L106" class="LineNr">106 </span> (<a href='502test.mu.html#L2'>check-ints-equal</a> %eax 1 <span class="Constant">"F - <a href='310copy-bytes.subx.html#L96'>test-stream-to-array</a>/pre"</span>) <span id="L107" class="LineNr">107 </span> <span class="subxComment"># var out/ecx: (handle array byte)</span> @@ -167,8 +167,8 @@ if ('onhashchange' in window) { <span id="L109" class="LineNr">109 </span> 68/push 0/imm32 <span id="L110" class="LineNr">110 </span> 89/<- %ecx 4/r32/esp <span id="L111" class="LineNr">111 </span> <span class="subxComment">#</span> -<span id="L112" class="LineNr">112 </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="L113" class="LineNr">113 </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='310copy-bytes.subx.html#L60'>stream-to-array</a> <a href='112read-byte.subx.html#L79'>_test-input-stream</a> %ecx) +<span id="L113" class="LineNr">113 </span> (<a href='120allocate.subx.html#L235'>lookup</a> *ecx *(ecx+4)) <span class="subxComment"># => eax</span> <span id="L114" class="LineNr">114 </span> (<a href='105string-equal.subx.html#L213'>check-strings-equal</a> %eax <span class="Constant">"bc"</span> <span class="Constant">"F - test-stream-to-array"</span>) <span id="L115" class="LineNr">115 </span> 8b/-> *$_test-input-stream->read 0/r32/eax <span id="L116" class="LineNr">116 </span> (<a href='502test.mu.html#L2'>check-ints-equal</a> %eax 1 <span class="Constant">"F - <a href='310copy-bytes.subx.html#L96'>test-stream-to-array</a>/read-pointer-not-perturbed"</span>) @@ -197,13 +197,13 @@ if ('onhashchange' in window) { <span id="L139" class="LineNr">139 </span> 7c/jump-if-< $unquote-stream-to-array:end/disp8 <span id="L140" class="LineNr">140 </span> 81 5/subop/subtract %ecx 2/imm32 <span id="L141" class="LineNr">141 </span> <span class="subxComment"># allocate</span> -<span id="L142" class="LineNr">142 </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="L142" class="LineNr">142 </span> (<a href='120allocate.subx.html#L568'>allocate-array</a> <span class="SpecialChar"><a href='120allocate.subx.html#L27'>Heap</a></span> %ecx *(ebp+0xc)) <span id="L143" class="LineNr">143 </span> <span class="subxComment"># var in/edx: (addr byte) = s->data + s->read + 1</span> <span id="L144" class="LineNr">144 </span> 8b/-> *(esi+4) 2/r32/edx <span id="L145" class="LineNr">145 </span> 8d/copy-address *(esi+edx+0xd) 2/r32/edx <span class="subxComment"># Stream-data + 1</span> <span id="L146" class="LineNr">146 </span> <span class="subxComment"># var dest/eax: (addr byte) = data for out</span> <span id="L147" class="LineNr">147 </span> 8b/-> *(ebp+0xc) 0/r32/eax -<span id="L148" class="LineNr">148 </span> (<a href='120allocate.subx.html#L223'>lookup</a> *eax *(eax+4)) <span class="subxComment"># => eax</span> +<span id="L148" class="LineNr">148 </span> (<a href='120allocate.subx.html#L235'>lookup</a> *eax *(eax+4)) <span class="subxComment"># => eax</span> <span id="L149" class="LineNr">149 </span> 8d/copy-address *(eax+4) 0/r32/eax <span id="L150" class="LineNr">150 </span> <span class="subxComment">#</span> <span id="L151" class="LineNr">151 </span> (<a href='310copy-bytes.subx.html#L6'>copy-bytes</a> %edx %eax %ecx) |