diff options
author | Kartik Agaram <vc@akkartik.com> | 2019-10-17 22:03:35 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2019-10-17 22:03:48 -0700 |
commit | b1635a5c8e25650a19999c246be321a0794eb58a (patch) | |
tree | a5ce06d138fac34b1e13fb1b06fd91b8b6c55712 /html/079emit.subx.html | |
parent | 540974343290cb9ac0cf55b999447bf563928612 (diff) | |
download | mu-b1635a5c8e25650a19999c246be321a0794eb58a.tar.gz |
5701
Diffstat (limited to 'html/079emit.subx.html')
-rw-r--r-- | html/079emit.subx.html | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/html/079emit.subx.html b/html/079emit.subx.html index 426a7c99..aa0f25de 100644 --- a/html/079emit.subx.html +++ b/html/079emit.subx.html @@ -68,8 +68,8 @@ 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 : (address buffered-file), word : (address slice), width : int -> <void></span> -<span id="L11" class="LineNr"> 11 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L10" class="LineNr"> 10 </span><span class="subxFunction">emit</span>: <span class="subxComment"># out : (address buffered-file), word : (address 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> <span id="L14" class="LineNr"> 14 </span> <span class="subxS1Comment"># . save registers</span> @@ -151,13 +151,13 @@ if ('onhashchange' in window) { <span id="L90" class="LineNr"> 90 </span> 5f/pop-to-edi <span id="L91" class="LineNr"> 91 </span> 5e/pop-to-esi <span id="L92" class="LineNr"> 92 </span> 58/pop-to-eax -<span id="L93" class="LineNr"> 93 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L93" class="LineNr"> 93 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L94" class="LineNr"> 94 </span> 89/copy 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy ebp to esp</span> <span id="L95" class="LineNr"> 95 </span> 5d/pop-to-ebp <span id="L96" class="LineNr"> 96 </span> c3/return <span id="L97" class="LineNr"> 97 </span> <span id="L98" class="LineNr"> 98 </span><span class="subxTest">test-emit-number</span>: -<span id="L99" class="LineNr"> 99 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L99" class="LineNr"> 99 </span> <span class="subxS1Comment"># . prologue</span> <span id="L100" class="LineNr">100 </span> 55/push-ebp <span id="L101" class="LineNr">101 </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> <span id="L102" class="LineNr">102 </span> <span class="subxComment"># setup</span> @@ -211,14 +211,14 @@ if ('onhashchange' in window) { <span id="L150" class="LineNr">150 </span> e8/call <a href='058stream-equal.subx.html#L193'>check-stream-equal</a>/disp32 <span id="L151" class="LineNr">151 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L152" class="LineNr">152 </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="L153" class="LineNr">153 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L153" class="LineNr">153 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L154" class="LineNr">154 </span> 89/copy 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy ebp to esp</span> <span id="L155" class="LineNr">155 </span> 5d/pop-to-ebp <span id="L156" class="LineNr">156 </span> c3/return <span id="L157" class="LineNr">157 </span> <span id="L158" class="LineNr">158 </span><span class="subxTest">test-emit-negative-number</span>: <span id="L159" class="LineNr">159 </span> <span class="subxComment"># test support for sign-extending negative numbers</span> -<span id="L160" class="LineNr">160 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L160" class="LineNr">160 </span> <span class="subxS1Comment"># . prologue</span> <span id="L161" class="LineNr">161 </span> 55/push-ebp <span id="L162" class="LineNr">162 </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> <span id="L163" class="LineNr">163 </span> <span class="subxComment"># setup</span> @@ -272,13 +272,13 @@ if ('onhashchange' in window) { <span id="L211" class="LineNr">211 </span> e8/call <a href='058stream-equal.subx.html#L193'>check-stream-equal</a>/disp32 <span id="L212" class="LineNr">212 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L213" class="LineNr">213 </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="L214" class="LineNr">214 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L214" class="LineNr">214 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L215" class="LineNr">215 </span> 89/copy 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy ebp to esp</span> <span id="L216" class="LineNr">216 </span> 5d/pop-to-ebp <span id="L217" class="LineNr">217 </span> c3/return <span id="L218" class="LineNr">218 </span> <span id="L219" class="LineNr">219 </span><span class="subxTest">test-emit-number-with-metadata</span>: -<span id="L220" class="LineNr">220 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L220" class="LineNr">220 </span> <span class="subxS1Comment"># . prologue</span> <span id="L221" class="LineNr">221 </span> 55/push-ebp <span id="L222" class="LineNr">222 </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> <span id="L223" class="LineNr">223 </span> <span class="subxComment"># setup</span> @@ -333,13 +333,13 @@ if ('onhashchange' in window) { <span id="L272" class="LineNr">272 </span> e8/call <a href='058stream-equal.subx.html#L193'>check-stream-equal</a>/disp32 <span id="L273" class="LineNr">273 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L274" class="LineNr">274 </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="L275" class="LineNr">275 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L275" class="LineNr">275 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L276" class="LineNr">276 </span> 89/copy 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy ebp to esp</span> <span id="L277" class="LineNr">277 </span> 5d/pop-to-ebp <span id="L278" class="LineNr">278 </span> c3/return <span id="L279" class="LineNr">279 </span> <span id="L280" class="LineNr">280 </span><span class="subxTest">test-emit-non-number</span>: -<span id="L281" class="LineNr">281 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L281" class="LineNr">281 </span> <span class="subxS1Comment"># . prologue</span> <span id="L282" class="LineNr">282 </span> 55/push-ebp <span id="L283" class="LineNr">283 </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> <span id="L284" class="LineNr">284 </span> <span class="subxComment"># setup</span> @@ -393,13 +393,13 @@ if ('onhashchange' in window) { <span id="L332" class="LineNr">332 </span> e8/call <a href='058stream-equal.subx.html#L193'>check-stream-equal</a>/disp32 <span id="L333" class="LineNr">333 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L334" class="LineNr">334 </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="L335" class="LineNr">335 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L335" class="LineNr">335 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L336" class="LineNr">336 </span> 89/copy 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy ebp to esp</span> <span id="L337" class="LineNr">337 </span> 5d/pop-to-ebp <span id="L338" class="LineNr">338 </span> c3/return <span id="L339" class="LineNr">339 </span> <span id="L340" class="LineNr">340 </span><span class="subxTest">test-emit-non-number-with-metadata</span>: -<span id="L341" class="LineNr">341 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L341" class="LineNr">341 </span> <span class="subxS1Comment"># . prologue</span> <span id="L342" class="LineNr">342 </span> 55/push-ebp <span id="L343" class="LineNr">343 </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> <span id="L344" class="LineNr">344 </span> <span class="subxComment"># setup</span> @@ -453,13 +453,13 @@ if ('onhashchange' in window) { <span id="L392" class="LineNr">392 </span> e8/call <a href='058stream-equal.subx.html#L193'>check-stream-equal</a>/disp32 <span id="L393" class="LineNr">393 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L394" class="LineNr">394 </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="L395" class="LineNr">395 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L395" class="LineNr">395 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L396" class="LineNr">396 </span> 89/copy 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy ebp to esp</span> <span id="L397" class="LineNr">397 </span> 5d/pop-to-ebp <span id="L398" class="LineNr">398 </span> c3/return <span id="L399" class="LineNr">399 </span> <span id="L400" class="LineNr">400 </span><span class="subxTest">test-emit-non-number-with-all-hex-digits-and-metadata</span>: -<span id="L401" class="LineNr">401 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L401" class="LineNr">401 </span> <span class="subxS1Comment"># . prologue</span> <span id="L402" class="LineNr">402 </span> 55/push-ebp <span id="L403" class="LineNr">403 </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> <span id="L404" class="LineNr">404 </span> <span class="subxComment"># setup</span> @@ -514,7 +514,7 @@ if ('onhashchange' in window) { <span id="L478" class="LineNr">478 </span> e8/call <a href='058stream-equal.subx.html#L193'>check-stream-equal</a>/disp32 <span id="L479" class="LineNr">479 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L480" class="LineNr">480 </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="L481" class="LineNr">481 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L481" class="LineNr">481 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L482" class="LineNr">482 </span> 89/copy 3/mod/direct 4/rm32/esp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="Normal"> . </span> 5/r32/ebp <span class="Normal"> . </span> <span class="Normal"> . </span> <span class="subxComment"># copy ebp to esp</span> <span id="L483" class="LineNr">483 </span> 5d/pop-to-ebp <span id="L484" class="LineNr">484 </span> c3/return |