Plan 9 from Bell Labs’s /usr/web/sources/plan9/sys/src/ape/lib/ap/sparc/main9.s

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


	TEXT	_main(SB), $16
	MOVW	$setSB(SB), R2
	JMPL	_envsetup(SB)
	MOVW	inargc-4(FP), R7
	MOVW	$inargv+0(FP), R8
	MOVW	R7, 4(R1)
	MOVW	R8, 8(R1)
	JMPL	main(SB)

loop:
	MOVW	R7, 4(R1)
	JMPL	exit(SB)
	MOVW	$_mul(SB),R7
	JMP	loop

Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].