summaryrefslogtreecommitdiff
path: root/xxx/sys/crt0.S
blob: 2d6cbbd6bf39d2e341cf5a72efaf3fa70ba3fb35 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
.global _start

_start:

jmp .

##pop %eax
##mov %eax, environ

##pop %eax
#mov %eax, _impure_ptr

##call main


##push environ
##push %eax
##call _exit2

# this should never be reached anyway!
.wait:
    hlt
jmp .wait