about summary refs log tree commit diff stats
path: root/html/mu-init.subx.html
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-02-17 15:29:43 -0800
committerKartik Agaram <vc@akkartik.com>2020-02-17 15:29:43 -0800
commitc52ae116ace032a3eaa53bd297836b675cd8393e (patch)
treef7e6f7349db94ec0303ea323957040ca20999081 /html/mu-init.subx.html
parent6323661c2c588c4fed280f55f20ca3bbc92edb27 (diff)
downloadmu-c52ae116ace032a3eaa53bd297836b675cd8393e.tar.gz
6015
Diffstat (limited to 'html/mu-init.subx.html')
-rw-r--r--html/mu-init.subx.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/html/mu-init.subx.html b/html/mu-init.subx.html
index e9fa6bab..324210e4 100644
--- a/html/mu-init.subx.html
+++ b/html/mu-init.subx.html
@@ -57,9 +57,9 @@ if ('onhashchange' in window) {
 <span id="L3" class="LineNr"> 3 </span><span class="subxComment"># See translate_mu for how this file is used.</span>
 <span id="L4" class="LineNr"> 4 </span><span class="subxComment">#</span>
 <span id="L5" class="LineNr"> 5 </span><span class="subxComment"># Mu programs start at a function called 'main' with this signature:</span>
-<span id="L6" class="LineNr"> 6 </span><span class="subxComment">#   fn main args: (address array kernel-string) -&gt; exit_status/ebx: int</span>
+<span id="L6" class="LineNr"> 6 </span><span class="subxComment">#   fn main args: (addr array kernel-string) -&gt; exit-status/ebx: int</span>
 <span id="L7" class="LineNr"> 7 </span><span class="subxComment"># If your program doesn't need commandline arguments you can drop it:</span>
-<span id="L8" class="LineNr"> 8 </span><span class="subxComment">#   fn main -&gt; exit_status/ebx: int</span>
+<span id="L8" class="LineNr"> 8 </span><span class="subxComment">#   fn main -&gt; exit-status/ebx: int</span>
 <span id="L9" class="LineNr"> 9 </span><span class="subxComment">#</span>
 <span id="L10" class="LineNr">10 </span><span class="subxComment"># Notice that the output must be in ebx, so that the exit() syscall can pick</span>
 <span id="L11" class="LineNr">11 </span><span class="subxComment"># it up.</span>
@@ -69,7 +69,7 @@ if ('onhashchange' in window) {
 <span id="L15" class="LineNr">15 </span><span class="SpecialChar">Entry</span>:
 <span id="L16" class="LineNr">16 </span>    <span class="subxComment"># we don't use ebp in Entry; just initialize it</span>
 <span id="L17" class="LineNr">17 </span>    bd/copy-to-ebp 0/imm32
-<span id="L18" class="LineNr">18 </span>    <span class="subxComment"># var args/eax: (address array kernel-string)</span>
+<span id="L18" class="LineNr">18 </span>    <span class="subxComment"># var args/eax: (addr array kernel-string)</span>
 <span id="L19" class="LineNr">19 </span>    89/&lt;- %eax 4/r32/esp
 <span id="L20" class="LineNr">20 </span>    <span class="subxComment"># initialize the heap</span>
 <span id="L21" class="LineNr">21 </span>    (<a href='053new-segment.subx.html#L41'>new-segment</a> *<span class="SpecialChar"><a href='069allocate.subx.html#L29'>Heap-size</a></span> <span class="SpecialChar"><a href='069allocate.subx.html#L22'>Heap</a></span>)