_fstat.s 408 B

1234567891011121314151617181920212223242526
  1. .define __fstat
  2. .extern __fstat
  3. .sect .text
  4. .sect .rom
  5. .sect .data
  6. .sect .bss
  7. .sect .text
  8. __fstat: move.l #0x1C,d0
  9. move.l 4(sp),a0
  10. move.l 8(sp),d1
  11. jsr callc
  12. tst.l d0
  13. blt 1f
  14. move.l 4(sp),a0
  15. add.l #30,a0
  16. lea 2(a0),a1
  17. move.w -(a0),-(a1)
  18. move.w -(a0),-(a1)
  19. move.w -(a0),-(a1)
  20. move.w -(a0),-(a1)
  21. move.w -(a0),-(a1)
  22. move.w -(a0),-(a1)
  23. move.w -(a0),-(a1)
  24. move.w -(a0),-(a1)
  25. 1:
  26. rts