about summary refs log tree commit diff stats
path: root/html/ex3.mu.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/ex3.mu.html')
-rw-r--r--html/ex3.mu.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/html/ex3.mu.html b/html/ex3.mu.html
index b7217423..f1fce2c5 100644
--- a/html/ex3.mu.html
+++ b/html/ex3.mu.html
@@ -18,6 +18,9 @@ a { color:inherit; }
 .Special { color: #ff6060; }
 .LineNr { }
 .Constant { color: #008787; }
+.muRegEdx { color: #878700; }
+.muRegEcx { color: #af875f; }
+.muRegEax { color: #875f00; }
 .Delimiter { color: #c000c0; }
 .muFunction { color: #af5f00; text-decoration: underline; }
 .muComment { color: #005faf; }
@@ -70,10 +73,10 @@ if ('onhashchange' in window) {
 <span id="L12" class="LineNr">12 </span><span class="muComment"># screen every time you press a key (letter or digit)</span>
 <span id="L13" class="LineNr">13 </span>
 <span id="L14" class="LineNr">14 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex3.mu.html#L14'>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="L15" class="LineNr">15 </span>  <span class="PreProc">var</span> x/<span class="Constant">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L16" class="LineNr">16 </span>  <span class="PreProc">var</span> y/<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="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
+<span id="L16" class="LineNr">16 </span>  <span class="PreProc">var</span> y/<span class="muRegEdx">edx</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L17" class="LineNr">17 </span>  <span class="Delimiter">{</span>
-<span id="L18" class="LineNr">18 </span>    <span class="PreProc">var</span> key/<span class="Constant">eax</span>: byte <span class="Special">&lt;-</span> <a href='102keyboard.subx.html#L21'>read-key</a> keyboard
+<span id="L18" class="LineNr">18 </span>    <span class="PreProc">var</span> key/<span class="muRegEax">eax</span>: byte <span class="Special">&lt;-</span> <a href='102keyboard.subx.html#L21'>read-key</a> keyboard
 <span id="L19" class="LineNr">19 </span>    compare key, <span class="Constant">0</span>
 <span id="L20" class="LineNr">20 </span>    <span class="PreProc">loop-if-=</span>  <span class="muComment"># busy wait</span>
 <span id="L21" class="LineNr">21 </span>    <a href='101screen.subx.html#L8'>pixel-on-real-screen</a> x, y, <span class="Constant">0x31</span>/green