1 .globl begtext, begdata, begbss ! needed by linker
4 .globl _main0, _syscall, _exit
7 begtext
: ! text
,data
,bss segments
8 .data ! are all the same.
14 export auto_start
! Need this to override
bcc's crt0.o
19 call _main0 ! NOTE: call main0() in crt0.c, which calls main()
22 call _exit ! exit(0) to die in MTX kernel