diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-06-15 21:50:13 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-06-15 21:50:13 -0700 |
commit | dd60caa3f51c5117c0193f8f3272e1c7f5230eb7 (patch) | |
tree | 4ea39cbf1550767a5004c450b807cf5c968ac5fa /html/503manhattan-line.mu.html | |
parent | 678c9366331641111c05b4508988405c4400f026 (diff) | |
download | mu-dd60caa3f51c5117c0193f8f3272e1c7f5230eb7.tar.gz |
.
Diffstat (limited to 'html/503manhattan-line.mu.html')
-rw-r--r-- | html/503manhattan-line.mu.html | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/html/503manhattan-line.mu.html b/html/503manhattan-line.mu.html index f6633818..ddba64d2 100644 --- a/html/503manhattan-line.mu.html +++ b/html/503manhattan-line.mu.html @@ -16,7 +16,7 @@ a { color:inherit; } * { font-size:12pt; font-size: 1em; } .PreProc { color: #c000c0; } .LineNr { } -.Constant { color: #008787; } +.muRegEax { color: #875f00; } .Delimiter { color: #c000c0; } .muFunction { color: #af5f00; text-decoration: underline; } .Special { color: #ff6060; } @@ -63,7 +63,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="Constant">eax</span>: int <span class="Special"><-</span> copy x1 +<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="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 +74,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="Constant">eax</span>: int <span class="Special"><-</span> copy y1 +<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="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> |