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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gdb-7.2/] [sim/] [testsuite/] [frv-elf/] [hello.s] - Blame information for rev 861

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

Line No. Rev Author Line
1 330 jeremybenn
        .global _start
2
_start:
3
 
4
; write (hello world)
5
        setlos  #14,gr10
6
        sethi   %hi(hello),gr9
7
        setlo   %lo(hello),gr9
8
        setlos  #1,gr8
9
        setlos  #5,gr7
10
        tira    gr0,#0
11
; exit (0)
12
        setlos  #0,gr8
13
        setlos  #1,gr7
14
        tira    gr0,#0
15
 
16
hello:  .ascii "Hello World!\r\n"

powered by: WebSVN 2.1.0

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