diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-01-27 00:39:46 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-01-27 00:39:46 -0800 |
commit | 2104d1a75b76dbffc0b15a96c98d94e7a16594e8 (patch) | |
tree | 2a839b86e76431a9bbe4bf155f7411171a26d7f8 /html/079emit.subx.html | |
parent | 71eb22a5bf94f5fa0a3c95212450e3c6a1a6a990 (diff) | |
download | mu-2104d1a75b76dbffc0b15a96c98d94e7a16594e8.tar.gz |
5925
Diffstat (limited to 'html/079emit.subx.html')
-rw-r--r-- | html/079emit.subx.html | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/html/079emit.subx.html b/html/079emit.subx.html index a0505be1..233ebed6 100644 --- a/html/079emit.subx.html +++ b/html/079emit.subx.html @@ -68,7 +68,7 @@ if ('onhashchange' in window) { <span id="L7" class="LineNr"> 7 </span><span class="subxComment"># it in 'width' bytes of hex, least significant first.</span> <span id="L8" class="LineNr"> 8 </span><span class="subxComment"># Otherwise just print the entire word including metadata.</span> <span id="L9" class="LineNr"> 9 </span><span class="subxComment"># Always print a trailing space.</span> -<span id="L10" class="LineNr"> 10 </span><span class="subxFunction">emit</span>: <span class="subxComment"># out : (addr buffered-file), word : (addr slice), width : int</span> +<span id="L10" class="LineNr"> 10 </span><span class="subxFunction">emit</span>: <span class="subxComment"># out: (addr buffered-file), word: (addr slice), width: int</span> <span id="L11" class="LineNr"> 11 </span> <span class="subxS1Comment"># . prologue</span> <span id="L12" class="LineNr"> 12 </span> 55/push-ebp <span id="L13" class="LineNr"> 13 </span> 89/copy 3/mod/direct 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ebp</span> @@ -78,7 +78,7 @@ if ('onhashchange' in window) { <span id="L17" class="LineNr"> 17 </span> 57/push-edi <span id="L18" class="LineNr"> 18 </span> <span class="subxComment"># esi = word</span> <span id="L19" class="LineNr"> 19 </span> 8b/copy 1/mod/*+disp8 5/rm32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 6/r32/esi 0xc/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy *(ebp+12) to esi</span> -<span id="L20" class="LineNr"> 20 </span> <span class="subxComment"># var datum/edi : slice</span> +<span id="L20" class="LineNr"> 20 </span> <span class="subxComment"># var datum/edi: slice</span> <span id="L21" class="LineNr"> 21 </span> 68/push 0/imm32/end <span id="L22" class="LineNr"> 22 </span> 68/push 0/imm32/start <span id="L23" class="LineNr"> 23 </span> 89/copy 3/mod/direct 7/rm32/edi <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to edi</span> @@ -129,7 +129,7 @@ if ('onhashchange' in window) { <span id="L68" class="LineNr"> 68 </span> <span class="subxComment"># want to make sure that valid names aren't treated as (valid) hex</span> <span id="L69" class="LineNr"> 69 </span> <span class="subxComment"># numbers.)</span> <span id="L70" class="LineNr"> 70 </span><span class="Constant">$emit:hex-int</span>: -<span id="L71" class="LineNr"> 71 </span> <span class="subxS1Comment"># . var value/eax : int = parse-hex-int(datum)</span> +<span id="L71" class="LineNr"> 71 </span> <span class="subxS1Comment"># . var value/eax: int = parse-hex-int(datum)</span> <span id="L72" class="LineNr"> 72 </span> <span class="subxS2Comment"># . . push args</span> <span id="L73" class="LineNr"> 73 </span> 57/push-edi <span id="L74" class="LineNr"> 74 </span> <span class="subxS2Comment"># . . call</span> @@ -181,7 +181,7 @@ if ('onhashchange' in window) { <span id="L120" class="LineNr">120 </span> 8b/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 *eax to ecx</span> <span id="L121" class="LineNr">121 </span> 8d/copy-address 1/mod/*+disp8 4/rm32/sib 0/base/eax 1/index/ecx <span class="Normal"> . </span> 1/r32/ecx 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy eax+ecx+4 to ecx</span> <span id="L122" class="LineNr">122 </span> 05/add-to-eax 4/imm32 -<span id="L123" class="LineNr">123 </span> <span class="subxComment"># var slice/ecx : slice = {eax, ecx}</span> +<span id="L123" class="LineNr">123 </span> <span class="subxComment"># var slice/ecx: slice = {eax, ecx}</span> <span id="L124" class="LineNr">124 </span> 51/push-ecx <span id="L125" class="LineNr">125 </span> 50/push-eax <span id="L126" class="LineNr">126 </span> 89/copy 3/mod/direct 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ecx</span> @@ -240,7 +240,7 @@ if ('onhashchange' in window) { <span id="L179" class="LineNr">179 </span> 8b/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 *eax to ecx</span> <span id="L180" class="LineNr">180 </span> 8d/copy-address 1/mod/*+disp8 4/rm32/sib 0/base/eax 1/index/ecx <span class="Normal"> . </span> 1/r32/ecx 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy eax+ecx+4 to ecx</span> <span id="L181" class="LineNr">181 </span> 05/add-to-eax 4/imm32 -<span id="L182" class="LineNr">182 </span> <span class="subxComment"># var slice/ecx : slice = {eax, ecx}</span> +<span id="L182" class="LineNr">182 </span> <span class="subxComment"># var slice/ecx: slice = {eax, ecx}</span> <span id="L183" class="LineNr">183 </span> 51/push-ecx <span id="L184" class="LineNr">184 </span> 50/push-eax <span id="L185" class="LineNr">185 </span> 89/copy 3/mod/direct 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ecx</span> @@ -298,7 +298,7 @@ if ('onhashchange' in window) { <span id="L237" class="LineNr">237 </span> 8b/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 *eax to ecx</span> <span id="L238" class="LineNr">238 </span> 8d/copy-address 1/mod/*+disp8 4/rm32/sib 0/base/eax 1/index/ecx <span class="Normal"> . </span> 1/r32/ecx 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy eax+ecx+4 to ecx</span> <span id="L239" class="LineNr">239 </span> 05/add-to-eax 4/imm32 -<span id="L240" class="LineNr">240 </span> <span class="subxComment"># var slice/ecx : slice = {eax, ecx}</span> +<span id="L240" class="LineNr">240 </span> <span class="subxComment"># var slice/ecx: slice = {eax, ecx}</span> <span id="L241" class="LineNr">241 </span> 51/push-ecx <span id="L242" class="LineNr">242 </span> 50/push-eax <span id="L243" class="LineNr">243 </span> 89/copy 3/mod/direct 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ecx</span> @@ -357,7 +357,7 @@ if ('onhashchange' in window) { <span id="L296" class="LineNr">296 </span> 8b/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 *eax to ecx</span> <span id="L297" class="LineNr">297 </span> 8d/copy-address 1/mod/*+disp8 4/rm32/sib 0/base/eax 1/index/ecx <span class="Normal"> . </span> 1/r32/ecx 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy eax+ecx+4 to ecx</span> <span id="L298" class="LineNr">298 </span> 05/add-to-eax 4/imm32 -<span id="L299" class="LineNr">299 </span> <span class="subxComment"># var slice/ecx : slice = {eax, ecx}</span> +<span id="L299" class="LineNr">299 </span> <span class="subxComment"># var slice/ecx: slice = {eax, ecx}</span> <span id="L300" class="LineNr">300 </span> 51/push-ecx <span id="L301" class="LineNr">301 </span> 50/push-eax <span id="L302" class="LineNr">302 </span> 89/copy 3/mod/direct 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ecx</span> @@ -415,7 +415,7 @@ if ('onhashchange' in window) { <span id="L354" class="LineNr">354 </span> 8b/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 *eax to ecx</span> <span id="L355" class="LineNr">355 </span> 8d/copy-address 1/mod/*+disp8 4/rm32/sib 0/base/eax 1/index/ecx <span class="Normal"> . </span> 1/r32/ecx 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy eax+ecx+4 to ecx</span> <span id="L356" class="LineNr">356 </span> 05/add-to-eax 4/imm32 -<span id="L357" class="LineNr">357 </span> <span class="subxComment"># var slice/ecx : slice = {eax, ecx}</span> +<span id="L357" class="LineNr">357 </span> <span class="subxComment"># var slice/ecx: slice = {eax, ecx}</span> <span id="L358" class="LineNr">358 </span> 51/push-ecx <span id="L359" class="LineNr">359 </span> 50/push-eax <span id="L360" class="LineNr">360 </span> 89/copy 3/mod/direct 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ecx</span> @@ -473,7 +473,7 @@ if ('onhashchange' in window) { <span id="L412" class="LineNr">412 </span> 8b/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 *eax to ecx</span> <span id="L413" class="LineNr">413 </span> 8d/copy-address 1/mod/*+disp8 4/rm32/sib 0/base/eax 1/index/ecx <span class="Normal"> . </span> 1/r32/ecx 4/disp8 <span class="Normal"> . </span> <span class="subxComment"># copy eax+ecx+4 to ecx</span> <span id="L414" class="LineNr">414 </span> 05/add-to-eax 4/imm32 -<span id="L415" class="LineNr">415 </span> <span class="subxComment"># var slice/ecx : slice = {eax, ecx}</span> +<span id="L415" class="LineNr">415 </span> <span class="subxComment"># var slice/ecx: slice = {eax, ecx}</span> <span id="L416" class="LineNr">416 </span> 51/push-ecx <span id="L417" class="LineNr">417 </span> 50/push-eax <span id="L418" class="LineNr">418 </span> 89/copy 3/mod/direct 1/rm32/ecx <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 4/r32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy esp to ecx</span> |