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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [cr16/] [loadw.cgs] - Blame information for rev 227

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

Line No. Rev Author Line
1 227 jeremybenn
# cr16 testcase for loadw 0(regp), (regp)
2
# mach(): cr16
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global ldb
9
ldb:
10
        movd $data_loc, (r4,r3)
11
        movw $0,r5
12
 
13
        loadw 0(r4,r3),r5
14
 
15
        test_h_gr r5, 0x5678 # little endian processor
16
 
17
        pass
18
 
19
data_loc:
20
        .word 0x5678
21
 

powered by: WebSVN 2.1.0

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