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/083subx-widths.subx.html | |
parent | 540974343290cb9ac0cf55b999447bf563928612 (diff) | |
download | mu-b1635a5c8e25650a19999c246be321a0794eb58a.tar.gz |
5701
Diffstat (limited to 'html/083subx-widths.subx.html')
-rw-r--r-- | html/083subx-widths.subx.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/html/083subx-widths.subx.html b/html/083subx-widths.subx.html index bcee493a..33e8728f 100644 --- a/html/083subx-widths.subx.html +++ b/html/083subx-widths.subx.html @@ -63,7 +63,7 @@ if ('onhashchange' in window) { <span id="L4" class="LineNr"> 4 </span><span class="subxS1Comment"># . 1-3 bytes 3 bits 2 bits 3 bits 3 bits 3 bits 2 bits 2 bits 0/1/2/4 bytes 0/1/2/4 bytes</span> <span id="L5" class="LineNr"> 5 </span> <span id="L6" class="LineNr"> 6 </span><span class="subxFunction">compute-width</span>: <span class="subxComment"># word : (address array byte) -> eax : int</span> -<span id="L7" class="LineNr"> 7 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L7" class="LineNr"> 7 </span> <span class="subxS1Comment"># . prologue</span> <span id="L8" class="LineNr"> 8 </span> 55/push-ebp <span id="L9" class="LineNr"> 9 </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="L10" class="LineNr"> 10 </span> <span class="subxS1Comment"># . save registers</span> @@ -91,13 +91,13 @@ if ('onhashchange' in window) { <span id="L32" class="LineNr"> 32 </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> 8/imm32 <span class="subxComment"># add to esp</span> <span id="L33" class="LineNr"> 33 </span> <span class="subxS1Comment"># . restore registers</span> <span id="L34" class="LineNr"> 34 </span> 59/pop-to-ecx -<span id="L35" class="LineNr"> 35 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L35" class="LineNr"> 35 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L36" class="LineNr"> 36 </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="L37" class="LineNr"> 37 </span> 5d/pop-to-ebp <span id="L38" class="LineNr"> 38 </span> c3/return <span id="L39" class="LineNr"> 39 </span> <span id="L40" class="LineNr"> 40 </span><span class="subxFunction">compute-width-of-slice</span>: <span class="subxComment"># s : (address slice) -> eax : int</span> -<span id="L41" class="LineNr"> 41 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L41" class="LineNr"> 41 </span> <span class="subxS1Comment"># . prologue</span> <span id="L42" class="LineNr"> 42 </span> 55/push-ebp <span id="L43" class="LineNr"> 43 </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="L44" class="LineNr"> 44 </span> <span class="subxS1Comment"># . save registers</span> @@ -161,13 +161,13 @@ if ('onhashchange' in window) { <span id="L102" class="LineNr">102 </span><span class="Constant">$compute-width-of-slice:end</span>: <span id="L103" class="LineNr">103 </span> <span class="subxS1Comment"># . restore registers</span> <span id="L104" class="LineNr">104 </span> 59/pop-to-ecx -<span id="L105" class="LineNr">105 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L105" class="LineNr">105 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L106" class="LineNr">106 </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="L107" class="LineNr">107 </span> 5d/pop-to-ebp <span id="L108" class="LineNr">108 </span> c3/return <span id="L109" class="LineNr">109 </span> <span id="L110" class="LineNr">110 </span><span class="subxTest">test-compute-width</span>: -<span id="L111" class="LineNr">111 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L111" class="LineNr">111 </span> <span class="subxS1Comment"># . prologue</span> <span id="L112" class="LineNr">112 </span> 55/push-ebp <span id="L113" class="LineNr">113 </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="L114" class="LineNr">114 </span><span class="Constant">$test-compute-width:imm8</span>: @@ -289,7 +289,7 @@ if ('onhashchange' in window) { <span id="L230" class="LineNr">230 </span> e8/call <a href='051test.subx.html#L24'>check-ints-equal</a>/disp32 <span id="L231" class="LineNr">231 </span> <span class="subxS2Comment"># . . discard args</span> <span id="L232" class="LineNr">232 </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="L233" class="LineNr">233 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L233" class="LineNr">233 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L234" class="LineNr">234 </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="L235" class="LineNr">235 </span> 5d/pop-to-ebp <span id="L236" class="LineNr">236 </span> c3/return |