about summary refs log tree commit diff stats
path: root/html/126write-int-decimal.subx.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-10-05 11:00:05 -0700
committerKartik Agaram <vc@akkartik.com>2020-10-05 11:00:05 -0700
commitd3a9db3aff54ea485f409eaaef3d8f56ad77f0dc (patch)
tree60858669ff7c5a5b041e4dacb8ffffa0a4b3e68a /html/126write-int-decimal.subx.html
parentf13576b5d273ef9175e938b15f55bb1ead22fb1d (diff)
downloadmu-d3a9db3aff54ea485f409eaaef3d8f56ad77f0dc.tar.gz
6958
Diffstat (limited to 'html/126write-int-decimal.subx.html')
-rw-r--r--html/126write-int-decimal.subx.html16
1 files changed, 8 insertions, 8 deletions
diff --git a/html/126write-int-decimal.subx.html b/html/126write-int-decimal.subx.html
index 3abbbbca..1b7c77af 100644
--- a/html/126write-int-decimal.subx.html
+++ b/html/126write-int-decimal.subx.html
@@ -16,12 +16,12 @@ a { color:inherit; }
 * { font-size:12pt; font-size: 1em; }
 .subxComment { color: #005faf; }
 .subxS2Comment { color: #8a8a8a; }
-.subxTest { color: #5f8700; }
-.subxFunction { color: #af5f00; text-decoration: underline; }
+.SpecialChar { color: #d70000; }
 .LineNr { }
+.subxTest { color: #5f8700; }
 .subxS1Comment { color: #0000af; }
 .CommentedCode { color: #8a8a8a; }
-.SpecialChar { color: #d70000; }
+.subxFunction { color: #af5f00; text-decoration: underline; }
 .Normal { color: #000000; background-color: #c6c6c6; padding-bottom: 1px; }
 .Folded { color: #080808; background-color: #949494; }
 .Constant { color: #008787; }
@@ -68,7 +68,7 @@ if ('onhashchange' in window) {
 <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-int32-decimal</span>:  <span class="subxComment"># out: (addr stream byte), n: int32</span>
+<span id="L8" class="LineNr">  8 </span><span class="subxFunction">write-int32-decimal</span>:  <span class="subxComment"># out: (addr stream byte), n: int</span>
 <span id="L9" class="LineNr">  9 </span>    <span class="subxComment"># works by generating characters from lowest to highest and pushing them</span>
 <span id="L10" class="LineNr"> 10 </span>    <span class="subxComment"># to the stack, before popping them one by one into the stream</span>
 <span id="L11" class="LineNr"> 11 </span>    <span class="subxComment">#</span>
@@ -298,7 +298,7 @@ if ('onhashchange' in window) {
 <span id="L235" class="LineNr">235 </span>    e8/call  <a href='126write-int-decimal.subx.html#L8'>write-int32-decimal</a>/disp32
 <span id="L236" class="LineNr">236 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L237" class="LineNr">237 </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="L238" class="Folded">238 </span><span class="Folded">+-- 26 lines: #?     # dump _test-stream ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------</span>
+<span id="L238" class="Folded">238 </span><span class="Folded">+-- 26 lines: #?     # dump _test-stream ------------------------------------------------------------------------------------------------------------------------------------------------</span>
 <span id="L264" class="LineNr">264 </span>    <span class="subxComment"># check-stream-equal(_test-stream, &quot;-9&quot;, msg)</span>
 <span id="L265" class="LineNr">265 </span>    <span class="subxS2Comment"># . . push args</span>
 <span id="L266" class="LineNr">266 </span>    68/push  <span class="Constant">&quot;F - test-write-int32-decimal-negative&quot;</span>/imm32
@@ -341,7 +341,7 @@ if ('onhashchange' in window) {
 <span id="L303" class="LineNr">303 </span>    <span class="subxS1Comment"># . end</span>
 <span id="L304" class="LineNr">304 </span>    c3/return
 <span id="L305" class="LineNr">305 </span>
-<span id="L306" class="LineNr">306 </span><span class="subxFunction">is-decimal-digit?</span>:  <span class="subxComment"># c: byte -&gt; result/eax: boolean</span>
+<span id="L306" class="LineNr">306 </span><span class="subxFunction">is-decimal-digit?</span>:  <span class="subxComment"># c: grapheme -&gt; result/eax: boolean</span>
 <span id="L307" class="LineNr">307 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L308" class="LineNr">308 </span>    55/push-ebp
 <span id="L309" class="LineNr">309 </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>
@@ -440,7 +440,7 @@ if ('onhashchange' in window) {
 <span id="L402" class="LineNr">402 </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="L403" class="LineNr">403 </span>    c3/return
 <span id="L404" class="LineNr">404 </span>
-<span id="L405" class="LineNr">405 </span><span class="subxFunction">to-decimal-digit</span>:  <span class="subxComment"># in: byte -&gt; out/eax: int</span>
+<span id="L405" class="LineNr">405 </span><span class="subxFunction">to-decimal-digit</span>:  <span class="subxComment"># in: grapheme -&gt; out/eax: int</span>
 <span id="L406" class="LineNr">406 </span>    <span class="subxS1Comment"># . prologue</span>
 <span id="L407" class="LineNr">407 </span>    55/push-ebp
 <span id="L408" class="LineNr">408 </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>
@@ -478,7 +478,7 @@ if ('onhashchange' in window) {
 <span id="L440" class="LineNr">440 </span>    68/push  <span class="SpecialChar"><a href='116write-buffered.subx.html#L209'>Stderr</a></span>/imm32
 <span id="L441" class="LineNr">441 </span>    <span class="subxS2Comment"># . . call</span>
 <span id="L442" class="LineNr">442 </span><span class="CommentedCode">#?     e8/call  write-byte-buffered/disp32</span>
-<span id="L443" class="LineNr">443 </span>    e8/call  <a href='117write-int-hex.subx.html#L266'>write-int32-hex-buffered</a>/disp32
+<span id="L443" class="LineNr">443 </span>    e8/call  <a href='117write-int-hex.subx.html#L288'>write-int32-hex-buffered</a>/disp32
 <span id="L444" class="LineNr">444 </span>    <span class="subxS2Comment"># . . discard args</span>
 <span id="L445" class="LineNr">445 </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="L446" class="LineNr">446 </span>    <span class="subxS1Comment"># . write-buffered(stderr, &quot;\n&quot;)</span>