mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-27 14:50:23 +00:00
14 lines
229 B
ArmAsm
14 lines
229 B
ArmAsm
! _exit() system call
|
|
|
|
#include "sys/syscallasm.h"
|
|
|
|
TEXT_SECTION
|
|
ALIGN (4)
|
|
GLOBAL (ASM_SYMBOL (_exit))
|
|
ASM_SYMBOL (_exit):
|
|
mov SYS_exit,%g1
|
|
ta %icc,SYSCALL_TRAP
|
|
|
|
! If that returns (yikes!), try an illegal insn ...
|
|
|
|
WORD (0) |