# C runtime startoff including monitoring
tstl (r0)+ # null args term ?
cmpl r0,*4(sp) # end of 'env' or 'argv' ?
tstl -(r0) # envp's are in list
movl r0,_environ # indir is 0 if no env ; not 0 if env
addl2 $8*cbufs+12,r1 # entrance count plus header
pushl $cbufs # # entrance counters
# bandaid for sbrk not clearing memory (remove bandaid when fixed)
.byte 'N,'o,' ,'s,'p,'a,'c,'e,' ,'f,'o,'r,'
.byte 'm,'o,'n,'i,'t,'o,'r,' ,'b,'u,'f,'f,'e,'r,0xa,0x0