about summary refs log tree commit diff stats
path: root/html/apps/tile/int-stack.mu.html
diff options
context:
space:
mode:
Diffstat (limited to 'html/apps/tile/int-stack.mu.html')
-rw-r--r--html/apps/tile/int-stack.mu.html68
1 files changed, 31 insertions, 37 deletions
diff --git a/html/apps/tile/int-stack.mu.html b/html/apps/tile/int-stack.mu.html
index 5298b78d..d1210ea1 100644
--- a/html/apps/tile/int-stack.mu.html
+++ b/html/apps/tile/int-stack.mu.html
@@ -87,44 +87,38 @@ if ('onhashchange' in window) {
 <span id="L29" class="LineNr">29 </span>  add-to *top-addr, <span class="Constant">1</span>
 <span id="L30" class="LineNr">30 </span><span class="Delimiter">}</span>
 <span id="L31" class="LineNr">31 </span>
-<span id="L32" class="LineNr">32 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='int-stack.mu.html#L32'>pop-int-stack</a></span> _self: (addr <a href='int-stack.mu.html#L1'>int-stack</a>)<span class="PreProc"> -&gt; </span>val/<span class="Constant">eax</span>: int <span class="Delimiter">{</span>
-<span id="L33" class="LineNr">33 </span>$pop-int-stack:body: <span class="Delimiter">{</span>
-<span id="L34" class="LineNr">34 </span>  <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='int-stack.mu.html#L1'>int-stack</a>) <span class="SpecialChar">&lt;-</span> copy _self
-<span id="L35" class="LineNr">35 </span>  <span class="PreProc">var</span> top-addr/<span class="Constant">ecx</span>: (addr int) <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> self, <a href='../../203stack.subx.html#L338'>top</a>
-<span id="L36" class="LineNr">36 </span>  <span class="Delimiter">{</span>
-<span id="L37" class="LineNr">37 </span>    compare *top-addr, <span class="Constant">0</span>
-<span id="L38" class="LineNr">38 </span>    <span class="PreProc">break-if-&gt;</span>
-<span id="L39" class="LineNr">39 </span>    val <span class="SpecialChar">&lt;-</span> copy <span class="Constant">0</span>
-<span id="L40" class="LineNr">40 </span>    <span class="PreProc">break</span> $pop-int-stack:body
-<span id="L41" class="LineNr">41 </span>  <span class="Delimiter">}</span>
-<span id="L42" class="LineNr">42 </span>  subtract-from *top-addr, <span class="Constant">1</span>
-<span id="L43" class="LineNr">43 </span>  <span class="PreProc">var</span> data-ah/<span class="Constant">edx</span>: (addr handle array int) <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> self, data
-<span id="L44" class="LineNr">44 </span>  <span class="PreProc">var</span> data/<span class="Constant">eax</span>: (addr array int) <span class="SpecialChar">&lt;-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *data-ah
-<span id="L45" class="LineNr">45 </span>  <span class="PreProc">var</span> <a href='../../203stack.subx.html#L338'>top</a>/<span class="Constant">edx</span>: int <span class="SpecialChar">&lt;-</span> copy *top-addr
-<span id="L46" class="LineNr">46 </span>  <span class="PreProc">var</span> result-addr/<span class="Constant">eax</span>: (addr int) <span class="SpecialChar">&lt;-</span> index data, <a href='../../203stack.subx.html#L338'>top</a>
-<span id="L47" class="LineNr">47 </span>  val <span class="SpecialChar">&lt;-</span> copy *result-addr
-<span id="L48" class="LineNr">48 </span><span class="Delimiter">}</span>
-<span id="L49" class="LineNr">49 </span><span class="Delimiter">}</span>
-<span id="L50" class="LineNr">50 </span>
-<span id="L51" class="LineNr">51 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='int-stack.mu.html#L51'>int-stack-empty?</a></span> _self: (addr <a href='int-stack.mu.html#L1'>int-stack</a>)<span class="PreProc"> -&gt; </span>result/<span class="Constant">eax</span>: boolean <span class="Delimiter">{</span>
-<span id="L52" class="LineNr">52 </span>$int-stack-empty?:body: <span class="Delimiter">{</span>
-<span id="L53" class="LineNr">53 </span>  <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='int-stack.mu.html#L1'>int-stack</a>) <span class="SpecialChar">&lt;-</span> copy _self
-<span id="L54" class="LineNr">54 </span>  <span class="PreProc">var</span> top-addr/<span class="Constant">eax</span>: (addr int) <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> self, <a href='../../203stack.subx.html#L338'>top</a>
-<span id="L55" class="LineNr">55 </span>  compare *top-addr, <span class="Constant">0</span>
-<span id="L56" class="LineNr">56 </span>  <span class="Delimiter">{</span>
-<span id="L57" class="LineNr">57 </span>    <span class="PreProc">break-if-!=</span>
-<span id="L58" class="LineNr">58 </span>    result <span class="SpecialChar">&lt;-</span> copy <span class="Constant">1</span>  <span class="muComment"># true</span>
-<span id="L59" class="LineNr">59 </span>    <span class="PreProc">break</span> $int-stack-empty?:body
-<span id="L60" class="LineNr">60 </span>  <span class="Delimiter">}</span>
-<span id="L61" class="LineNr">61 </span>  result <span class="SpecialChar">&lt;-</span> copy <span class="Constant">0</span>  <span class="muComment"># false</span>
-<span id="L62" class="LineNr">62 </span><span class="Delimiter">}</span>
+<span id="L32" class="LineNr">32 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='int-stack.mu.html#L32'>pop-int-stack</a></span> _self: (addr <a href='int-stack.mu.html#L1'>int-stack</a>)<span class="PreProc"> -&gt; </span>_/<span class="Constant">eax</span>: int <span class="Delimiter">{</span>
+<span id="L33" class="LineNr">33 </span>  <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='int-stack.mu.html#L1'>int-stack</a>) <span class="SpecialChar">&lt;-</span> copy _self
+<span id="L34" class="LineNr">34 </span>  <span class="PreProc">var</span> top-addr/<span class="Constant">ecx</span>: (addr int) <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> self, <a href='../../203stack.subx.html#L338'>top</a>
+<span id="L35" class="LineNr">35 </span>  <span class="Delimiter">{</span>
+<span id="L36" class="LineNr">36 </span>    compare *top-addr, <span class="Constant">0</span>
+<span id="L37" class="LineNr">37 </span>    <span class="PreProc">break-if-&gt;</span>
+<span id="L38" class="LineNr">38 </span>    <span class="PreProc">return</span> <span class="Constant">0</span>
+<span id="L39" class="LineNr">39 </span>  <span class="Delimiter">}</span>
+<span id="L40" class="LineNr">40 </span>  subtract-from *top-addr, <span class="Constant">1</span>
+<span id="L41" class="LineNr">41 </span>  <span class="PreProc">var</span> data-ah/<span class="Constant">edx</span>: (addr handle array int) <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> self, data
+<span id="L42" class="LineNr">42 </span>  <span class="PreProc">var</span> data/<span class="Constant">eax</span>: (addr array int) <span class="SpecialChar">&lt;-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *data-ah
+<span id="L43" class="LineNr">43 </span>  <span class="PreProc">var</span> <a href='../../203stack.subx.html#L338'>top</a>/<span class="Constant">edx</span>: int <span class="SpecialChar">&lt;-</span> copy *top-addr
+<span id="L44" class="LineNr">44 </span>  <span class="PreProc">var</span> result-addr/<span class="Constant">eax</span>: (addr int) <span class="SpecialChar">&lt;-</span> index data, <a href='../../203stack.subx.html#L338'>top</a>
+<span id="L45" class="LineNr">45 </span>  <span class="PreProc">return</span> *result-addr
+<span id="L46" class="LineNr">46 </span><span class="Delimiter">}</span>
+<span id="L47" class="LineNr">47 </span>
+<span id="L48" class="LineNr">48 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='int-stack.mu.html#L48'>int-stack-empty?</a></span> _self: (addr <a href='int-stack.mu.html#L1'>int-stack</a>)<span class="PreProc"> -&gt; </span>_/<span class="Constant">eax</span>: boolean <span class="Delimiter">{</span>
+<span id="L49" class="LineNr">49 </span>  <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='int-stack.mu.html#L1'>int-stack</a>) <span class="SpecialChar">&lt;-</span> copy _self
+<span id="L50" class="LineNr">50 </span>  <span class="PreProc">var</span> top-addr/<span class="Constant">eax</span>: (addr int) <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> self, <a href='../../203stack.subx.html#L338'>top</a>
+<span id="L51" class="LineNr">51 </span>  compare *top-addr, <span class="Constant">0</span>
+<span id="L52" class="LineNr">52 </span>  <span class="Delimiter">{</span>
+<span id="L53" class="LineNr">53 </span>    <span class="PreProc">break-if-!=</span>
+<span id="L54" class="LineNr">54 </span>    <span class="PreProc">return</span> <span class="Constant">1</span>  <span class="muComment"># true</span>
+<span id="L55" class="LineNr">55 </span>  <span class="Delimiter">}</span>
+<span id="L56" class="LineNr">56 </span>  <span class="PreProc">return</span> <span class="Constant">0</span>  <span class="muComment"># false</span>
+<span id="L57" class="LineNr">57 </span><span class="Delimiter">}</span>
+<span id="L58" class="LineNr">58 </span>
+<span id="L59" class="LineNr">59 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='int-stack.mu.html#L59'>int-stack-length</a></span> _self: (addr <a href='int-stack.mu.html#L1'>int-stack</a>)<span class="PreProc"> -&gt; </span>_/<span class="Constant">eax</span>: int <span class="Delimiter">{</span>
+<span id="L60" class="LineNr">60 </span>  <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='int-stack.mu.html#L1'>int-stack</a>) <span class="SpecialChar">&lt;-</span> copy _self
+<span id="L61" class="LineNr">61 </span>  <span class="PreProc">var</span> top-addr/<span class="Constant">eax</span>: (addr int) <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> self, <a href='../../203stack.subx.html#L338'>top</a>
+<span id="L62" class="LineNr">62 </span>  <span class="PreProc">return</span> *top-addr
 <span id="L63" class="LineNr">63 </span><span class="Delimiter">}</span>
-<span id="L64" class="LineNr">64 </span>
-<span id="L65" class="LineNr">65 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='int-stack.mu.html#L65'>int-stack-length</a></span> _self: (addr <a href='int-stack.mu.html#L1'>int-stack</a>)<span class="PreProc"> -&gt; </span>result/<span class="Constant">eax</span>: int <span class="Delimiter">{</span>
-<span id="L66" class="LineNr">66 </span>  <span class="PreProc">var</span> self/<span class="Constant">esi</span>: (addr <a href='int-stack.mu.html#L1'>int-stack</a>) <span class="SpecialChar">&lt;-</span> copy _self
-<span id="L67" class="LineNr">67 </span>  <span class="PreProc">var</span> top-addr/<span class="Constant">eax</span>: (addr int) <span class="SpecialChar">&lt;-</span> <a href='../../131table.subx.html#L26'>get</a> self, <a href='../../203stack.subx.html#L338'>top</a>
-<span id="L68" class="LineNr">68 </span>  result <span class="SpecialChar">&lt;-</span> copy *top-addr
-<span id="L69" class="LineNr">69 </span><span class="Delimiter">}</span>
 </pre>
 </body>
 </html>