|
|
1.1 root 1: .asciz "@(#)vsyscall.s 34.1 10/3/80"
2: .globl _vsyscall
3: .globl cerror
4: _vsyscall:
5: .word 0x0000
6: movl 4(ap),r0 # point at arg array
7: movl (r0)+,r1 # syscall number
8: movl $10,r2
9: Loop:
10: pushl (r0)[r2] # push argument
11: sobgeq r2,Loop # push 10 arguments
12: pushl $10 # arg count
13: movl sp,ap # point at args
14: chmk r1 # do it
15: bcs L1
16: ret
17: L1:
18: jmp cerror
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.