1: / C library -- stat
   2: 
   3: / error = stat(string, statbuf);
   4: 
   5: / int statbuf[18] or
   6: / char statbuf[36]
   7: / as appropriate
   8: 
   9: .globl  _stat, cerror
  10: 
  11: _stat:
  12:         mov     r5,-(sp)
  13:         mov     sp,r5
  14:         mov     4(r5),0f
  15:         mov     6(r5),0f+2
  16:         sys     0; 9f
  17:         bec     1f
  18:         jmp     cerror
  19: 1:
  20:         clr     r0
  21:         mov     (sp)+,r5
  22:         rts     pc
  23: .data
  24: 9:
  25:         sys     stat; 0:..; ..

Defined functions

Last modified: 1975-05-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 877
Valid CSS Valid XHTML 1.0 Strict