about summary refs log tree commit diff stats
path: root/html/ex5.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/ex5.mu.html
parent678c9366331641111c05b4508988405c4400f026 (diff)
downloadmu-dd60caa3f51c5117c0193f8f3272e1c7f5230eb7.tar.gz
.
Diffstat (limited to 'html/ex5.mu.html')
-rw-r--r--html/ex5.mu.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/html/ex5.mu.html b/html/ex5.mu.html
index f1595d7b..19d1f3fc 100644
--- a/html/ex5.mu.html
+++ b/html/ex5.mu.html
@@ -18,6 +18,7 @@ a { color:inherit; }
 .Special { color: #ff6060; }
 .LineNr { }
 .Constant { color: #008787; }
+.muRegEax { color: #875f00; }
 .Delimiter { color: #c000c0; }
 .muFunction { color: #af5f00; text-decoration: underline; }
 .muComment { color: #005faf; }
@@ -69,7 +70,7 @@ if ('onhashchange' in window) {
 <span id="L11" class="LineNr">11 </span><span class="muComment"># Expected output: text in green near the top-left corner of screen</span>
 <span id="L12" class="LineNr">12 </span>
 <span id="L13" class="LineNr">13 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex5.mu.html#L13'>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="L14" class="LineNr">14 </span>  <span class="PreProc">var</span> dummy/<span class="Constant">eax</span>: int <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L100'>draw-text-rightward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;hello from baremetal Mu!&quot;</span>, <span class="Constant">0x10</span>/x, <span class="Constant">0x400</span>/xmax, <span class="Constant">0x10</span>/y, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
+<span id="L14" class="LineNr">14 </span>  <span class="PreProc">var</span> dummy/<span class="muRegEax">eax</span>: int <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L100'>draw-text-rightward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;hello from baremetal Mu!&quot;</span>, <span class="Constant">0x10</span>/x, <span class="Constant">0x400</span>/xmax, <span class="Constant">0x10</span>/y, <span class="Constant">0xa</span>/fg, <span class="Constant">0</span>/bg
 <span id="L15" class="LineNr">15 </span>  dummy <span class="Special">&lt;-</span> <a href='501draw-text.mu.html#L100'>draw-text-rightward</a> <a href='500fake-screen.mu.html#L14'>screen</a>, <span class="Constant">&quot;you shouldn't see this&quot;</span>, <span class="Constant">0x10</span>/x, <span class="Constant">0xa0</span>/xmax, <span class="Constant">0x30</span>/y, <span class="Constant">3</span>/fg, <span class="Constant">0</span>/bg  <span class="muComment"># xmax is too narrow</span>
 <span id="L16" class="LineNr">16 </span><span class="Delimiter">}</span>
 </pre>