f555d66e0939c235d9a47c55decf993296a58747
[deliverable/binutils-gdb.git] / sim / testsuite / sim / sh64 / compact / mova.cgs
1 # sh testcase for mova @($imm8x4, pc), r0 -*- Asm -*-
2 # mach: all
3 # as: -isa=shcompact
4 # ld: -m shelf32
5
6 .include "compact/testutils.inc"
7
8 start
9
10 .global mova
11 mova:
12 mova @(40, pc), r0
13 mov #16, r1
14 shll8 r1
15 add #40, r1
16 cmp/eq r0, r1
17 bf wrong
18 mova @(12, pc), r0
19 mov #16, r1
20 shll8 r1
21 add #24, r1
22 cmp/eq r0, r1
23 bf wrong
24
25 okay:
26 pass
27
28 wrong:
29 fail
This page took 0.029812 seconds and 3 git commands to generate.