ack/mach/mantra/libsys/_pipe.s

19 lines
221 B
ArmAsm
Raw Permalink Normal View History

1990-01-22 13:09:29 +00:00
.define __pipe
.extern __pipe
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
__pipe:
move.l #0x2A,d0
trap #0
bcc 1f
jmp cerror
1:
move.l 4(sp),a0
move.l d0,(a0)+
move.l d1,(a0)
clr.l d0
rts