diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-02-13 18:18:05 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-02-13 18:41:43 -0800 |
commit | 535fe9ac96dba0950efd1bfe6788801f6197971f (patch) | |
tree | 218270b512ce4175e3c7e3394d7b1a19ad84184b /html/baremetal/ex2.mu.html | |
parent | 9b5ead67eca1b6e1afeeba63e9c68b2790c26436 (diff) | |
download | mu-535fe9ac96dba0950efd1bfe6788801f6197971f.tar.gz |
7737
Diffstat (limited to 'html/baremetal/ex2.mu.html')
-rw-r--r-- | html/baremetal/ex2.mu.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/baremetal/ex2.mu.html b/html/baremetal/ex2.mu.html index 585e281d..0f696fcf 100644 --- a/html/baremetal/ex2.mu.html +++ b/html/baremetal/ex2.mu.html @@ -71,11 +71,11 @@ if ('onhashchange' in window) { <span id="L13" class="LineNr">13 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex2.mu.html#L13'>main</a></span> <span class="Delimiter">{</span> <span id="L14" class="LineNr">14 </span> <span class="PreProc">var</span> y/<span class="Constant">eax</span>: int <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> <span id="L15" class="LineNr">15 </span> <span class="Delimiter">{</span> -<span id="L16" class="LineNr">16 </span> compare y, <span class="Constant">0x300</span> <span class="muComment"># screen-height = 768</span> +<span id="L16" class="LineNr">16 </span> compare y, <span class="Constant">0x300</span>/screen-height=<span class="Constant">768</span> <span id="L17" class="LineNr">17 </span> <span class="PreProc">break-if->=</span> <span id="L18" class="LineNr">18 </span> <span class="PreProc">var</span> x/<span class="Constant">edx</span>: int <span class="SpecialChar"><-</span> copy <span class="Constant">0</span> <span id="L19" class="LineNr">19 </span> <span class="Delimiter">{</span> -<span id="L20" class="LineNr">20 </span> compare x, <span class="Constant">0x400</span> <span class="muComment"># screen-width = 1024</span> +<span id="L20" class="LineNr">20 </span> compare x, <span class="Constant">0x400</span>/screen-width=<span class="Constant">1024</span> <span id="L21" class="LineNr">21 </span> <span class="PreProc">break-if->=</span> <span id="L22" class="LineNr">22 </span> <span class="PreProc">var</span> color/<span class="Constant">ecx</span>: int <span class="SpecialChar"><-</span> copy x <span id="L23" class="LineNr">23 </span> color <span class="SpecialChar"><-</span> and <span class="Constant">0xff</span> |