1: / C library -- write
   2: 
   3: / nwritten = write(file, buffer, count);
   4: /
   5: / nwritten == -1 means error
   6: 
   7: .globl  _write, cerror
   8: 
   9: _write:
  10:         mov     r5,-(sp)
  11:         mov     sp,r5
  12:         mov     4(r5),r0
  13:         mov     6(r5),0f
  14:         mov     8(r5),0f+2
  15:         sys     0; 9f
  16:         bec     1f
  17:         jmp     cerror
  18: 1:
  19:         mov     (sp)+,r5
  20:         rts     pc
  21: .data
  22: 9:
  23:         sys     write; 0:..; ..

Defined functions

_write declared in line 7; defined in line 9; used 142 times
Last modified: 1975-05-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 963
Valid CSS Valid XHTML 1.0 Strict