ack/mach/xenix3/libsys/_profil.s

14 lines
177 B
ArmAsm
Raw Permalink Normal View History

1987-10-06 16:39:14 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss
.define __profil
.sect .text
__profil:
mov ax,44
mov bx,sp
add bx,2
call syscal
jae 1f
mov (_errno),ax
mov ax,-1
1:
ret