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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-6.8/] [sim/] [testsuite/] [m32r-elf/] [hello.s] - Blame information for rev 816

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

Line No. Rev Author Line
1 24 jeremybenn
 
2
        .globl _start
3
_start:
4
 
5
; write (hello world)
6
        ldi8 r3,#14
7
        ld24 r2,#hello
8
        ldi8 r1,#1
9
        ldi8 r0,#5
10
        trap #0
11
; exit (0)
12
        ldi8 r1,#0
13
        ldi8 r0,#1
14
        trap #0
15
 
16
length: .long 14
17
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.