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/] [push3.cgs] - Rev 325

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

# cr16 testcase for push RA insns.
# mach:  cr16

        .include "testutils.inc"

        start

        .global push1
push1:
        movd $0x1006, (sp)
        movd $0xabcd, (ra)
        push RA


        loadd 0x1002, (r3,r2)
        cmpd (r3,r2), (ra)
        beq ok
        br not_ok
not_ok:
        fail
ok:
        pass

        

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

powered by: WebSVN 2.1.0

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