Commit | Line | Data |
18e5fa7e BJ |
1 | # pipe -- C library |
2 | |
3 | # pipe(f) |
4 | # int f[2]; |
5 | |
6 | .set pipe,42 |
7 | .globl _pipe |
8 | .globl cerror |
9 | |
10 | _pipe: |
11 | .word 0x0000 |
12 | chmk $pipe |
13 | bcc noerror |
14 | jmp cerror |
15 | noerror: |
16 | movl 4(ap),r2 |
17 | movl r0,(r2)+ |
18 | movl r1,(r2) |
19 | clrl r0 |
20 | ret |