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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [gdb-7.2/] [sim/] [testsuite/] [d10v-elf/] [t-ld-st.s] - Blame information for rev 816

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

Line No. Rev Author Line
1 330 jeremybenn
.include "t-macros.i"
2
 
3
        start
4
 
5
        ; Test ld and st
6
        ld r4, @foo
7
        check 1 r4 0xdead
8
 
9
        ldi r4, #0x2152
10
        st r4, @foo
11
        ld r4, @foo
12
        check 2 r4 0x2152
13
 
14
        ; Test ld2w and st2w
15
        ldi r4, #0xdead
16
        st r4, @foo
17
        ld2w r4, @foo
18
        check2w2 3 r4 0xdead 0xf000
19
 
20
        ldi r4, #0x2112
21
        ldi r5, #0x1984
22
        st2w r4, @foo
23
        ld2w r4, @foo
24
        check2w2 4 r4 0x2112 0x1984
25
 
26
        .data
27
        .align 2
28
foo:    .short 0xdead
29
bar:    .short 0xf000
30
        .text
31
 
32
        exit0

powered by: WebSVN 2.1.0

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