pipe.s 209 B

1234567891011121314151617
  1. .define _pipe
  2. .sect .text
  3. .sect .rom
  4. .sect .data
  5. .sect .bss
  6. .sect .text
  7. .extern _pipe
  8. _pipe: trap #0
  9. .data2 0x2A
  10. bcc 1f
  11. jmp cerror
  12. 1:
  13. move.l 4(sp),a0
  14. move.l d0,(a0)+
  15. move.l d1,(a0)
  16. clr.l d0
  17. rts