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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [fr30/] [leave.cgs] - Blame information for rev 227

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# fr30 testcase for leave
2
# mach(): fr30
3
 
4
        .include "testutils.inc"
5
 
6
        START
7
 
8
        .text
9
        .global leave
10
leave:
11
        ; Test leave $u10
12
        mvr_h_gr        sp,r7                   ; save Stack pointer
13
        mvr_h_gr        sp,r14
14
        inci_h_gr       -4,r14
15
        mvi_h_mem       0xdeadbeef,r14
16
        mvi_h_gr        0xbeefdead,r15
17
        set_cc  0x0f                    ; Condition codes are irrelevent
18
        leave
19
        test_cc 1 1 1 1
20
        testr_h_gr      sp,r7
21
        test_h_gr       0xdeadbeef,r14
22
 
23
        pass

powered by: WebSVN 2.1.0

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