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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [fr30/] [hello.ms] - Blame information for rev 842

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# mach: fr30
2
# output: Hello world!\n
3
 
4
        .global _start
5
_start:
6
 
7
; write (hello world)
8
        ldi32 #14,r6
9
        ldi32 #hello,r5
10
        ldi32 #1,r4
11
        ldi32 #5,r0
12
        int   #10
13
; exit (0)
14
        ldi32 #0,r4
15
        ldi32 #1,r0
16
        int   #10
17
 
18
length: .long 14
19
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.