fstat.s 163 B

12345678910111213
  1. .sect .text; .sect .rom; .sect .data; .sect .bss
  2. .sect .text
  3. fstat = 28
  4. .define _fstat
  5. _fstat:
  6. .data2 0x0000
  7. chmk $fstat
  8. bcc 1f
  9. jmp cerror
  10. 1:
  11. clrl r0
  12. ret