1: / C library -- dup
   2: 
   3: /	f = dup(of)
   4: /	f == -1 for error
   5: 
   6: dup = 41.
   7: 
   8: .globl  _dup, cerror
   9: 
  10: _dup:
  11:         mov     r5,-(sp)
  12:         mov     sp,r5
  13:         mov     4(r5),r0
  14:         sys     dup
  15:         bec     1f
  16:         jmp     cerror
  17: 1:
  18:         mov     (sp)+,r5
  19:         rts     pc
Last modified: 1975-05-14
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 645
Valid CSS Valid XHTML 1.0 Strict