OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-sh/] [start.s] - Rev 38

Go to most recent revision | Compare with Previous | Blame | View Log

	.section .text
	.global	start
start:
 
	mov.l	stack_k,r15
 
	! call the mainline	
L1:	
	mov.l	main_k,r0
	.uses	L1
	jsr	@r0
	nop
 
	.align 2
stack_k:
	.long	_stack	
main_k:
	.long	_main
 
	.global _trap
_trap:	
	trapa #3
	rts
	nop
 
	.section .stack
_stack:	.long	0xdeaddead
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.