From 372367f59a897162912d0646158bdea1e07d6e66 Mon Sep 17 00:00:00 2001 From: Kartik Agaram Date: Sat, 26 Jun 2021 20:55:36 -0700 Subject: html: better highlighting for int registers --- html/ex7.mu.html | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'html/ex7.mu.html') diff --git a/html/ex7.mu.html b/html/ex7.mu.html index dab97ffb..08050bc9 100644 --- a/html/ex7.mu.html +++ b/html/ex7.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; } --> @@ -70,11 +69,11 @@ if ('onhashchange' in window) { 11 # k, l. 12 13 fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk) { -14 var space/eax: grapheme <- copy 0x20 +14 var space/eax: grapheme <- copy 0x20 15 set-cursor-position screen, 0, 0 16 { 17 draw-cursor screen, space -18 var key/eax: byte <- read-key keyboard +18 var key/eax: byte <- read-key keyboard 19 { 20 compare key, 0x68/h 21 break-if-!= @@ -96,7 +95,7 @@ if ('onhashchange' in window) { 37 { 38 compare key, 0x6c/l 39 break-if-!= -40 var g/eax: code-point <- copy 0x2d/dash +40 var g/eax: code-point <- copy 0x2d/dash 41 draw-code-point-at-cursor screen, 0x2d/dash, 0x31/fg, 0/bg 42 move-cursor-right 0 43 } -- cgit 1.4.1-2-gfad0