|
|
1.1 ! root 1: / (-lgl ! 2: / COHERENT Version 4.1 ! 3: / Copyright (c) 1982, 1993 by Mark Williams Company. ! 4: / Copyright (c) Ciaran O'Donnell, Bievres, France, 1991. ! 5: / All rights reserved. May not be copied without permission. ! 6: / -lgl) ! 7: ////////// ! 8: / csu/i387/mcrts0.s ! 9: / C run-time start-off with profiling. ! 10: / i386 COHERENT native version with i80x87 NDP initialization. ! 11: ////////// ! 12: ! 13: .globl _start ! 14: .globl environ ! 15: .globl main ! 16: .globl exit ! 17: .globl _exit ! 18: .globl _profon ! 19: .globl _profoff ! 20: ! 21: .bss environ, 4 ! 22: ! 23: .text ! 24: _start: ! 25: fninit / initialize NDP ! 26: fwait / and wait for it ! 27: popl %eax / argc to EAX ! 28: mov %esp, %ebp / argv to EBP ! 29: lea 4(%esp,%eax,4), %edx / envp to EDX ! 30: movl %edx, environ / initialize environ ! 31: pushl %edx ! 32: pushl %ebp ! 33: pushl %eax ! 34: call _profon / enable profiling ! 35: call main / main(argc, argv, envp) ! 36: addl $12,%esp ! 37: pushl %eax ! 38: call exit / exit(status) ! 39: _exit: ! 40: call _profoff / disable profiling ! 41: movl $1,%eax ! 42: lcall $0x7,$0 ! 43: hlt / NOTREACHED ! 44: ! 45: / end of csu/i387/mcrts0.s
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.