diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-11-03 22:40:47 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-11-03 22:53:39 -0800 |
commit | 62151e17c463c640464de752afbd41e279f4ba2a (patch) | |
tree | 53504235994c6629063856b6a3ee05fb2815ebca /html/403unicode.mu.html | |
parent | 768aeffbbe76e66f30325fa9f82fac539c119e82 (diff) | |
download | mu-62151e17c463c640464de752afbd41e279f4ba2a.tar.gz |
7175
Diffstat (limited to 'html/403unicode.mu.html')
-rw-r--r-- | html/403unicode.mu.html | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/html/403unicode.mu.html b/html/403unicode.mu.html index ac5fbedf..691a8ddd 100644 --- a/html/403unicode.mu.html +++ b/html/403unicode.mu.html @@ -128,7 +128,7 @@ if ('onhashchange' in window) { <span id="L68" class="LineNr"> 68 </span> <span class="Delimiter">}</span> <span id="L69" class="LineNr"> 69 </span> <span class="Delimiter">}</span> <span id="L70" class="LineNr"> 70 </span> <span class="muComment"># emit trailer bytes, 6 bits from 'in', first two bits '10'</span> -<span id="L71" class="LineNr"> 71 </span> <span class="PreProc">var</span> result/<span class="Constant">edi</span>: int <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> +<span id="L71" class="LineNr"> 71 </span> <span class="PreProc">var</span> result/<span class="Constant">edi</span>: grapheme <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> <span id="L72" class="LineNr"> 72 </span> <span class="Delimiter">{</span> <span id="L73" class="LineNr"> 73 </span> compare num-trailers, <span class="Constant">0</span> <span id="L74" class="LineNr"> 74 </span> <span class="PreProc">break-if-<=</span> @@ -271,7 +271,7 @@ if ('onhashchange' in window) { <span id="L211" class="LineNr">211 </span> <span class="Delimiter">}</span> <span id="L212" class="LineNr">212 </span> <span class="Delimiter">}</span> <span id="L213" class="LineNr">213 </span> <span class="muComment"># prepend trailer bytes</span> -<span id="L214" class="LineNr">214 </span> <span class="PreProc">var</span> result/<span class="Constant">edi</span>: int <span class="SpecialChar"><-</span> copy c +<span id="L214" class="LineNr">214 </span> <span class="PreProc">var</span> result/<span class="Constant">edi</span>: grapheme <span class="SpecialChar"><-</span> copy c <span id="L215" class="LineNr">215 </span> <span class="PreProc">var</span> num-byte-shifts/<span class="Constant">edx</span>: int <span class="SpecialChar"><-</span> copy <span class="Constant">1</span> <span id="L216" class="LineNr">216 </span> <span class="Delimiter">{</span> <span id="L217" class="LineNr">217 </span> compare num-trailers, <span class="Constant">0</span> @@ -364,7 +364,7 @@ if ('onhashchange' in window) { <span id="L304" class="LineNr">304 </span> <span class="Delimiter">}</span> <span id="L305" class="LineNr">305 </span> <span class="Delimiter">}</span> <span id="L306" class="LineNr">306 </span> <span class="muComment"># prepend trailer bytes</span> -<span id="L307" class="LineNr">307 </span> <span class="PreProc">var</span> result/<span class="Constant">edi</span>: int <span class="SpecialChar"><-</span> copy c +<span id="L307" class="LineNr">307 </span> <span class="PreProc">var</span> result/<span class="Constant">edi</span>: grapheme <span class="SpecialChar"><-</span> copy c <span id="L308" class="LineNr">308 </span> <span class="PreProc">var</span> num-byte-shifts/<span class="Constant">edx</span>: int <span class="SpecialChar"><-</span> copy <span class="Constant">1</span> <span id="L309" class="LineNr">309 </span> <span class="Delimiter">{</span> <span id="L310" class="LineNr">310 </span> compare num-trailers, <span class="Constant">0</span> @@ -429,7 +429,7 @@ if ('onhashchange' in window) { <span id="L369" class="LineNr">369 </span> <span id="L370" class="LineNr">370 </span><span class="muComment"># To run all tests, uncomment this and run:</span> <span id="L371" class="LineNr">371 </span><span class="muComment"># $ ./translate_mu && ./a.elf</span> -<span id="L372" class="LineNr">372 </span><span class="CommentedCode">#? fn main -> r/ebx: int {</span> +<span id="L372" class="LineNr">372 </span><span class="CommentedCode">#? fn main -> _/ebx: int {</span> <span id="L373" class="LineNr">373 </span><span class="CommentedCode">#? run-tests</span> <span id="L374" class="LineNr">374 </span><span class="CommentedCode">#? r <- copy 0</span> <span id="L375" class="LineNr">375 </span><span class="CommentedCode">#? }</span> |