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

Subversion Repositories openrisc_me

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

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"
 

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.