diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-01-27 00:36:44 -0800 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-01-27 00:36:44 -0800 |
commit | 71eb22a5bf94f5fa0a3c95212450e3c6a1a6a990 (patch) | |
tree | 56307b5145be44b2239d3c782234309ed714f1b6 /mu-init.subx | |
parent | 1a65c3af0f797892f5981f8ebd33c275c1ef06b0 (diff) | |
download | mu-71eb22a5bf94f5fa0a3c95212450e3c6a1a6a990.tar.gz |
5924
Diffstat (limited to 'mu-init.subx')
-rw-r--r-- | mu-init.subx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mu-init.subx b/mu-init.subx index 0c5d0293..cec9808d 100644 --- a/mu-init.subx +++ b/mu-init.subx @@ -3,9 +3,9 @@ # See translate_mu for how this file is used. # # Mu programs start at a function called 'main' with this signature: -# fn main args: (address array kernel-string) -> exit_status/ebx : int +# fn main args: (address array kernel-string) -> exit_status/ebx: int # If your program doesn't need commandline arguments you can drop it: -# fn main -> exit_status/ebx : int +# fn main -> exit_status/ebx: int # # Notice that the output must be in ebx, so that the exit() syscall can pick # it up. @@ -15,7 +15,7 @@ Entry: # we don't use ebp in Entry; just initialize it bd/copy-to-ebp 0/imm32 - # var args/eax : (address array kernel-string) + # var args/eax: (address array kernel-string) 89/<- %eax 4/r32/esp # initialize the heap (new-segment *Heap-size Heap) |