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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gdb-6.8/] [sim/] [testsuite/] [sim/] [fr30/] [xchb.cgs] - Blame information for rev 157

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 24 jeremybenn
# fr30 testcase for xchb @$Rj,Ri
2
# mach(): fr30
3
 
4
        .include "testutils.inc"
5
 
6
        START
7
 
8
        .text
9
        .global xchb
10
xchb:
11
        ; Test xchb @$Rj,Ri
12
        mvi_h_mem       0xdeadbeef,sp
13
        mvi_h_gr        0xbeefdead,r0
14
        set_cc  0x0f                    ; Condition codes are irrelevent
15
        xchb            @sp,r0
16
        test_cc 1 1 1 1
17
        test_h_gr       0xde,r0
18
        test_h_mem      0xadadbeef,sp
19
 
20
        pass

powered by: WebSVN 2.1.0

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