diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-06-26 20:55:36 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-06-26 20:55:36 -0700 |
commit | 372367f59a897162912d0646158bdea1e07d6e66 (patch) | |
tree | 16cd7f70de3505f35fbc86ed2b7d3810cab0d148 /html/linux/407right-justify.mu.html | |
parent | dc5a0acf3feea227d03a98cedf427d2aef462320 (diff) | |
download | mu-372367f59a897162912d0646158bdea1e07d6e66.tar.gz |
html: better highlighting for int registers
Diffstat (limited to 'html/linux/407right-justify.mu.html')
-rw-r--r-- | html/linux/407right-justify.mu.html | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/html/linux/407right-justify.mu.html b/html/linux/407right-justify.mu.html index 56977b13..9406eb62 100644 --- a/html/linux/407right-justify.mu.html +++ b/html/linux/407right-justify.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; } +.PreProc { color: #c000c0; } +.Special { color: #ff6060; } .LineNr { } .Constant { color: #008787; } -.Special { color: #ff6060; } -.muRegEax { color: #875f00; } +.muRegEcx { color: #870000; } .Delimiter { color: #c000c0; } .muFunction { color: #af5f00; text-decoration: underline; } -.muRegEcx { color: #af875f; } -.PreProc { color: #c000c0; } +.muComment { color: #005faf; } --> </style> @@ -61,7 +60,7 @@ if ('onhashchange' in window) { <span id="L1" class="LineNr"> 1 </span><span class="muComment"># print 'n' with enough leading spaces to be right-justified in 'width'</span> <span id="L2" class="LineNr"> 2 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='407right-justify.mu.html#L2'>print-int32-decimal-right-justified</a></span> <a href='405screen.mu.html#L9'>screen</a>: (addr <a href='405screen.mu.html#L9'>screen</a>), n: int, _width: int <span class="Delimiter">{</span> <span id="L3" class="LineNr"> 3 </span> <span class="muComment"># tweak things for negative numbers</span> -<span id="L4" class="LineNr"> 4 </span> <span class="PreProc">var</span> n-width/<span class="muRegEax">eax</span>: int <span class="Special"><-</span> <a href='311decimal-int.subx.html#L312'>decimal-size</a> n +<span id="L4" class="LineNr"> 4 </span> <span class="PreProc">var</span> n-width/eax: int <span class="Special"><-</span> <a href='311decimal-int.subx.html#L312'>decimal-size</a> n <span id="L5" class="LineNr"> 5 </span> <span class="PreProc">var</span> width/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy _width <span id="L6" class="LineNr"> 6 </span> <span class="Delimiter">{</span> <span id="L7" class="LineNr"> 7 </span> compare n-width, width |