about summary refs log tree commit diff stats
path: root/html/507line.mu.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/507line.mu.html')
-rw-r--r--html/507line.mu.html27
1 files changed, 13 insertions, 14 deletions
diff --git a/html/507line.mu.html b/html/507line.mu.html
index c2492436..93615766 100644
--- a/html/507line.mu.html
+++ b/html/507line.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; }
-.muRegEdx { color: #878700; }
-.muComment { color: #005faf; }
+.PreProc { color: #c000c0; }
+.Special { color: #ff6060; }
 .LineNr { }
 .Constant { color: #008787; }
-.Special { color: #ff6060; }
-.muRegEax { color: #875f00; }
+.muRegEbx { color: #5f00ff; }
+.muRegEdx { color: #af5f00; }
+.muRegEcx { color: #870000; }
 .Delimiter { color: #c000c0; }
 .muFunction { color: #af5f00; text-decoration: underline; }
-.muRegEbx { color: #8787af; }
-.muRegEcx { color: #af875f; }
-.PreProc { color: #c000c0; }
+.muComment { color: #005faf; }
 -->
 </style>
 
@@ -69,7 +68,7 @@ if ('onhashchange' in window) {
 <span id="L7" class="LineNr">  7 </span>  <span class="muComment"># dx = abs(x1-x0)</span>
 <span id="L8" class="LineNr">  8 </span>  <span class="PreProc">var</span> tmp2/<span class="muRegEcx">ecx</span>: int <span class="Special">&lt;-</span> copy x1
 <span id="L9" class="LineNr">  9 </span>  tmp2 <span class="Special">&lt;-</span> subtract x0
-<span id="L10" class="LineNr"> 10 </span>  <span class="PreProc">var</span> tmp/<span class="muRegEax">eax</span>: int <span class="Special">&lt;-</span> <a href='506math.mu.html#L1'>abs</a> tmp2
+<span id="L10" class="LineNr"> 10 </span>  <span class="PreProc">var</span> tmp/eax: int <span class="Special">&lt;-</span> <a href='506math.mu.html#L1'>abs</a> tmp2
 <span id="L11" class="LineNr"> 11 </span>  copy-to dx, tmp
 <span id="L12" class="LineNr"> 12 </span>  <span class="muComment"># sx = sgn(x1-x0)</span>
 <span id="L13" class="LineNr"> 13 </span>  tmp <span class="Special">&lt;-</span> <a href='506math.mu.html#L10'>sgn</a> tmp2
@@ -124,7 +123,7 @@ if ('onhashchange' in window) {
 <span id="L62" class="LineNr"> 62 </span><span class="Delimiter">}</span>
 <span id="L63" class="LineNr"> 63 </span>
 <span id="L64" class="LineNr"> 64 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='507line.mu.html#L64'>draw-horizontal-line</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), y: int, x0: int, x1: int, color: int <span class="Delimiter">{</span>
-<span id="L65" class="LineNr"> 65 </span>  <span class="PreProc">var</span> x/<span class="muRegEax">eax</span>: int <span class="Special">&lt;-</span> copy x0
+<span id="L65" class="LineNr"> 65 </span>  <span class="PreProc">var</span> x/eax: int <span class="Special">&lt;-</span> copy x0
 <span id="L66" class="LineNr"> 66 </span>  <span class="Delimiter">{</span>
 <span id="L67" class="LineNr"> 67 </span>    compare x, x1
 <span id="L68" class="LineNr"> 68 </span>    <span class="PreProc">break-if-&gt;=</span>
@@ -135,7 +134,7 @@ if ('onhashchange' in window) {
 <span id="L73" class="LineNr"> 73 </span><span class="Delimiter">}</span>
 <span id="L74" class="LineNr"> 74 </span>
 <span id="L75" class="LineNr"> 75 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='507line.mu.html#L75'>draw-vertical-line</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), x: int, y0: int, y1: int, color: int <span class="Delimiter">{</span>
-<span id="L76" class="LineNr"> 76 </span>  <span class="PreProc">var</span> y/<span class="muRegEax">eax</span>: int <span class="Special">&lt;-</span> copy y0
+<span id="L76" class="LineNr"> 76 </span>  <span class="PreProc">var</span> y/eax: int <span class="Special">&lt;-</span> copy y0
 <span id="L77" class="LineNr"> 77 </span>  <span class="Delimiter">{</span>
 <span id="L78" class="LineNr"> 78 </span>    compare y, y1
 <span id="L79" class="LineNr"> 79 </span>    <span class="PreProc">break-if-&gt;=</span>
@@ -146,7 +145,7 @@ if ('onhashchange' in window) {
 <span id="L84" class="LineNr"> 84 </span><span class="Delimiter">}</span>
 <span id="L85" class="LineNr"> 85 </span>
 <span id="L86" class="LineNr"> 86 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='507line.mu.html#L86'>draw-rect</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), xmin: int, ymin: int, xmax: int, ymax: int, color: int <span class="Delimiter">{</span>
-<span id="L87" class="LineNr"> 87 </span>  <span class="PreProc">var</span> y/<span class="muRegEax">eax</span>: int <span class="Special">&lt;-</span> copy ymin
+<span id="L87" class="LineNr"> 87 </span>  <span class="PreProc">var</span> y/eax: int <span class="Special">&lt;-</span> copy ymin
 <span id="L88" class="LineNr"> 88 </span>  <span class="Delimiter">{</span>
 <span id="L89" class="LineNr"> 89 </span>    compare y, ymax
 <span id="L90" class="LineNr"> 90 </span>    <span class="PreProc">break-if-&gt;=</span>
@@ -157,8 +156,8 @@ if ('onhashchange' in window) {
 <span id="L95" class="LineNr"> 95 </span><span class="Delimiter">}</span>
 <span id="L96" class="LineNr"> 96 </span>
 <span id="L97" class="LineNr"> 97 </span><span class="muComment"># 0 &lt;= u &lt;= 1</span>
-<span id="L98" class="LineNr"> 98 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='507line.mu.html#L98'>line-point</a></span> u: float, x0: int, x1: int<span class="PreProc"> -&gt; </span>_/<span class="muRegEax">eax</span>: int <span class="Delimiter">{</span>
-<span id="L99" class="LineNr"> 99 </span>  <span class="PreProc">var</span> one/<span class="muRegEax">eax</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">1</span>
+<span id="L98" class="LineNr"> 98 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='507line.mu.html#L98'>line-point</a></span> u: float, x0: int, x1: int<span class="PreProc"> -&gt; </span>_/eax: int <span class="Delimiter">{</span>
+<span id="L99" class="LineNr"> 99 </span>  <span class="PreProc">var</span> one/eax: int <span class="Special">&lt;-</span> copy <span class="Constant">1</span>
 <span id="L100" class="LineNr">100 </span>  <span class="PreProc">var</span> u-prime/<span class="Constant">xmm0</span>: float <span class="Special">&lt;-</span> convert one
 <span id="L101" class="LineNr">101 </span>  u-prime <span class="Special">&lt;-</span> subtract u
 <span id="L102" class="LineNr">102 </span>  <span class="PreProc">var</span> result/<span class="Constant">xmm1</span>: float <span class="Special">&lt;-</span> convert x0
@@ -166,7 +165,7 @@ if ('onhashchange' in window) {
 <span id="L104" class="LineNr">104 </span>  <span class="PreProc">var</span> term2/<span class="Constant">xmm2</span>: float <span class="Special">&lt;-</span> convert x1
 <span id="L105" class="LineNr">105 </span>  term2 <span class="Special">&lt;-</span> multiply u
 <span id="L106" class="LineNr">106 </span>  result <span class="Special">&lt;-</span> add term2
-<span id="L107" class="LineNr">107 </span>  <span class="PreProc">var</span> result/<span class="muRegEax">eax</span>: int <span class="Special">&lt;-</span> convert result
+<span id="L107" class="LineNr">107 </span>  <span class="PreProc">var</span> result/eax: int <span class="Special">&lt;-</span> convert result
 <span id="L108" class="LineNr">108 </span>  <span class="PreProc">return</span> result
 <span id="L109" class="LineNr">109 </span><span class="Delimiter">}</span>
 </pre>