Annotation of 42BSD/ingres/source/gutil/exit.PDP.s, revision 1.1

1.1     ! root        1: / C library -- exit
        !             2: 
        !             3: /      @(#)exit.PDP.s  7.1     2/5/81
        !             4: 
        !             5: / exit(code)
        !             6: / code is return in r0 to system
        !             7: 
        !             8: / modified by INGRES group to call _cleanup (standard v7)
        !             9: / and to require the loading of '_putchar' (so that
        !            10: / the library loads correctly).
        !            11: 
        !            12: .globl _exit
        !            13: .globl _putchar
        !            14: .globl __cleanup
        !            15: 
        !            16: _exit:
        !            17:        mov     r5,-(sp)
        !            18:        mov     sp,r5
        !            19:        jsr     pc,__cleanup
        !            20:        mov     4(r5),r0
        !            21:        sys     exit
        !            22: 
        !            23:        jsr     pc,_putchar     / doesn't actually get called.

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.