]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blame - sim/testsuite/sim/sh64/compact/sts-mach.cgs
This commit was manufactured by cvs2svn to create branch
[thirdparty/binutils-gdb.git] / sim / testsuite / sim / sh64 / compact / sts-mach.cgs
CommitLineData
cbb38b47
BE
1# sh testcase for sts mach, $rn -*- Asm -*-
2# mach: all
3# as: -isa=shcompact
4# ld: -m shelf32
5
6 .include "compact/testutils.inc"
7
8 start
9
10 .global sts_mach
11sts_mach:
12 mov #42, r0
13 lds r0, mach
14 sts mach, r1
15 cmp/eq r0, r1
16 bf wrong
17
18okay:
19 pass
20wrong:
21 fail
22