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/ex10.mu.html | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) (limited to 'html/ex10.mu.html') diff --git a/html/ex10.mu.html b/html/ex10.mu.html index 5037bd98..2627880c 100644 --- a/html/ex10.mu.html +++ b/html/ex10.mu.html @@ -14,15 +14,14 @@ 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 { } -.muRegEcx { color: #af875f; } +.PreProc { color: #c000c0; } .Special { color: #ff6060; } -.muRegEax { color: #875f00; } +.LineNr { } +.Constant { color: #008787; } +.muRegEcx { color: #870000; } .Delimiter { color: #c000c0; } .muFunction { color: #af5f00; text-decoration: underline; } -.Constant { color: #008787; } -.PreProc { color: #c000c0; } +.muComment { color: #005faf; } --> @@ -74,7 +73,7 @@ if ('onhashchange' in window) { 14 fn main screen: (addr screen), keyboard: (addr keyboard), data-disk: (addr disk) { 15 # repeatedly print out mouse driver results if non-zero 16 $main:event-loop: { -17 var dx/eax: int <- copy 0 +17 var dx/eax: int <- copy 0 18 var dy/ecx: int <- copy 0 19 dx, dy <- read-mouse-event 20 { @@ -85,7 +84,7 @@ if ('onhashchange' in window) { 25 loop $main:event-loop 26 } 27 { -28 var dummy1/eax: int <- copy 0 +28 var dummy1/eax: int <- copy 0 29 var dummy2/ecx: int <- copy 0 30 dummy1, dummy2 <- draw-text-wrapping-right-then-down-over-full-screen screen, " ", 0/x, 0x10/y, 0x31/fg, 0/bg 31 } @@ -94,7 +93,7 @@ if ('onhashchange' in window) { 34 dx, dummy <- draw-int32-decimal-wrapping-right-then-down-over-full-screen screen, dx, 0/x, 0x10/y, 0x31/fg, 0/bg 35 } 36 { -37 var dummy/eax: int <- copy 0 +37 var dummy/eax: int <- copy 0 38 dummy, dy <- draw-int32-decimal-wrapping-right-then-down-over-full-screen screen, dy, 5/x, 0x10/y, 0x31/fg, 0/bg 39 } 40 loop -- cgit 1.4.1-2-gfad0