|
|
Power 6/32 Unix version 1.2b
/* alloca.s 4.1 83/06/27 */ /* like alloc, but automatic automatic free in return */ #include "DEFS.h" ENTRY(alloca) moval (sp),r0 # current sp subl2 4(fp),r0 # allocation size andl2 $0xfffffffc,r0 # allignment movl -8(fp),r1 # old pc movl (fp),fp # old fp addl2 $4*4,r0 # reuse space of mscp movl r0,sp # new sp jmp (r1) # funny return
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.