about summary refs log tree commit diff stats
path: root/html/linux/advent2017/1a.mu.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-06-26 20:55:36 -0700
committerKartik Agaram <vc@akkartik.com>2021-06-26 20:55:36 -0700
commit372367f59a897162912d0646158bdea1e07d6e66 (patch)
tree16cd7f70de3505f35fbc86ed2b7d3810cab0d148 /html/linux/advent2017/1a.mu.html
parentdc5a0acf3feea227d03a98cedf427d2aef462320 (diff)
downloadmu-372367f59a897162912d0646158bdea1e07d6e66.tar.gz
html: better highlighting for int registers
Diffstat (limited to 'html/linux/advent2017/1a.mu.html')
-rw-r--r--html/linux/advent2017/1a.mu.html29
1 files changed, 14 insertions, 15 deletions
diff --git a/html/linux/advent2017/1a.mu.html b/html/linux/advent2017/1a.mu.html
index 75fe7df9..dd31070e 100644
--- a/html/linux/advent2017/1a.mu.html
+++ b/html/linux/advent2017/1a.mu.html
@@ -14,18 +14,17 @@ pre { white-space: pre-wrap; font-family: monospace; color: #000000; background-
 body { font-size:12pt; font-family: monospace; color: #000000; background-color: #ffffd7; }
 a { color:inherit; }
 * { font-size:12pt; font-size: 1em; }
-.muRegEax { color: #875f00; }
-.muComment { color: #005faf; }
-.LineNr { }
-.muRegEdx { color: #878700; }
+.PreProc { color: #c000c0; }
+.muRegEdx { color: #af5f00; }
 .Special { color: #ff6060; }
-.muRegEsi { color: #87d787; }
-.muRegEdi { color: #87ffd7; }
+.LineNr { }
+.muRegEsi { color: #005faf; }
+.muRegEbx { color: #5f00ff; }
+.Constant { color: #008787; }
+.muRegEdi { color: #00af00; }
 .Delimiter { color: #c000c0; }
 .muFunction { color: #af5f00; text-decoration: underline; }
-.muRegEbx { color: #8787af; }
-.Constant { color: #008787; }
-.PreProc { color: #c000c0; }
+.muComment { color: #005faf; }
 -->
 </style>
 
@@ -83,16 +82,16 @@ if ('onhashchange' in window) {
 <span id="L20" class="LineNr">20 </span>  <span class="PreProc">var</span> sum/<span class="muRegEdi">edi</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L21" class="LineNr">21 </span>  <a href='../305keyboard.subx.html#L158'>read-line-from-real-keyboard</a> input_stream_addr
 <span id="L22" class="LineNr">22 </span>
-<span id="L23" class="LineNr">23 </span>  <span class="PreProc">var</span> temp/<span class="muRegEax">eax</span>: int <span class="Special">&lt;-</span> <a href='1a.mu.html#L60'>read_digit</a> input_stream_addr
+<span id="L23" class="LineNr">23 </span>  <span class="PreProc">var</span> temp/eax: int <span class="Special">&lt;-</span> <a href='1a.mu.html#L60'>read_digit</a> input_stream_addr
 <span id="L24" class="LineNr">24 </span>  <span class="PreProc">var</span> first_digit/<span class="muRegEbx">ebx</span>: int <span class="Special">&lt;-</span> copy temp
 <span id="L25" class="LineNr">25 </span>  <span class="PreProc">var</span> this_digit/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy temp
 <span id="L26" class="LineNr">26 </span>
 <span id="L27" class="LineNr">27 </span>  <span class="Delimiter">{</span>
-<span id="L28" class="LineNr">28 </span>    <span class="PreProc">var</span> done?/<span class="muRegEax">eax</span>: boolean <span class="Special">&lt;-</span> <a href='../309stream.subx.html#L6'>stream-empty?</a> input_stream_addr
+<span id="L28" class="LineNr">28 </span>    <span class="PreProc">var</span> done?/eax: boolean <span class="Special">&lt;-</span> <a href='../309stream.subx.html#L6'>stream-empty?</a> input_stream_addr
 <span id="L29" class="LineNr">29 </span>    compare done?, <span class="Constant">1</span>
 <span id="L30" class="LineNr">30 </span>    <span class="PreProc">break-if-=</span>
 <span id="L31" class="LineNr">31 </span>
-<span id="L32" class="LineNr">32 </span>    <span class="PreProc">var</span> next_digit/<span class="muRegEax">eax</span>: int <span class="Special">&lt;-</span> <a href='1a.mu.html#L60'>read_digit</a> input_stream_addr
+<span id="L32" class="LineNr">32 </span>    <span class="PreProc">var</span> next_digit/eax: int <span class="Special">&lt;-</span> <a href='1a.mu.html#L60'>read_digit</a> input_stream_addr
 <span id="L33" class="LineNr">33 </span>    <span class="muComment"># hacky newline check</span>
 <span id="L34" class="LineNr">34 </span>    compare next_digit, <span class="Constant">0</span>
 <span id="L35" class="LineNr">35 </span>    <span class="PreProc">break-if-&lt;</span>
@@ -120,10 +119,10 @@ if ('onhashchange' in window) {
 <span id="L57" class="LineNr">57 </span>  <span class="PreProc">return</span> <span class="Constant">0</span>/ok
 <span id="L58" class="LineNr">58 </span><span class="Delimiter">}</span>
 <span id="L59" class="LineNr">59 </span>
-<span id="L60" class="LineNr">60 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='1a.mu.html#L60'>read_digit</a></span> input_stream_addr: (addr stream byte)<span class="PreProc"> -&gt; </span>_/<span class="muRegEax">eax</span>: int <span class="Delimiter">{</span>
-<span id="L61" class="LineNr">61 </span>  <span class="PreProc">var</span> next_digit/<span class="muRegEax">eax</span>: byte <span class="Special">&lt;-</span> <a href='../112read-byte.subx.html#L273'>read-byte</a> input_stream_addr
+<span id="L60" class="LineNr">60 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='1a.mu.html#L60'>read_digit</a></span> input_stream_addr: (addr stream byte)<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
+<span id="L61" class="LineNr">61 </span>  <span class="PreProc">var</span> next_digit/eax: byte <span class="Special">&lt;-</span> <a href='../112read-byte.subx.html#L273'>read-byte</a> input_stream_addr
 <span id="L62" class="LineNr">62 </span>  next_digit <span class="Special">&lt;-</span> subtract <span class="Constant">0x30</span>
-<span id="L63" class="LineNr">63 </span>  <span class="PreProc">var</span> next_digit/<span class="muRegEax">eax</span>: int <span class="Special">&lt;-</span> copy next_digit
+<span id="L63" class="LineNr">63 </span>  <span class="PreProc">var</span> next_digit/eax: int <span class="Special">&lt;-</span> copy next_digit
 <span id="L64" class="LineNr">64 </span>  <span class="PreProc">return</span> next_digit
 <span id="L65" class="LineNr">65 </span><span class="Delimiter">}</span>
 </pre>