1: / C library -- read
   2: 
   3: / nread = read(file, buffer, count);
   4: /
   5: / nread ==0 means eof; nread == -1 means error
   6: 
   7: .globl  _read, cerror
   8: 
   9: _read:
  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     read; 0:..; ..

Defined functions

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