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/] [cr16/] [pop3.cgs] - Blame information for rev 227

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# cr16 testcase for pop RA insns.
2
# mach:  cr16
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global pop3
9
pop3:
10
        movd $0x1006, (sp)
11
        movd $0xabcd, (r3,r2)
12
        stord (r3,r2), 0x1006
13
        pop RA
14
 
15
 
16
        cmpd $0xabcd, (ra)
17
        beq ok
18
        br not_ok
19
not_ok:
20
        fail
21
ok:
22
        pass
23
 
24
 

powered by: WebSVN 2.1.0

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