diff options
Diffstat (limited to 'html/092write-int.subx.html')
-rw-r--r-- | html/092write-int.subx.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/html/092write-int.subx.html b/html/092write-int.subx.html index 7d29ecd2..431c0f04 100644 --- a/html/092write-int.subx.html +++ b/html/092write-int.subx.html @@ -58,15 +58,15 @@ if ('onhashchange' in window) { <body onload='JumpToLine();'> <a href='https://github.com/akkartik/mu/blob/master/092write-int.subx'>https://github.com/akkartik/mu/blob/master/092write-int.subx</a> <pre id='vimCodeElement'> -<span id="L1" class="LineNr"> 1 </span><span class="subxComment"># write-int: add a single int byte to a stream</span> +<span id="L1" class="LineNr"> 1 </span><span class="subxComment"># write-int: add a single int to a stream</span> <span id="L2" class="LineNr"> 2 </span> <span id="L3" class="LineNr"> 3 </span>== code <span id="L4" class="LineNr"> 4 </span><span class="subxComment"># instruction effective address register displacement immediate</span> <span id="L5" class="LineNr"> 5 </span><span class="subxS1Comment"># . op subop mod rm32 base index scale r32</span> <span id="L6" class="LineNr"> 6 </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="L7" class="LineNr"> 7 </span> -<span id="L8" class="LineNr"> 8 </span><span class="subxFunction">write-int</span>: <span class="subxComment"># out : (address stream), n : int -> <void></span> -<span id="L9" class="LineNr"> 9 </span> <span class="subxS1Comment"># . prolog</span> +<span id="L8" class="LineNr"> 8 </span><span class="subxFunction">write-int</span>: <span class="subxComment"># out : (address stream), n : int</span> +<span id="L9" class="LineNr"> 9 </span> <span class="subxS1Comment"># . prologue</span> <span id="L10" class="LineNr"> 10 </span> 55/push-ebp <span id="L11" class="LineNr"> 11 </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="L12" class="LineNr"> 12 </span> <span class="subxS1Comment"># . save registers</span> @@ -91,7 +91,7 @@ if ('onhashchange' in window) { <span id="L31" class="LineNr"> 31 </span> 5f/pop-to-edi <span id="L32" class="LineNr"> 32 </span> 59/pop-to-ecx <span id="L33" class="LineNr"> 33 </span> 58/pop-to-eax -<span id="L34" class="LineNr"> 34 </span> <span class="subxS1Comment"># . epilog</span> +<span id="L34" class="LineNr"> 34 </span> <span class="subxS1Comment"># . epilogue</span> <span id="L35" class="LineNr"> 35 </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="L36" class="LineNr"> 36 </span> 5d/pop-to-ebp <span id="L37" class="LineNr"> 37 </span> c3/return |