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-26 20:55:36 -0700
committerKartik Agaram <vc@akkartik.com>2021-06-26 20:55:36 -0700
commit372367f59a897162912d0646158bdea1e07d6e66 (patch)
tree16cd7f70de3505f35fbc86ed2b7d3810cab0d148 /html/ex5.mu.html
parentdc5a0acf3feea227d03a98cedf427d2aef462320 (diff)
downloadmu-372367f59a897162912d0646158bdea1e07d6e66.tar.gz
html: better highlighting for int registers
Diffstat (limited to 'html/ex5.mu.html')
-rw-r--r--html/ex5.mu.html11
1 files changed, 5 insertions, 6 deletions
diff --git a/html/ex5.mu.html b/html/ex5.mu.html
index 6c4a91e7..cc216a53 100644
--- a/html/ex5.mu.html
+++ b/html/ex5.mu.html
@@ -14,14 +14,13 @@ 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; }
-.muComment { color: #005faf; }
-.LineNr { }
+.PreProc { color: #c000c0; }
 .Special { color: #ff6060; }
-.muRegEax { color: #875f00; }
+.LineNr { }
+.Constant { color: #008787; }
 .Delimiter { color: #c000c0; }
 .muFunction { color: #af5f00; text-decoration: underline; }
-.Constant { color: #008787; }
-.PreProc { color: #c000c0; }
+.muComment { color: #005faf; }
 -->
 </style>
 
@@ -70,7 +69,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="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="L14" class="LineNr">14 </span>  <span class="PreProc">var</span> dummy/eax: 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>