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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [frv-elf/] [hello.s] - Rev 281

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

	.global _start
_start:
 
; write (hello world)
	setlos	#14,gr10
	sethi	%hi(hello),gr9
	setlo	%lo(hello),gr9
	setlos	#1,gr8
	setlos	#5,gr7
	tira	gr0,#0
; exit (0)
	setlos	#0,gr8
	setlos	#1,gr7
	tira	gr0,#0
 
hello:	.ascii "Hello World!\r\n"
 

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.