mount.s 332 B

123456789101112131415161718192021222324252627
  1. .define _mount
  2. .sect .text
  3. .sect .rom
  4. .sect .data
  5. .sect .bss
  6. .sect .text
  7. .extern _mount
  8. .sect .text
  9. _mount:
  10. tst.b -40(sp)
  11. link a6,#-0
  12. move.w 16(a6), d2
  13. ext.l d2
  14. move.l d2,-(sp)
  15. move.l 12(a6),-(sp)
  16. move.l 8(a6),-(sp)
  17. jsr __Smount
  18. lea 12(sp),sp
  19. unlk a6
  20. rts
  21. __Smount: trap #0
  22. .data2 0x15
  23. bcc 1f
  24. jmp cerror
  25. 1:
  26. clr.l d0
  27. rts