about summary refs log tree commit diff stats
path: root/html/apps/raytracing/2.mu.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-11-02 21:24:53 -0800
committerKartik Agaram <vc@akkartik.com>2020-11-02 21:24:53 -0800
commit3d1c4216ede8c628558c9fe700fb2be1aa08b473 (patch)
tree9d566827573d2b329a4872762c025a646fe2729d /html/apps/raytracing/2.mu.html
parent571ad49190f17272bd7665ba09b5f14c86b1e649 (diff)
downloadmu-3d1c4216ede8c628558c9fe700fb2be1aa08b473.tar.gz
7162
Diffstat (limited to 'html/apps/raytracing/2.mu.html')
-rw-r--r--html/apps/raytracing/2.mu.html12
1 files changed, 6 insertions, 6 deletions
diff --git a/html/apps/raytracing/2.mu.html b/html/apps/raytracing/2.mu.html
index 66e60f05..5bc16803 100644
--- a/html/apps/raytracing/2.mu.html
+++ b/html/apps/raytracing/2.mu.html
@@ -65,8 +65,8 @@ if ('onhashchange' in window) {
 <span id="L6" class="LineNr"> 6 </span><span class="muComment">#   $ ./translate_mu apps/raytracing/2.mu</span>
 <span id="L7" class="LineNr"> 7 </span><span class="muComment">#   $ ./a.elf &gt; 2.ppm</span>
 <span id="L8" class="LineNr"> 8 </span>
-<span id="L9" class="LineNr"> 9 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='2.mu.html#L9'>main</a></span><span class="PreProc"> -&gt; </span>exit-status/<span class="Constant">ebx</span>: int <span class="Delimiter">{</span>
-<span id="L10" class="LineNr">10 </span>  <a href='../../405screen.mu.html#L179'>print-string</a> <span class="Constant">0</span>, <span class="Constant">&quot;P3\n256 256\n255\n&quot;</span>
+<span id="L9" class="LineNr"> 9 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='2.mu.html#L9'>main</a></span><span class="PreProc"> -&gt; </span>_/<span class="Constant">ebx</span>: int <span class="Delimiter">{</span>
+<span id="L10" class="LineNr">10 </span>  <a href='../../405screen.mu.html#L169'>print-string</a> <span class="Constant">0</span>, <span class="Constant">&quot;P3\n256 256\n255\n&quot;</span>
 <span id="L11" class="LineNr">11 </span>  <span class="PreProc">var</span> _four/<span class="Constant">edx</span>: int <span class="SpecialChar">&lt;-</span> copy <span class="Constant">4</span>
 <span id="L12" class="LineNr">12 </span>  <span class="PreProc">var</span> four/<span class="Constant">xmm1</span>: float <span class="SpecialChar">&lt;-</span> convert _four
 <span id="L13" class="LineNr">13 </span>  <span class="PreProc">var</span> one-fourth/<span class="Constant">xmm1</span>: float <span class="SpecialChar">&lt;-</span> reciprocal four
@@ -106,7 +106,7 @@ if ('onhashchange' in window) {
 <span id="L47" class="LineNr">47 </span>    j <span class="SpecialChar">&lt;-</span> decrement
 <span id="L48" class="LineNr">48 </span>    <span class="PreProc">loop</span>
 <span id="L49" class="LineNr">49 </span>  <span class="Delimiter">}</span>
-<span id="L50" class="LineNr">50 </span>  exit-status <span class="SpecialChar">&lt;-</span> copy <span class="Constant">1</span>
+<span id="L50" class="LineNr">50 </span>  <span class="PreProc">return</span> <span class="Constant">0</span>
 <span id="L51" class="LineNr">51 </span><span class="Delimiter">}</span>
 <span id="L52" class="LineNr">52 </span>
 <span id="L53" class="LineNr">53 </span><span class="PreProc">type</span> <a href='2.mu.html#L53'>rgb</a> <span class="Delimiter">{</span>
@@ -127,21 +127,21 @@ if ('onhashchange' in window) {
 <span id="L68" class="LineNr">68 </span>  result <span class="SpecialChar">&lt;-</span> multiply *src-addr
 <span id="L69" class="LineNr">69 </span>  <span class="PreProc">var</span> result-int/<span class="Constant">edx</span>: int <span class="SpecialChar">&lt;-</span> convert result
 <span id="L70" class="LineNr">70 </span>  <a href='../../405screen.mu.html#L481'>print-int32-decimal</a> <a href='../../405screen.mu.html#L9'>screen</a>, result-int
-<span id="L71" class="LineNr">71 </span>  <a href='../../405screen.mu.html#L179'>print-string</a> <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">&quot; &quot;</span>
+<span id="L71" class="LineNr">71 </span>  <a href='../../405screen.mu.html#L169'>print-string</a> <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">&quot; &quot;</span>
 <span id="L72" class="LineNr">72 </span>  <span class="muComment"># print 255 * c-&gt;g</span>
 <span id="L73" class="LineNr">73 </span>  src-addr <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> c, g
 <span id="L74" class="LineNr">74 </span>  result <span class="SpecialChar">&lt;-</span> copy xn
 <span id="L75" class="LineNr">75 </span>  result <span class="SpecialChar">&lt;-</span> multiply *src-addr
 <span id="L76" class="LineNr">76 </span>  result-int <span class="SpecialChar">&lt;-</span> convert result
 <span id="L77" class="LineNr">77 </span>  <a href='../../405screen.mu.html#L481'>print-int32-decimal</a> <a href='../../405screen.mu.html#L9'>screen</a>, result-int
-<span id="L78" class="LineNr">78 </span>  <a href='../../405screen.mu.html#L179'>print-string</a> <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">&quot; &quot;</span>
+<span id="L78" class="LineNr">78 </span>  <a href='../../405screen.mu.html#L169'>print-string</a> <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">&quot; &quot;</span>
 <span id="L79" class="LineNr">79 </span>  <span class="muComment"># print 255 * c-&gt;b</span>
 <span id="L80" class="LineNr">80 </span>  src-addr <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> c, b
 <span id="L81" class="LineNr">81 </span>  result <span class="SpecialChar">&lt;-</span> copy xn
 <span id="L82" class="LineNr">82 </span>  result <span class="SpecialChar">&lt;-</span> multiply *src-addr
 <span id="L83" class="LineNr">83 </span>  result-int <span class="SpecialChar">&lt;-</span> convert result
 <span id="L84" class="LineNr">84 </span>  <a href='../../405screen.mu.html#L481'>print-int32-decimal</a> <a href='../../405screen.mu.html#L9'>screen</a>, result-int
-<span id="L85" class="LineNr">85 </span>  <a href='../../405screen.mu.html#L179'>print-string</a> <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">&quot;\n&quot;</span>
+<span id="L85" class="LineNr">85 </span>  <a href='../../405screen.mu.html#L169'>print-string</a> <a href='../../405screen.mu.html#L9'>screen</a>, <span class="Constant">&quot;\n&quot;</span>
 <span id="L86" class="LineNr">86 </span><span class="Delimiter">}</span>
 </pre>
 </body>