ack/mach/m68k2/libsys/pipe.s

19 lines
218 B
ArmAsm
Raw Permalink Normal View History

1985-04-18 15:14:37 +00:00
.define _pipe
.sect .text
.sect .rom
.sect .data
.sect .bss
.sect .text
1985-04-18 15:14:37 +00:00
.extern _pipe
_pipe:
move.w #0x2A,d0
trap #0
bcc 1f
jmp cerror
1:
move.l 4(sp),a0
move.w d0,(a0)+
move.w d1,(a0)
clr.l d0
rts