ack/mach/xenix3/libsys/_Xpipe.s

14 lines
170 B
ArmAsm
Raw Normal View History

1990-01-19 17:37:29 +00:00
.sect .text; .sect .rom; .sect .data; .sect .bss
.define __Xpipe
.sect .text
__Xpipe:
mov ax,42
call syscal
mov dx,bx
jae 1f
mov (_errno),ax
mov ax,-1
cwd
1:
ret