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/linux/tile/float-stack.mu.html | 33 ++++++++++++++++----------------- 1 file changed, 16 insertions(+), 17 deletions(-) (limited to 'html/linux/tile/float-stack.mu.html') diff --git a/html/linux/tile/float-stack.mu.html b/html/linux/tile/float-stack.mu.html index 5a092a31..e0c25c97 100644 --- a/html/linux/tile/float-stack.mu.html +++ b/html/linux/tile/float-stack.mu.html @@ -14,17 +14,16 @@ 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; } -.muRegEcx { color: #af875f; } -.Special { color: #ff6060; } +.PreProc { color: #c000c0; } +.muRegEdx { color: #af5f00; } .LineNr { } -.muRegEdx { color: #878700; } -.muRegEax { color: #875f00; } -.muRegEsi { color: #87d787; } -.muRegEdi { color: #87ffd7; } +.Constant { color: #008787; } +.muRegEsi { color: #005faf; } +.muRegEdi { color: #00af00; } +.muRegEcx { color: #870000; } .Delimiter { color: #c000c0; } .muFunction { color: #af5f00; text-decoration: underline; } -.Constant { color: #008787; } -.PreProc { color: #c000c0; } +.Special { color: #ff6060; } --> @@ -69,13 +68,13 @@ if ('onhashchange' in window) { 7 var self/esi: (addr float-stack) <- copy _self 8 var d/edi: (addr handle array float) <- get self, data 9 populate d, n -10 var top/eax: (addr int) <- get self, top +10 var top/eax: (addr int) <- get self, top 11 copy-to *top, 0 12 } 13 14 fn clear-float-stack _self: (addr float-stack) { 15 var self/esi: (addr float-stack) <- copy _self -16 var top/eax: (addr int) <- get self, top +16 var top/eax: (addr int) <- get self, top 17 copy-to *top, 0 18 } 19 @@ -83,7 +82,7 @@ if ('onhashchange' in window) { 21 var self/esi: (addr float-stack) <- copy _self 22 var top-addr/ecx: (addr int) <- get self, top 23 var data-ah/edx: (addr handle array float) <- get self, data -24 var data/eax: (addr array float) <- lookup *data-ah +24 var data/eax: (addr array float) <- lookup *data-ah 25 var top/edx: int <- copy *top-addr 26 var dest-addr/edx: (addr float) <- index data, top 27 var val/xmm0: float <- copy _val @@ -102,15 +101,15 @@ if ('onhashchange' in window) { 40 } 41 subtract-from *top-addr, 1 42 var data-ah/edx: (addr handle array float) <- get self, data -43 var data/eax: (addr array float) <- lookup *data-ah +43 var data/eax: (addr array float) <- lookup *data-ah 44 var top/edx: int <- copy *top-addr -45 var result-addr/eax: (addr float) <- index data, top +45 var result-addr/eax: (addr float) <- index data, top 46 return *result-addr 47 } 48 -49 fn float-stack-empty? _self: (addr float-stack) -> _/eax: boolean { +49 fn float-stack-empty? _self: (addr float-stack) -> _/eax: boolean { 50 var self/esi: (addr float-stack) <- copy _self -51 var top-addr/eax: (addr int) <- get self, top +51 var top-addr/eax: (addr int) <- get self, top 52 compare *top-addr, 0 53 { 54 break-if-!= @@ -119,9 +118,9 @@ if ('onhashchange' in window) { 57 return 0/false 58 } 59 -60 fn float-stack-length _self: (addr float-stack) -> _/eax: int { +60 fn float-stack-length _self: (addr float-stack) -> _/eax: int { 61 var self/esi: (addr float-stack) <- copy _self -62 var top-addr/eax: (addr int) <- get self, top +62 var top-addr/eax: (addr int) <- get self, top 63 return *top-addr 64 } -- cgit 1.4.1-2-gfad0