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/503manhattan-line.mu.html | |
parent | dc5a0acf3feea227d03a98cedf427d2aef462320 (diff) | |
download | mu-372367f59a897162912d0646158bdea1e07d6e66.tar.gz |
html: better highlighting for int registers
Diffstat (limited to 'html/503manhattan-line.mu.html')
-rw-r--r-- | html/503manhattan-line.mu.html | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/html/503manhattan-line.mu.html b/html/503manhattan-line.mu.html index b9877a31..7dde0592 100644 --- a/html/503manhattan-line.mu.html +++ b/html/503manhattan-line.mu.html @@ -14,12 +14,11 @@ 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; } -.Special { color: #ff6060; } +.PreProc { color: #c000c0; } .LineNr { } -.muRegEax { color: #875f00; } .Delimiter { color: #c000c0; } .muFunction { color: #af5f00; text-decoration: underline; } -.PreProc { color: #c000c0; } +.Special { color: #ff6060; } --> </style> @@ -63,7 +62,7 @@ if ('onhashchange' in window) { <span id="L6" class="LineNr"> 6 </span><span class="Delimiter">}</span> <span id="L7" class="LineNr"> 7 </span> <span id="L8" class="LineNr"> 8 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='503manhattan-line.mu.html#L8'>draw-horizontal-line-on-real-screen</a></span> x1: int, x2: int, y: int, color: int <span class="Delimiter">{</span> -<span id="L9" class="LineNr"> 9 </span> <span class="PreProc">var</span> x/<span class="muRegEax">eax</span>: int <span class="Special"><-</span> copy x1 +<span id="L9" class="LineNr"> 9 </span> <span class="PreProc">var</span> x/eax: int <span class="Special"><-</span> copy x1 <span id="L10" class="LineNr">10 </span> <span class="Delimiter">{</span> <span id="L11" class="LineNr">11 </span> compare x, x2 <span id="L12" class="LineNr">12 </span> <span class="PreProc">break-if->=</span> @@ -74,7 +73,7 @@ if ('onhashchange' in window) { <span id="L17" class="LineNr">17 </span><span class="Delimiter">}</span> <span id="L18" class="LineNr">18 </span> <span id="L19" class="LineNr">19 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='503manhattan-line.mu.html#L19'>draw-vertical-line-on-real-screen</a></span> x: int, y1: int, y2: int, color: int <span class="Delimiter">{</span> -<span id="L20" class="LineNr">20 </span> <span class="PreProc">var</span> y/<span class="muRegEax">eax</span>: int <span class="Special"><-</span> copy y1 +<span id="L20" class="LineNr">20 </span> <span class="PreProc">var</span> y/eax: int <span class="Special"><-</span> copy y1 <span id="L21" class="LineNr">21 </span> <span class="Delimiter">{</span> <span id="L22" class="LineNr">22 </span> compare y, y2 <span id="L23" class="LineNr">23 </span> <span class="PreProc">break-if->=</span> |