1: /* @(#)cuexit.s 2.1 SCCS id keyword */ 2: / C library -- exit 3: 4: / exit(code) 5: / code is return in r0 to system 6: 7: .globl _exit 8: .globl __cleanup 9: exit = 1 10: 11: _exit: 12: mov r5,-(sp) 13: mov sp,r5 14: jsr pc,__cleanup 15: mov 4(r5),r0 16: sys exit