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/406int32.mu.html | |
parent | dc5a0acf3feea227d03a98cedf427d2aef462320 (diff) | |
download | mu-372367f59a897162912d0646158bdea1e07d6e66.tar.gz |
html: better highlighting for int registers
Diffstat (limited to 'html/linux/406int32.mu.html')
-rw-r--r-- | html/linux/406int32.mu.html | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/html/linux/406int32.mu.html b/html/linux/406int32.mu.html index 1cf8799b..a41c662c 100644 --- a/html/linux/406int32.mu.html +++ b/html/linux/406int32.mu.html @@ -14,14 +14,13 @@ 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; } -.LineNr { } +.PreProc { color: #c000c0; } .Special { color: #ff6060; } -.muRegEax { color: #875f00; } +.LineNr { } +.Constant { color: #008787; } .Delimiter { color: #c000c0; } .muFunction { color: #af5f00; text-decoration: underline; } -.Constant { color: #008787; } -.PreProc { color: #c000c0; } +.muComment { color: #005faf; } --> </style> @@ -61,8 +60,8 @@ if ('onhashchange' in window) { <span id="L2" class="LineNr"> 2 </span> <span id="L3" class="LineNr"> 3 </span><span class="muComment"># slow, iterative shift-left instruction</span> <span id="L4" class="LineNr"> 4 </span><span class="muComment"># preconditions: _nr >= 0, _dr > 0</span> -<span id="L5" class="LineNr"> 5 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='406int32.mu.html#L5'>repeated-shift-left</a></span> nr: int, dr: int<span class="PreProc"> -> </span>_/<span class="muRegEax">eax</span>: int <span class="Delimiter">{</span> -<span id="L6" class="LineNr"> 6 </span> <span class="PreProc">var</span> result/<span class="muRegEax">eax</span>: int <span class="Special"><-</span> copy nr +<span id="L5" class="LineNr"> 5 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='406int32.mu.html#L5'>repeated-shift-left</a></span> nr: int, dr: int<span class="PreProc"> -> </span>_/eax: int <span class="Delimiter">{</span> +<span id="L6" class="LineNr"> 6 </span> <span class="PreProc">var</span> result/eax: int <span class="Special"><-</span> copy nr <span id="L7" class="LineNr"> 7 </span> <span class="Delimiter">{</span> <span id="L8" class="LineNr"> 8 </span> compare dr, <span class="Constant">0</span> <span id="L9" class="LineNr"> 9 </span> <span class="PreProc">break-if-<=</span> @@ -75,8 +74,8 @@ if ('onhashchange' in window) { <span id="L16" class="LineNr">16 </span> <span id="L17" class="LineNr">17 </span><span class="muComment"># slow, iterative shift-right instruction</span> <span id="L18" class="LineNr">18 </span><span class="muComment"># preconditions: _nr >= 0, _dr > 0</span> -<span id="L19" class="LineNr">19 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='406int32.mu.html#L19'>repeated-shift-right</a></span> nr: int, dr: int<span class="PreProc"> -> </span>_/<span class="muRegEax">eax</span>: int <span class="Delimiter">{</span> -<span id="L20" class="LineNr">20 </span> <span class="PreProc">var</span> result/<span class="muRegEax">eax</span>: int <span class="Special"><-</span> copy nr +<span id="L19" class="LineNr">19 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='406int32.mu.html#L19'>repeated-shift-right</a></span> nr: int, dr: int<span class="PreProc"> -> </span>_/eax: int <span class="Delimiter">{</span> +<span id="L20" class="LineNr">20 </span> <span class="PreProc">var</span> result/eax: int <span class="Special"><-</span> copy nr <span id="L21" class="LineNr">21 </span> <span class="Delimiter">{</span> <span id="L22" class="LineNr">22 </span> compare dr, <span class="Constant">0</span> <span id="L23" class="LineNr">23 </span> <span class="PreProc">break-if-<=</span> @@ -87,8 +86,8 @@ if ('onhashchange' in window) { <span id="L28" class="LineNr">28 </span> <span class="PreProc">return</span> result <span id="L29" class="LineNr">29 </span><span class="Delimiter">}</span> <span id="L30" class="LineNr">30 </span> -<span id="L31" class="LineNr">31 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='406int32.mu.html#L31'>abs</a></span> n: int<span class="PreProc"> -> </span>_/<span class="muRegEax">eax</span>: int <span class="Delimiter">{</span> -<span id="L32" class="LineNr">32 </span> <span class="PreProc">var</span> result/<span class="muRegEax">eax</span>: int <span class="Special"><-</span> copy n +<span id="L31" class="LineNr">31 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='406int32.mu.html#L31'>abs</a></span> n: int<span class="PreProc"> -> </span>_/eax: int <span class="Delimiter">{</span> +<span id="L32" class="LineNr">32 </span> <span class="PreProc">var</span> result/eax: int <span class="Special"><-</span> copy n <span id="L33" class="LineNr">33 </span> <span class="Delimiter">{</span> <span id="L34" class="LineNr">34 </span> compare n, <span class="Constant">0</span> <span id="L35" class="LineNr">35 </span> <span class="PreProc">break-if->=</span> |