about summary refs log tree commit diff stats
path: root/html/ex2.mu.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-06-15 21:50:13 -0700
committerKartik Agaram <vc@akkartik.com>2021-06-15 21:50:13 -0700
commitdd60caa3f51c5117c0193f8f3272e1c7f5230eb7 (patch)
tree4ea39cbf1550767a5004c450b807cf5c968ac5fa /html/ex2.mu.html
parent678c9366331641111c05b4508988405c4400f026 (diff)
downloadmu-dd60caa3f51c5117c0193f8f3272e1c7f5230eb7.tar.gz
.
Diffstat (limited to 'html/ex2.mu.html')
-rw-r--r--html/ex2.mu.html11
1 files changed, 7 insertions, 4 deletions
diff --git a/html/ex2.mu.html b/html/ex2.mu.html
index ee5edcd4..1a5dee6a 100644
--- a/html/ex2.mu.html
+++ b/html/ex2.mu.html
@@ -15,9 +15,12 @@ body { font-size:12pt; font-family: monospace; color: #000000; background-color:
 a { color:inherit; }
 * { font-size:12pt; font-size: 1em; }
 .PreProc { color: #c000c0; }
+.muRegEcx { color: #af875f; }
 .Special { color: #ff6060; }
 .LineNr { }
+.muRegEdx { color: #878700; }
 .Constant { color: #008787; }
+.muRegEax { color: #875f00; }
 .Delimiter { color: #c000c0; }
 .muFunction { color: #af5f00; text-decoration: underline; }
 .muComment { color: #005faf; }
@@ -66,17 +69,17 @@ if ('onhashchange' in window) {
 <span id="L8" class="LineNr"> 8 </span><span class="muComment">#   bochs -f bochsrc               # bochsrc loads code.img</span>
 <span id="L9" class="LineNr"> 9 </span>
 <span id="L10" class="LineNr">10 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex2.mu.html#L10'>main</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), keyboard: (addr keyboard), data-disk: (addr disk) <span class="Delimiter">{</span>
-<span id="L11" class="LineNr">11 </span>  <span class="PreProc">var</span> y/<span class="Constant">eax</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L11" class="LineNr">11 </span>  <span class="PreProc">var</span> y/<span class="muRegEax">eax</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L12" class="LineNr">12 </span>  <span class="Delimiter">{</span>
 <span id="L13" class="LineNr">13 </span>    compare y, <span class="Constant">0x300</span>/screen-height=<span class="Constant">768</span>
 <span id="L14" class="LineNr">14 </span>    <span class="PreProc">break-if-&gt;=</span>
-<span id="L15" class="LineNr">15 </span>    <span class="PreProc">var</span> x/<span class="Constant">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L15" class="LineNr">15 </span>    <span class="PreProc">var</span> x/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L16" class="LineNr">16 </span>    <span class="Delimiter">{</span>
 <span id="L17" class="LineNr">17 </span>      compare x, <span class="Constant">0x400</span>/screen-width=<span class="Constant">1024</span>
 <span id="L18" class="LineNr">18 </span>      <span class="PreProc">break-if-&gt;=</span>
-<span id="L19" class="LineNr">19 </span>      <span class="PreProc">var</span> color/<span class="Constant">ecx</span>: int <span class="Special">&lt;-</span> copy x
+<span id="L19" class="LineNr">19 </span>      <span class="PreProc">var</span> color/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy x
 <span id="L20" class="LineNr">20 </span>      color <span class="Special">&lt;-</span> and <span class="Constant">0xff</span>
-<span id="L21" class="LineNr">21 </span>      <a href='500fake-screen.mu.html#L463'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a> x, y, color
+<span id="L21" class="LineNr">21 </span>      <a href='500fake-screen.mu.html#L483'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a> x, y, color
 <span id="L22" class="LineNr">22 </span>      x <span class="Special">&lt;-</span> increment
 <span id="L23" class="LineNr">23 </span>      <span class="PreProc">loop</span>
 <span id="L24" class="LineNr">24 </span>    <span class="Delimiter">}</span>