diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-01-14 14:03:32 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-01-14 14:03:32 -0800 |
commit | 20d6be52405130930fde9ca5bb5e95131ba4e659 (patch) | |
tree | 82ba4a132db206ef9adc2145d9dfd5aacd34da65 /html/baremetal/403unicode.mu.html | |
parent | 232b4a1511a63a2c76ee233e7e172f8caa8232bb (diff) | |
download | mu-20d6be52405130930fde9ca5bb5e95131ba4e659.tar.gz |
7520
Diffstat (limited to 'html/baremetal/403unicode.mu.html')
-rw-r--r-- | html/baremetal/403unicode.mu.html | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/html/baremetal/403unicode.mu.html b/html/baremetal/403unicode.mu.html index b1118a7c..1b70148c 100644 --- a/html/baremetal/403unicode.mu.html +++ b/html/baremetal/403unicode.mu.html @@ -155,7 +155,7 @@ if ('onhashchange' in window) { <span id="L97" class="LineNr"> 97 </span> <span class="PreProc">break-if-=</span> <span id="L98" class="LineNr"> 98 </span> <span class="PreProc">return</span> <span class="Constant">0xffffffff</span> <span id="L99" class="LineNr"> 99 </span> <span class="Delimiter">}</span> -<span id="L100" class="LineNr">100 </span> <span class="PreProc">var</span> c/<span class="Constant">eax</span>: byte <span class="SpecialChar"><-</span> <a href='112read-byte.subx.html#L9'>read-byte</a> in +<span id="L100" class="LineNr">100 </span> <span class="PreProc">var</span> c/<span class="Constant">eax</span>: byte <span class="SpecialChar"><-</span> <a href='112read-byte.subx.html#L10'>read-byte</a> in <span id="L101" class="LineNr">101 </span> <span class="PreProc">var</span> num-trailers/<span class="Constant">ecx</span>: int <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> <span id="L102" class="LineNr">102 </span> $read-grapheme:compute-length: <span class="Delimiter">{</span> <span id="L103" class="LineNr">103 </span> <span class="muComment"># single byte: just return it</span> @@ -201,7 +201,7 @@ if ('onhashchange' in window) { <span id="L143" class="LineNr">143 </span> <span class="Delimiter">{</span> <span id="L144" class="LineNr">144 </span> compare num-trailers, <span class="Constant">0</span> <span id="L145" class="LineNr">145 </span> <span class="PreProc">break-if-<=</span> -<span id="L146" class="LineNr">146 </span> <span class="PreProc">var</span> tmp/<span class="Constant">eax</span>: byte <span class="SpecialChar"><-</span> <a href='112read-byte.subx.html#L9'>read-byte</a> in +<span id="L146" class="LineNr">146 </span> <span class="PreProc">var</span> tmp/<span class="Constant">eax</span>: byte <span class="SpecialChar"><-</span> <a href='112read-byte.subx.html#L10'>read-byte</a> in <span id="L147" class="LineNr">147 </span> <span class="PreProc">var</span> tmp2/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy tmp <span id="L148" class="LineNr">148 </span> tmp2 <span class="SpecialChar"><-</span> <a href='403unicode.mu.html#L159'>shift-left-bytes</a> tmp2, num-byte-shifts <span id="L149" class="LineNr">149 </span> result <span class="SpecialChar"><-</span> or tmp2 @@ -234,19 +234,19 @@ if ('onhashchange' in window) { <span id="L176" class="LineNr">176 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='403unicode.mu.html#L176'>write-grapheme</a></span> out: (addr stream byte), g: grapheme <span class="Delimiter">{</span> <span id="L177" class="LineNr">177 </span>$write-grapheme:body: <span class="Delimiter">{</span> <span id="L178" class="LineNr">178 </span> <span class="PreProc">var</span> c/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy g -<span id="L179" class="LineNr">179 </span> <a href='115write-byte.subx.html#L6'>append-byte</a> out, c <span class="muComment"># first byte is always written</span> +<span id="L179" class="LineNr">179 </span> <a href='115write-byte.subx.html#L7'>append-byte</a> out, c <span class="muComment"># first byte is always written</span> <span id="L180" class="LineNr">180 </span> c <span class="SpecialChar"><-</span> shift-right <span class="Constant">8</span> <span id="L181" class="LineNr">181 </span> compare c, <span class="Constant">0</span> <span id="L182" class="LineNr">182 </span> <span class="PreProc">break-if-=</span> $write-grapheme:body -<span id="L183" class="LineNr">183 </span> <a href='115write-byte.subx.html#L6'>append-byte</a> out, c +<span id="L183" class="LineNr">183 </span> <a href='115write-byte.subx.html#L7'>append-byte</a> out, c <span id="L184" class="LineNr">184 </span> c <span class="SpecialChar"><-</span> shift-right <span class="Constant">8</span> <span id="L185" class="LineNr">185 </span> compare c, <span class="Constant">0</span> <span id="L186" class="LineNr">186 </span> <span class="PreProc">break-if-=</span> $write-grapheme:body -<span id="L187" class="LineNr">187 </span> <a href='115write-byte.subx.html#L6'>append-byte</a> out, c +<span id="L187" class="LineNr">187 </span> <a href='115write-byte.subx.html#L7'>append-byte</a> out, c <span id="L188" class="LineNr">188 </span> c <span class="SpecialChar"><-</span> shift-right <span class="Constant">8</span> <span id="L189" class="LineNr">189 </span> compare c, <span class="Constant">0</span> <span id="L190" class="LineNr">190 </span> <span class="PreProc">break-if-=</span> $write-grapheme:body -<span id="L191" class="LineNr">191 </span> <a href='115write-byte.subx.html#L6'>append-byte</a> out, c +<span id="L191" class="LineNr">191 </span> <a href='115write-byte.subx.html#L7'>append-byte</a> out, c <span id="L192" class="LineNr">192 </span><span class="Delimiter">}</span> <span id="L193" class="LineNr">193 </span><span class="Delimiter">}</span> </pre> |