diff options
Diffstat (limited to 'html/508circle.mu.html')
-rw-r--r-- | html/508circle.mu.html | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/html/508circle.mu.html b/html/508circle.mu.html index e64f840d..f1a901f2 100644 --- a/html/508circle.mu.html +++ b/html/508circle.mu.html @@ -15,9 +15,12 @@ body { font-size:12pt; font-family: monospace; color: #000000; background-color: a { color:inherit; } * { font-size:12pt; font-size: 1em; } .PreProc { color: #c000c0; } +.muRegEcx { color: #af875f; } .Special { color: #ff6060; } .LineNr { } +.muRegEdx { color: #878700; } .Constant { color: #008787; } +.muRegEax { color: #875f00; } .Delimiter { color: #c000c0; } .muFunction { color: #af5f00; text-decoration: underline; } .muComment { color: #005faf; } @@ -61,7 +64,7 @@ if ('onhashchange' in window) { <span id="L3" class="LineNr"> 3 </span> <span class="PreProc">var</span> y: int <span id="L4" class="LineNr"> 4 </span> <span class="PreProc">var</span> err: int <span id="L5" class="LineNr"> 5 </span> <span class="muComment"># x = -r</span> -<span id="L6" class="LineNr"> 6 </span> <span class="PreProc">var</span> tmp/<span class="Constant">eax</span>: int <span class="Special"><-</span> copy radius +<span id="L6" class="LineNr"> 6 </span> <span class="PreProc">var</span> tmp/<span class="muRegEax">eax</span>: int <span class="Special"><-</span> copy radius <span id="L7" class="LineNr"> 7 </span> tmp <span class="Special"><-</span> negate <span id="L8" class="LineNr"> 8 </span> copy-to x, tmp <span id="L9" class="LineNr"> 9 </span> <span class="muComment"># err = 2 - 2*r</span> @@ -71,33 +74,33 @@ if ('onhashchange' in window) { <span id="L13" class="LineNr">13 </span> tmp <span class="Special"><-</span> add <span class="Constant">2</span> <span id="L14" class="LineNr">14 </span> copy-to err, tmp <span id="L15" class="LineNr">15 </span> <span class="muComment">#</span> -<span id="L16" class="LineNr">16 </span> <span class="PreProc">var</span> tmpx/<span class="Constant">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> -<span id="L17" class="LineNr">17 </span> <span class="PreProc">var</span> tmpy/<span class="Constant">edx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> +<span id="L16" class="LineNr">16 </span> <span class="PreProc">var</span> tmpx/<span class="muRegEcx">ecx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> +<span id="L17" class="LineNr">17 </span> <span class="PreProc">var</span> tmpy/<span class="muRegEdx">edx</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L18" class="LineNr">18 </span> <span class="Delimiter">{</span> <span id="L19" class="LineNr">19 </span> <span class="muComment"># pixel(cx-x, cy+y)</span> <span id="L20" class="LineNr">20 </span> tmpx <span class="Special"><-</span> copy cx <span id="L21" class="LineNr">21 </span> tmpx <span class="Special"><-</span> subtract x <span id="L22" class="LineNr">22 </span> tmpy <span class="Special"><-</span> copy cy <span id="L23" class="LineNr">23 </span> tmpy <span class="Special"><-</span> add y -<span id="L24" class="LineNr">24 </span> <a href='500fake-screen.mu.html#L463'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, tmpx, tmpy, color +<span id="L24" class="LineNr">24 </span> <a href='500fake-screen.mu.html#L483'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, tmpx, tmpy, color <span id="L25" class="LineNr">25 </span> <span class="muComment"># pixel(cx-y, cy-x)</span> <span id="L26" class="LineNr">26 </span> tmpx <span class="Special"><-</span> copy cx <span id="L27" class="LineNr">27 </span> tmpx <span class="Special"><-</span> subtract y <span id="L28" class="LineNr">28 </span> tmpy <span class="Special"><-</span> copy cy <span id="L29" class="LineNr">29 </span> tmpy <span class="Special"><-</span> subtract x -<span id="L30" class="LineNr">30 </span> <a href='500fake-screen.mu.html#L463'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, tmpx, tmpy, color +<span id="L30" class="LineNr">30 </span> <a href='500fake-screen.mu.html#L483'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, tmpx, tmpy, color <span id="L31" class="LineNr">31 </span> <span class="muComment"># pixel(cx+x, cy-y)</span> <span id="L32" class="LineNr">32 </span> tmpx <span class="Special"><-</span> copy cx <span id="L33" class="LineNr">33 </span> tmpx <span class="Special"><-</span> add x <span id="L34" class="LineNr">34 </span> tmpy <span class="Special"><-</span> copy cy <span id="L35" class="LineNr">35 </span> tmpy <span class="Special"><-</span> subtract y -<span id="L36" class="LineNr">36 </span> <a href='500fake-screen.mu.html#L463'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, tmpx, tmpy, color +<span id="L36" class="LineNr">36 </span> <a href='500fake-screen.mu.html#L483'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, tmpx, tmpy, color <span id="L37" class="LineNr">37 </span> <span class="muComment"># pixel(cx+y, cy+x)</span> <span id="L38" class="LineNr">38 </span> tmpx <span class="Special"><-</span> copy cx <span id="L39" class="LineNr">39 </span> tmpx <span class="Special"><-</span> add y <span id="L40" class="LineNr">40 </span> tmpy <span class="Special"><-</span> copy cy <span id="L41" class="LineNr">41 </span> tmpy <span class="Special"><-</span> add x -<span id="L42" class="LineNr">42 </span> <a href='500fake-screen.mu.html#L463'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, tmpx, tmpy, color +<span id="L42" class="LineNr">42 </span> <a href='500fake-screen.mu.html#L483'>pixel</a> <a href='500fake-screen.mu.html#L14'>screen</a>, tmpx, tmpy, color <span id="L43" class="LineNr">43 </span> <span class="muComment"># r = err</span> <span id="L44" class="LineNr">44 </span> tmp <span class="Special"><-</span> copy err <span id="L45" class="LineNr">45 </span> copy-to radius, tmp @@ -136,7 +139,7 @@ if ('onhashchange' in window) { <span id="L78" class="LineNr">78 </span><span class="Delimiter">}</span> <span id="L79" class="LineNr">79 </span> <span id="L80" class="LineNr">80 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='508circle.mu.html#L80'>draw-disc</a></span> <a href='500fake-screen.mu.html#L14'>screen</a>: (addr <a href='500fake-screen.mu.html#L14'>screen</a>), cx: int, cy: int, radius: int, color: int, border-color: int <span class="Delimiter">{</span> -<span id="L81" class="LineNr">81 </span> <span class="PreProc">var</span> r/<span class="Constant">eax</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> +<span id="L81" class="LineNr">81 </span> <span class="PreProc">var</span> r/<span class="muRegEax">eax</span>: int <span class="Special"><-</span> copy <span class="Constant">0</span> <span id="L82" class="LineNr">82 </span> <span class="Delimiter">{</span> <span id="L83" class="LineNr">83 </span> compare r, radius <span id="L84" class="LineNr">84 </span> <span class="PreProc">break-if->=</span> |