07db9de2fe662938caf49e5d61d229f01ebc6f7c
[tpg/acess2.git] / Usermode / Libraries / crt0.o_src / crt0.asm
1 ;
2 ; Acess2
3 ; C Runtime 0
4 ; - crt0.asm
5
6 [BITS 32]
7 [section .text]
8
9
10 [global _start]
11 [global start]
12 [extern main]
13 _start:
14 start:
15         call main
16         mov eax, ebx    ; Set Argument 1 to Return Value
17         xor eax, eax    ; Set EAX to SYS_EXIT (0)
18         int     0xAC
19         jmp $   ; This should never be reached

UCC git Repository :: git.ucc.asn.au