diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-03-02 08:20:53 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-03-02 08:20:53 -0800 |
commit | 32d5099fa005bdeed30bd1e6798b81e3a75f1a1a (patch) | |
tree | de0f521d0214d91a4f22be5c4da41eff0e8442ed /html/apps/ex3.mu.html | |
parent | 189d34dcff2ee968d4373254e208bb945adad234 (diff) | |
download | mu-32d5099fa005bdeed30bd1e6798b81e3a75f1a1a.tar.gz |
6077
Diffstat (limited to 'html/apps/ex3.mu.html')
-rw-r--r-- | html/apps/ex3.mu.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/html/apps/ex3.mu.html b/html/apps/ex3.mu.html index bae8125a..60aac512 100644 --- a/html/apps/ex3.mu.html +++ b/html/apps/ex3.mu.html @@ -55,11 +55,11 @@ if ('onhashchange' in window) { <body onload='JumpToLine();'> <a href='https://github.com/akkartik/mu/blob/master/apps/ex3.mu'>https://github.com/akkartik/mu/blob/master/apps/ex3.mu</a> <pre id='vimCodeElement'> -<span id="L1" class="LineNr"> 1 </span><span class="PreProc">fn</span> <a href='../mu-init-test.subx.html#L7'>main</a><span class="PreProc"> -> </span>result/<span class="Constant">ebx</span>: int <span class="Delimiter">{</span> -<span id="L2" class="LineNr"> 2 </span> result <span class="Special"><-</span> copy 0 -<span id="L3" class="LineNr"> 3 </span> <span class="PreProc">var</span> i/<span class="Constant">eax</span>: int <span class="Special"><-</span> copy 1 +<span id="L1" class="LineNr"> 1 </span><span class="PreProc">fn</span> main<span class="PreProc"> -> </span>result/<span class="Constant">ebx</span>: int <span class="Delimiter">{</span> +<span id="L2" class="LineNr"> 2 </span> result <span class="Special"><-</span> copy <span class="Constant">0</span> +<span id="L3" class="LineNr"> 3 </span> <span class="PreProc">var</span> i/<span class="Constant">eax</span>: int <span class="Special"><-</span> copy <span class="Constant">1</span> <span id="L4" class="LineNr"> 4 </span> <span class="Delimiter">{</span> -<span id="L5" class="LineNr"> 5 </span> compare i, 0xa +<span id="L5" class="LineNr"> 5 </span> compare i, <span class="Constant">0</span>xa <span id="L6" class="LineNr"> 6 </span> <span class="Identifier">break-if-></span> <span id="L7" class="LineNr"> 7 </span> result <span class="Special"><-</span> add i <span id="L8" class="LineNr"> 8 </span> i <span class="Special"><-</span> increment |