diff options
author | Kartik Agaram <vc@akkartik.com> | 2021-02-14 16:12:47 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2021-02-14 16:29:19 -0800 |
commit | 8cff1c04e38787a99b3382055542d967dca420df (patch) | |
tree | 6210704d28f1002a062b6e429d7099f671992f6f /html/baremetal/500text-screen.mu.html | |
parent | 247fb5951a4dfdcfef8b431ec7f0b85c863575c7 (diff) | |
download | mu-8cff1c04e38787a99b3382055542d967dca420df.tar.gz |
7745
Diffstat (limited to 'html/baremetal/500text-screen.mu.html')
-rw-r--r-- | html/baremetal/500text-screen.mu.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/html/baremetal/500text-screen.mu.html b/html/baremetal/500text-screen.mu.html index 04bd8548..5c1b0944 100644 --- a/html/baremetal/500text-screen.mu.html +++ b/html/baremetal/500text-screen.mu.html @@ -165,9 +165,9 @@ if ('onhashchange' in window) { <span id="L107" class="LineNr">107 </span> <span class="PreProc">break-if-<</span> <span id="L108" class="LineNr">108 </span> <a href='501draw-text.mu.html#L519'>abort</a> <span class="Constant">"tried to print out of <a href='500text-screen.mu.html#L9'>screen</a> bounds"</span> <span id="L109" class="LineNr">109 </span> <span class="Delimiter">}</span> -<span id="L110" class="LineNr">110 </span> <span class="PreProc">var</span> height-addr/<span class="Constant">eax</span>: (addr int) <span class="SpecialChar"><-</span> get <a href='500text-screen.mu.html#L9'>screen</a>, height +<span id="L110" class="LineNr">110 </span> <span class="PreProc">var</span> width-addr/<span class="Constant">eax</span>: (addr int) <span class="SpecialChar"><-</span> get <a href='500text-screen.mu.html#L9'>screen</a>, width <span id="L111" class="LineNr">111 </span> <span class="PreProc">var</span> result/<span class="Constant">ecx</span>: int <span class="SpecialChar"><-</span> copy y -<span id="L112" class="LineNr">112 </span> result <span class="SpecialChar"><-</span> multiply *height-addr +<span id="L112" class="LineNr">112 </span> result <span class="SpecialChar"><-</span> multiply *width-addr <span id="L113" class="LineNr">113 </span> result <span class="SpecialChar"><-</span> add x <span id="L114" class="LineNr">114 </span> <span class="PreProc">return</span> result <span id="L115" class="LineNr">115 </span><span class="Delimiter">}</span> |