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/] [sh64/] [compact/] [movb6.cgs] - Blame information for rev 280

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

Line No. Rev Author Line
1 24 jeremybenn
# sh testcase for mov.b @$rm, $rn -*- Asm -*-
2
# mach: all
3
# as: -isa=shcompact
4
# ld: -m shelf32
5
 
6
        .include "compact/testutils.inc"
7
 
8
        start
9
        mov #30, r2
10
        shll8 r2
11
        # Store something first.
12
        mov #0, r0
13
        or #170, r0
14
        mov r0, r7
15
        mov.b r7, @r2
16
        # Load it back.
17
        mov.b @r2, r1
18
        mov r1, r0
19
        and #255, r0
20
        cmp/eq r7, r0
21
        bf wrong
22
 
23
okay:
24
        pass
25
wrong:
26
        fail

powered by: WebSVN 2.1.0

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