Annotation of researchv9/libc/sys/syscall.s, revision 1.1.1.1

1.1       root        1:        .globl  _syscall
                      2:        .globl  cerror2
                      3: _syscall:
                      4:        movl    sp@(4),d0       | syscall number
                      5:        movl    sp@,sp@(4)      | fix arguments
                      6:        movl    d0,sp@          | place syscall number on back on stack
                      7:        trap    #0
                      8:        bcs     L1
                      9:        movl    sp@,sp@-        | restore stack
                     10:        movl    d0,a0           | for sbreak
                     11:        rts
                     12: L1:
                     13:        movl    sp@,sp@-        | restore stack
                     14:        jmp     cerror2

unix.superglobalmegacorp.com

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