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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [d10v-elf/] [t-rdt.s] - Diff between revs 227 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 227 Rev 816
.include "t-macros.i"
.include "t-macros.i"
 
 
        start
        start
 
 
        PSW_BITS = PSW_C|PSW_F0|PSW_F1
        PSW_BITS = PSW_C|PSW_F0|PSW_F1
 
 
        ldi     r6, #success@word
        ldi     r6, #success@word
        mvtc    r6, dpc
        mvtc    r6, dpc
        ldi     r6, #PSW_BITS
        ldi     r6, #PSW_BITS
        mvtc    r6, dpsw
        mvtc    r6, dpsw
 
 
test_rdt:
test_rdt:
        RTD
        RTD
        exit47
        exit47
 
 
success:
success:
        checkpsw2 1 PSW_BITS
        checkpsw2 1 PSW_BITS
        exit0
        exit0
 
 

powered by: WebSVN 2.1.0

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