10 lines
114 B
ArmAsm
10 lines
114 B
ArmAsm
#include "syscall.h"
|
|
DEFINE(_syscall)
|
|
movl 4(ap),r0
|
|
subl3 $1,(ap)+,(ap)
|
|
chmk r0
|
|
bcs err
|
|
ret
|
|
err:
|
|
jmp cerror
|