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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [m32r/] [ldh.cgs] - Blame information for rev 857

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

Line No. Rev Author Line
1 227 jeremybenn
# m32r testcase for ldh $dr,@$sr
2
# mach(): m32r m32rx
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global ldh
9
ldh:
10
        mvaddr_h_gr r4, data_loc
11
        mvi_h_gr    r5, 0
12
 
13
        ldh r5, @r4
14
 
15
        test_h_gr r5, 0x1234 ; big endian processor
16
 
17
        pass
18
 
19
data_loc:
20
        .word 0x12345678
21
 
22
        pass

powered by: WebSVN 2.1.0

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