1: / error = pipe(fildes); 2: / int fildes[2]; 3: 4: .globl _pipe, cerror 5: 6: _pipe: 7: mov r5,-(sp) 8: mov sp,r5 9: sys pipe 10: bec 1f 11: jmp cerror 12: 1: 13: mov r2,-(sp) 14: mov 4(r5),r2 15: mov r0,(r2)+ 16: mov r1,(r2) 17: clr r0 18: mov (sp)+,r2 19: mov (sp)+,r5 20: rts pc