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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [gdb-7.1/] [sim/] [testsuite/] [sim/] [frv/] [stbi.cgs] - Blame information for rev 842

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 227 jeremybenn
# frv testcase for stbi $GRk,@($GRi,$GRj)
2
# mach: all
3
 
4
        .include "testutils.inc"
5
 
6
        start
7
 
8
        .global stbi
9
stbi:
10
        set_gr_gr       sp,gr20
11
        set_mem_limmed  0xdead,0xbeef,sp
12
        set_gr_limmed   0xffff,0xffff,gr8
13
        stbi            gr8,@(sp,0)
14
        test_mem_limmed 0xffad,0xbeef,sp
15
 
16
        inc_gr_immed    0x801,sp        ; 2049
17
        stbi            gr8,@(sp,-2048)
18
        test_mem_limmed 0xffff,0xbeef,gr20
19
 
20
        inc_gr_immed    -4094,sp
21
        stbi            gr8,@(sp,0x7ff)
22
        test_mem_limmed 0xffff,0xffef,gr20
23
 
24
        pass

powered by: WebSVN 2.1.0

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