1: /*	@(#)fcrt0.s	2.1	SCCS id keyword	*/
   2: / C runtime startoff
   3: / with floating point interpreter
   4: 
   5: .globl  fptrap
   6: .globl  _exit
   7: .globl  _main
   8: .globl  _environ
   9: exit = 1.
  10: signal = 48.
  11: 
  12: start:
  13:         sys     signal; 4; fptrap
  14:         setd
  15:         mov     2(sp),r0
  16:         clr     -2(r0)
  17:         mov     sp,r0
  18:         sub     $4,sp
  19:         mov     4(sp),(sp)
  20:         tst     (r0)+
  21:         mov     r0,2(sp)
  22: 1:
  23:         tst     (r0)+
  24:         bne     1b
  25:         cmp     r0,*2(sp)
  26:         blo     1f
  27:         tst     -(r0)
  28: 1:
  29:         mov     r0,4(sp)
  30:         mov     r0,_environ
  31:         jsr     pc,_main
  32:         cmp     (sp)+,(sp)+
  33:         mov     r0,(sp)
  34:         jsr     pc,*$_exit
  35:         sys     exit
  36: .bss
  37: _environ:
  38:         .=.+2
  39: .data
  40:         .=.+2

Defined functions

exit defined in line 9; used 1 times
  • in line 35
signal defined in line 10; used 1 times
  • in line 13
start defined in line 12; never used

Defined variables

_environ declared in line 8; defined in line 37; used 2 times
  • in line 8, 30
Last modified: 1981-07-10
Generated: 2016-12-26
Generated by src2html V0.67
page hit count: 603
Valid CSS Valid XHTML 1.0 Strict