File:  [Plan 9 NeXT] / lucent / sys / src / ape / lib / ap / 68020 / main9p.s
Revision 1.1.1.1 (vendor branch): download - view: text, annotated - select for diffs
Tue Apr 24 18:01:04 2018 UTC (8 years, 1 month ago) by root
Branches: lucent, MAIN
CVS tags: plan9, HEAD
Plan 9 NeXT

TEXT	_mainp(SB), 1, $16
	MOVL	$a6base(SB), A6
	MOVL	R0, _clock(SB)		/* return value of sys exec!! */
	BSR	_profmain(SB)
	MOVL	__prof+4(SB), __prof+0(SB)
	PEA	inargv+0(FP)
	MOVL	inargc-4(FP), TOS
	BSR	_envsetup(SB)
	BSR	main(SB)

loop:
	MOVL	R0,TOS
	BSR	exit(SB)
	LEA	_profin(SB), A0		/* force loading of profile */
	BRA	loop


TEXT	_savearg(SB), 1, $0
	RTS

TEXT	_callpc(SB), 1, $0
	MOVL	argp+0(FP), A0
	MOVL	4(A0), R0
	RTS

unix.superglobalmegacorp.com

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