diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-11-16 20:44:02 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-11-16 20:44:02 -0800 |
commit | dd60a1d73c8017fd3d80ccf91e4549fc47a90760 (patch) | |
tree | 2b0e24d15102aa7dd53284511371c0f579c14bbe /html/apps/tile/grapheme-stack.mu.html | |
parent | 3d31467c0dae1d879111901635d257353aae27c9 (diff) | |
download | mu-dd60a1d73c8017fd3d80ccf91e4549fc47a90760.tar.gz |
7252
Diffstat (limited to 'html/apps/tile/grapheme-stack.mu.html')
-rw-r--r-- | html/apps/tile/grapheme-stack.mu.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/html/apps/tile/grapheme-stack.mu.html b/html/apps/tile/grapheme-stack.mu.html index 6beded15..fea2d996 100644 --- a/html/apps/tile/grapheme-stack.mu.html +++ b/html/apps/tile/grapheme-stack.mu.html @@ -234,18 +234,18 @@ if ('onhashchange' in window) { <span id="L176" class="LineNr">176 </span> <span class="PreProc">var</span> data/<span class="Constant">edx</span>: (addr array grapheme) <span class="SpecialChar"><-</span> copy _data <span id="L177" class="LineNr">177 </span> <span class="PreProc">var</span> top-addr/<span class="Constant">ecx</span>: (addr int) <span class="SpecialChar"><-</span> <a href='../../131table.subx.html#L26'>get</a> self, <a href='../../203stack.subx.html#L338'>top</a> <span id="L178" class="LineNr">178 </span> <span class="PreProc">var</span> i/<span class="Constant">ebx</span>: int <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> -<span id="L179" class="LineNr">179 </span> <span class="PreProc">var</span> result/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> copy <span class="Constant">1</span> <span class="muComment"># true</span> +<span id="L179" class="LineNr">179 </span> <span class="PreProc">var</span> <a href='data.mu.html#L70'>result</a>/<span class="Constant">eax</span>: boolean <span class="SpecialChar"><-</span> copy <span class="Constant">1</span> <span class="muComment"># true</span> <span id="L180" class="LineNr">180 </span> $grapheme-stack-is-integer?:<span class="PreProc">loop</span>: <span class="Delimiter">{</span> <span id="L181" class="LineNr">181 </span> compare i, *top-addr <span id="L182" class="LineNr">182 </span> <span class="PreProc">break-if->=</span> <span id="L183" class="LineNr">183 </span> <span class="PreProc">var</span> g/<span class="Constant">edx</span>: (addr grapheme) <span class="SpecialChar"><-</span> index data, i -<span id="L184" class="LineNr">184 </span> result <span class="SpecialChar"><-</span> <a href='../../126write-int-decimal.subx.html#L306'>is-decimal-digit?</a> *g -<span id="L185" class="LineNr">185 </span> compare result, <span class="Constant">0</span> <span class="muComment"># false</span> +<span id="L184" class="LineNr">184 </span> <a href='data.mu.html#L70'>result</a> <span class="SpecialChar"><-</span> <a href='../../126write-int-decimal.subx.html#L306'>is-decimal-digit?</a> *g +<span id="L185" class="LineNr">185 </span> compare <a href='data.mu.html#L70'>result</a>, <span class="Constant">0</span> <span class="muComment"># false</span> <span id="L186" class="LineNr">186 </span> <span class="PreProc">break-if-=</span> <span id="L187" class="LineNr">187 </span> i <span class="SpecialChar"><-</span> increment <span id="L188" class="LineNr">188 </span> <span class="PreProc">loop</span> <span id="L189" class="LineNr">189 </span> <span class="Delimiter">}</span> -<span id="L190" class="LineNr">190 </span> <span class="PreProc">return</span> result +<span id="L190" class="LineNr">190 </span> <span class="PreProc">return</span> <a href='data.mu.html#L70'>result</a> <span id="L191" class="LineNr">191 </span><span class="Delimiter">}</span> </pre> </body> |