about summary refs log tree commit diff stats
path: root/html/ex8.mu.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2021-04-13 21:11:26 -0700
committerKartik Agaram <vc@akkartik.com>2021-04-13 21:11:26 -0700
commit5a3f9a31850d6da72dff7211c9760cd4a8e1090b (patch)
treeda45bfbfa58a4573b6c1898006dfaf146352eb40 /html/ex8.mu.html
parentfea45ccbea6bee563b41da199fb3c456c6069cb5 (diff)
downloadmu-5a3f9a31850d6da72dff7211c9760cd4a8e1090b.tar.gz
.
Diffstat (limited to 'html/ex8.mu.html')
-rw-r--r--html/ex8.mu.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/html/ex8.mu.html b/html/ex8.mu.html
index 1ad38b46..ba4d1fd9 100644
--- a/html/ex8.mu.html
+++ b/html/ex8.mu.html
@@ -56,7 +56,7 @@ if ('onhashchange' in window) {
 <body onload='JumpToLine();'>
 <a href='https://github.com/akkartik/mu/blob/main/ex8.mu'>https://github.com/akkartik/mu/blob/main/ex8.mu</a>
 <pre id='vimCodeElement'>
-<span id="L1" class="LineNr"> 1 </span><span class="muComment"># Demo of floating-point</span>
+<span id="L1" class="LineNr"> 1 </span><span class="muComment"># Demo of floating-point support.</span>
 <span id="L2" class="LineNr"> 2 </span><span class="muComment">#</span>
 <span id="L3" class="LineNr"> 3 </span><span class="muComment"># To build a disk image:</span>
 <span id="L4" class="LineNr"> 4 </span><span class="muComment">#   ./translate ex8.mu             # emits disk.img</span>
@@ -64,7 +64,7 @@ if ('onhashchange' in window) {
 <span id="L6" class="LineNr"> 6 </span><span class="muComment">#   bochs -f bochsrc               # bochsrc loads disk.img</span>
 <span id="L7" class="LineNr"> 7 </span><span class="muComment"># Set a breakpoint at 0x7c00 and start stepping.</span>
 <span id="L8" class="LineNr"> 8 </span>
-<span id="L9" class="LineNr"> 9 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex8.mu.html#L9'>main</a></span> <span class="Delimiter">{</span>
+<span id="L9" class="LineNr"> 9 </span><span class="PreProc">fn</span> <span class="muFunction"><a href='ex8.mu.html#L9'>main</a></span> <a href='500text-screen.mu.html#L9'>screen</a>: (addr <a href='500text-screen.mu.html#L9'>screen</a>), keyboard: (addr keyboard), data-disk: (addr disk) <span class="Delimiter">{</span>
 <span id="L10" class="LineNr">10 </span>  <span class="PreProc">var</span> n/<span class="Constant">eax</span>: int <span class="Special">&lt;-</span> copy <span class="Constant">0</span>
 <span id="L11" class="LineNr">11 </span>  <span class="PreProc">var</span> result/<span class="Constant">xmm0</span>: float <span class="Special">&lt;-</span> convert n
 <span id="L12" class="LineNr">12 </span><span class="Delimiter">}</span>