ack/mach/m68k4/libsys/pipe.s

19 lines
218 B
ArmAsm
Raw Normal View History

1985-03-21 14:04:45 +00:00
.define _pipe
.extern _pipe
1986-07-22 13:23:14 +00:00
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
1985-03-21 14:04:45 +00:00
_pipe:
move.w #0x2A,d0
1985-03-21 14:04:45 +00:00
trap #0
bcc 1f
jmp cerror
1:
move.l 4(sp),a0
move.l d0,(a0)+
move.l d1,(a0)
clr.l d0
rts