diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-12-04 23:57:35 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-12-04 23:57:35 -0800 |
commit | 3dda906d2457a6ff577d6fa34274f43529a87dbe (patch) | |
tree | 53be9e16f08ca8a2d13c7a74ae429e3eb513c3de /html/apps/tile/rpn.mu.html | |
parent | 68a5032ccdd26865ce189b7ccb21e4364848974f (diff) | |
download | mu-3dda906d2457a6ff577d6fa34274f43529a87dbe.tar.gz |
7335
Diffstat (limited to 'html/apps/tile/rpn.mu.html')
-rw-r--r-- | html/apps/tile/rpn.mu.html | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/html/apps/tile/rpn.mu.html b/html/apps/tile/rpn.mu.html index afb4d47f..60f7625e 100644 --- a/html/apps/tile/rpn.mu.html +++ b/html/apps/tile/rpn.mu.html @@ -699,10 +699,10 @@ if ('onhashchange' in window) { <span id="L639" class="LineNr">639 </span> <span class="PreProc">var</span> callee-h: (handle <a href='data.mu.html#L14'>function</a>) <span id="L640" class="LineNr">640 </span> <span class="PreProc">var</span> callee-ah/<span class="Constant">eax</span>: (addr handle <a href='data.mu.html#L14'>function</a>) <span class="SpecialChar"><-</span> address callee-h <span id="L641" class="LineNr">641 </span> <a href='rpn.mu.html#L774'>find-function</a> functions, curr-stream, callee-ah -<span id="L642" class="LineNr">642 </span> <span class="PreProc">var</span> <a href='environment.mu.html#L1387'>callee</a>/<span class="Constant">eax</span>: (addr <a href='data.mu.html#L14'>function</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *callee-ah -<span id="L643" class="LineNr">643 </span> compare <a href='environment.mu.html#L1387'>callee</a>, <span class="Constant">0</span> +<span id="L642" class="LineNr">642 </span> <span class="PreProc">var</span> <a href='environment.mu.html#L1397'>callee</a>/<span class="Constant">eax</span>: (addr <a href='data.mu.html#L14'>function</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *callee-ah +<span id="L643" class="LineNr">643 </span> compare <a href='environment.mu.html#L1397'>callee</a>, <span class="Constant">0</span> <span id="L644" class="LineNr">644 </span> <span class="PreProc">break-if-=</span> -<span id="L645" class="LineNr">645 </span> <a href='rpn.mu.html#L795'>perform-call</a> <a href='environment.mu.html#L1387'>callee</a>, out, functions +<span id="L645" class="LineNr">645 </span> <a href='rpn.mu.html#L795'>perform-call</a> <a href='environment.mu.html#L1397'>callee</a>, out, functions <span id="L646" class="LineNr">646 </span> <span class="PreProc">break</span> $evaluate:process-word <span id="L647" class="LineNr">647 </span> <span class="Delimiter">}</span> <span id="L648" class="LineNr">648 </span> <span class="muComment">### if it's a name, push its value</span> @@ -853,14 +853,14 @@ if ('onhashchange' in window) { <span id="L793" class="LineNr">793 </span><span class="Delimiter">}</span> <span id="L794" class="LineNr">794 </span> <span id="L795" class="LineNr">795 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='rpn.mu.html#L795'>perform-call</a></span> _callee: (addr <a href='data.mu.html#L14'>function</a>), caller-stack: (addr <a href='value-stack.mu.html#L3'>value-stack</a>), functions: (addr handle <a href='data.mu.html#L14'>function</a>) <span class="Delimiter">{</span> -<span id="L796" class="LineNr">796 </span> <span class="PreProc">var</span> <a href='environment.mu.html#L1387'>callee</a>/<span class="Constant">ecx</span>: (addr <a href='data.mu.html#L14'>function</a>) <span class="SpecialChar"><-</span> copy _callee +<span id="L796" class="LineNr">796 </span> <span class="PreProc">var</span> <a href='environment.mu.html#L1397'>callee</a>/<span class="Constant">ecx</span>: (addr <a href='data.mu.html#L14'>function</a>) <span class="SpecialChar"><-</span> copy _callee <span id="L797" class="LineNr">797 </span> <span class="muComment"># create bindings for args</span> <span id="L798" class="LineNr">798 </span> <span class="PreProc">var</span> table-storage: <a href='data.mu.html#L47'>table</a> <span id="L799" class="LineNr">799 </span> <span class="PreProc">var</span> <a href='data.mu.html#L47'>table</a>/<span class="Constant">esi</span>: (addr <a href='data.mu.html#L47'>table</a>) <span class="SpecialChar"><-</span> address table-storage <span id="L800" class="LineNr">800 </span> <a href='table.mu.html#L1'>initialize-table</a> <a href='data.mu.html#L47'>table</a>, <span class="Constant">0x10</span> -<span id="L801" class="LineNr">801 </span> <a href='rpn.mu.html#L828'>bind-args</a> <a href='environment.mu.html#L1387'>callee</a>, caller-stack, <a href='data.mu.html#L47'>table</a> +<span id="L801" class="LineNr">801 </span> <a href='rpn.mu.html#L828'>bind-args</a> <a href='environment.mu.html#L1397'>callee</a>, caller-stack, <a href='data.mu.html#L47'>table</a> <span id="L802" class="LineNr">802 </span> <span class="muComment"># obtain body</span> -<span id="L803" class="LineNr">803 </span> <span class="PreProc">var</span> body-ah/<span class="Constant">eax</span>: (addr handle <a href='data.mu.html#L22'>line</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> <a href='environment.mu.html#L1387'>callee</a>, body +<span id="L803" class="LineNr">803 </span> <span class="PreProc">var</span> body-ah/<span class="Constant">eax</span>: (addr handle <a href='data.mu.html#L22'>line</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> <a href='environment.mu.html#L1397'>callee</a>, body <span id="L804" class="LineNr">804 </span> <span class="PreProc">var</span> body/<span class="Constant">eax</span>: (addr <a href='data.mu.html#L22'>line</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *body-ah <span id="L805" class="LineNr">805 </span> <span class="muComment"># perform call</span> <span id="L806" class="LineNr">806 </span> <span class="PreProc">var</span> stack-storage: <a href='value-stack.mu.html#L3'>value-stack</a> @@ -886,8 +886,8 @@ if ('onhashchange' in window) { <span id="L826" class="LineNr">826 </span><span class="muComment"># pop args from the caller-stack and bind them to successive args</span> <span id="L827" class="LineNr">827 </span><span class="muComment"># implies: function args are stored in reverse order</span> <span id="L828" class="LineNr">828 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='rpn.mu.html#L828'>bind-args</a></span> _callee: (addr <a href='data.mu.html#L14'>function</a>), _caller-stack: (addr <a href='value-stack.mu.html#L3'>value-stack</a>), <a href='data.mu.html#L47'>table</a>: (addr <a href='data.mu.html#L47'>table</a>) <span class="Delimiter">{</span> -<span id="L829" class="LineNr">829 </span> <span class="PreProc">var</span> <a href='environment.mu.html#L1387'>callee</a>/<span class="Constant">ecx</span>: (addr <a href='data.mu.html#L14'>function</a>) <span class="SpecialChar"><-</span> copy _callee -<span id="L830" class="LineNr">830 </span> <span class="PreProc">var</span> curr-arg-ah/<span class="Constant">eax</span>: (addr handle <a href='data.mu.html#L30'>word</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> <a href='environment.mu.html#L1387'>callee</a>, args +<span id="L829" class="LineNr">829 </span> <span class="PreProc">var</span> <a href='environment.mu.html#L1397'>callee</a>/<span class="Constant">ecx</span>: (addr <a href='data.mu.html#L14'>function</a>) <span class="SpecialChar"><-</span> copy _callee +<span id="L830" class="LineNr">830 </span> <span class="PreProc">var</span> curr-arg-ah/<span class="Constant">eax</span>: (addr handle <a href='data.mu.html#L30'>word</a>) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> <a href='environment.mu.html#L1397'>callee</a>, args <span id="L831" class="LineNr">831 </span> <span class="PreProc">var</span> curr-arg/<span class="Constant">eax</span>: (addr <a href='data.mu.html#L30'>word</a>) <span class="SpecialChar"><-</span> <a href='../../120allocate.subx.html#L256'>lookup</a> *curr-arg-ah <span id="L832" class="LineNr">832 </span> <span class="muComment">#</span> <span id="L833" class="LineNr">833 </span> <span class="PreProc">var</span> curr-key-storage: (handle array byte) |