about summary refs log tree commit diff stats
path: root/html/078emit-hex.subx.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-01-27 00:39:46 -0800
committerKartik Agaram <vc@akkartik.com>2020-01-27 00:39:46 -0800
commit2104d1a75b76dbffc0b15a96c98d94e7a16594e8 (patch)
tree2a839b86e76431a9bbe4bf155f7411171a26d7f8 /html/078emit-hex.subx.html
parent71eb22a5bf94f5fa0a3c95212450e3c6a1a6a990 (diff)
downloadmu-2104d1a75b76dbffc0b15a96c98d94e7a16594e8.tar.gz
5925
Diffstat (limited to 'html/078emit-hex.subx.html')
-rw-r--r--html/078emit-hex.subx.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/html/078emit-hex.subx.html b/html/078emit-hex.subx.html
index 838851a6..cd6d982c 100644
--- a/html/078emit-hex.subx.html
+++ b/html/078emit-hex.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="subxComment"># print 'n' in hex in 'width' bytes in lower-endian order, with a space after every byte</span>
-<span id="L7" class="LineNr">  7 </span><span class="subxFunction">emit-hex</span>:  <span class="subxComment"># out : (addr buffered-file), n : int, width : int</span>
+<span id="L7" class="LineNr">  7 </span><span class="subxFunction">emit-hex</span>:  <span class="subxComment"># out: (addr buffered-file), n: int, width: int</span>
 <span id="L8" class="LineNr">  8 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L9" class="LineNr">  9 </span>    55/push-ebp
 <span id="L10" class="LineNr"> 10 </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>
@@ -79,7 +79,7 @@ if ('onhashchange' in window) {
 <span id="L20" class="LineNr"> 20 </span>    8b/copy                         1/mod/*+disp8   5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          3/r32/ebx   0xc/disp8      <span class="Normal"> . </span>                <span class="subxComment"># copy *(ebp+12) to ebx</span>
 <span id="L21" class="LineNr"> 21 </span>    <span class="subxComment"># edx = width</span>
 <span id="L22" class="LineNr"> 22 </span>    8b/copy                         1/mod/*+disp8   5/rm32/ebp   <span class="Normal"> . </span>         <span class="Normal"> . </span>           <span class="Normal"> . </span>          2/r32/edx   0x10/disp8     <span class="Normal"> . </span>                <span class="subxComment"># copy *(ebp+16) to edx</span>
-<span id="L23" class="LineNr"> 23 </span>    <span class="subxComment"># var curr/ecx : int = 0</span>
+<span id="L23" class="LineNr"> 23 </span>    <span class="subxComment"># var curr/ecx: int = 0</span>
 <span id="L24" class="LineNr"> 24 </span>    31/xor                          3/mod/direct    1/rm32/ecx   <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"># clear ecx</span>
 <span id="L25" class="LineNr"> 25 </span><span class="Constant">$emit-hex:loop</span>:
 <span id="L26" class="LineNr"> 26 </span>    <span class="subxComment"># if (curr &gt;= width) break</span>