This commit is contained in:
Kartik Agaram 2020-02-14 01:27:02 -08:00
parent 5946a64453
commit 65eb2a5714
1 changed files with 2 additions and 2 deletions

View File

@ -3,7 +3,7 @@
# 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: (addr 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
#
@ -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: (addr array kernel-string)
89/<- %eax 4/r32/esp
# initialize the heap
(new-segment *Heap-size Heap)