5 mov _stack-8,a0 # Load up the stack pointer
8 mov _edata,a0 # Get the start/end of bss
11 cmp a0,a1 # If no bss, then do nothing
17 movbu d0,(a0) # Clear a byte and bump pointer
23 call ___main,[],0 # Call __main to run ctors/dtors
27 call _main,[],0 # Call main program
28 call _exit,[],0 # All done, no need to return or
29 # deallocate our stack.
37 mov _stack-4,a3 # Load up the stack pointer and allocate
40 mov _edata,a0 # Get the start/end of bss
43 cmp a0,a1 # If no bss, then do nothing
49 movb d0,(a0) # Clear a byte and bump pointer
59 jsr _main # Call main program
60 jmp _exit # All done, no need to return or
61 # deallocate our stack.