diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-08-22 13:30:48 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-08-22 13:30:48 -0700 |
commit | 0361a76d86a38ca02778afc915d86c4ffa608bf7 (patch) | |
tree | b58b8dc27854a02a40f93bc1fa47a565b92e30a0 /html/apps/print-file.mu.html | |
parent | 426fcd3ec3b3891a0670c20cae9bd342184719b4 (diff) | |
download | mu-0361a76d86a38ca02778afc915d86c4ffa608bf7.tar.gz |
6724
Diffstat (limited to 'html/apps/print-file.mu.html')
-rw-r--r-- | html/apps/print-file.mu.html | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/html/apps/print-file.mu.html b/html/apps/print-file.mu.html index 0995e3c1..fe3e9676 100644 --- a/html/apps/print-file.mu.html +++ b/html/apps/print-file.mu.html @@ -65,8 +65,8 @@ if ('onhashchange' in window) { <span id="L7" class="LineNr"> 7 </span><span class="Comment"># $ ./a.elf x</span> <span id="L8" class="LineNr"> 8 </span><span class="Comment"># abc</span> <span id="L9" class="LineNr"> 9 </span> -<span id="L10" class="LineNr">10 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='print-file.mu.html#L10'>main</a></span> _args: (addr array (addr array byte))<span class="PreProc"> -> </span>exit-status/<span class="Constant">ebx</span>: int <span class="Delimiter">{</span> -<span id="L11" class="LineNr">11 </span> <span class="PreProc">var</span> args/<span class="Constant">eax</span>: (addr array (addr array byte)) <span class="SpecialChar"><-</span> copy _args +<span id="L10" class="LineNr">10 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='print-file.mu.html#L10'>main</a></span> _args: (addr array addr array byte)<span class="PreProc"> -> </span>exit-status/<span class="Constant">ebx</span>: int <span class="Delimiter">{</span> +<span id="L11" class="LineNr">11 </span> <span class="PreProc">var</span> args/<span class="Constant">eax</span>: (addr array addr array byte) <span class="SpecialChar"><-</span> copy _args <span id="L12" class="LineNr">12 </span>$main-body: <span class="Delimiter">{</span> <span id="L13" class="LineNr">13 </span> <span class="PreProc">var</span> n/<span class="Constant">ecx</span>: int <span class="SpecialChar"><-</span> length args <span id="L14" class="LineNr">14 </span> compare n, <span class="Constant">1</span> @@ -89,13 +89,14 @@ if ('onhashchange' in window) { <span id="L31" class="LineNr">31 </span> <span class="PreProc">var</span> c/<span class="Constant">eax</span>: byte <span class="SpecialChar"><-</span> <a href='../112read-byte.subx.html#L38'>read-byte-buffered</a> in-addr <span id="L32" class="LineNr">32 </span> compare c, <span class="Constant">0xffffffff</span> <span class="Comment"># EOF marker</span> <span id="L33" class="LineNr">33 </span> <span class="PreProc">break-if-=</span> -<span id="L34" class="LineNr">34 </span> <a href='../405screen.mu.html#L149'>print-grapheme</a> <span class="Constant">0</span>, c -<span id="L35" class="LineNr">35 </span> <span class="PreProc">loop</span> -<span id="L36" class="LineNr">36 </span> <span class="Delimiter">}</span> -<span id="L37" class="LineNr">37 </span> <span class="Delimiter">}</span> -<span id="L38" class="LineNr">38 </span> <span class="Delimiter">}</span> -<span id="L39" class="LineNr">39 </span> exit-status <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> -<span id="L40" class="LineNr">40 </span><span class="Delimiter">}</span> +<span id="L34" class="LineNr">34 </span> <span class="PreProc">var</span> g/<span class="Constant">eax</span>: grapheme <span class="SpecialChar"><-</span> copy c +<span id="L35" class="LineNr">35 </span> <a href='../405screen.mu.html#L149'>print-grapheme</a> <span class="Constant">0</span>, g +<span id="L36" class="LineNr">36 </span> <span class="PreProc">loop</span> +<span id="L37" class="LineNr">37 </span> <span class="Delimiter">}</span> +<span id="L38" class="LineNr">38 </span> <span class="Delimiter">}</span> +<span id="L39" class="LineNr">39 </span> <span class="Delimiter">}</span> +<span id="L40" class="LineNr">40 </span> exit-status <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> +<span id="L41" class="LineNr">41 </span><span class="Delimiter">}</span> </pre> </body> </html> |