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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [gas/] [testsuite/] [gas/] [mt/] [ldst.s] - Blame information for rev 830

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

Line No. Rev Author Line
1 38 julius
; load/store tests
2
 
3
        .data
4
 
5
ldw_data:
6
        .word 0xbabeface
7
 
8
        .text
9
 
10
ld_text:
11
        ld      r4, r3
12
        ld      r3, #8
13
        ld      r5, #ld_text
14
        ldh     r6, #ldh_text
15
        ldh     r4, #4000
16
        ldh     r5, #0x8000
17
        ldh     r5, #-5
18
        ldh     r5, #-0x8000
19
        ldh     r0, #0xffff
20
ldh_text:
21
        ldw     r9, #30233000
22
        ldw     r3, #ldw_data
23
        ldb     r3, @[r9+r2]
24
        ldb     @[r9+r3], r5    ; store
25
        ldb     r3, @[r8+6]
26
        ldb     @[r8+7], r3     ; store
27
        ldw     r9, @[r14+23]
28
        ldw     @[r14+10], r9   ; store

powered by: WebSVN 2.1.0

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