MIPS/GAS: Sanitize `.option picX' pseudo-op
[deliverable/binutils-gdb.git] / gas / testsuite / gas / cris / rd-regprefix-1.s
CommitLineData
37260204
HPN
1; Test (no_)register_prefixes a bit. Register prefix may or may not be
2; mandated when we get here.
3
4start:
5; Ambiguous. Depends on default.
6 move.d r5,$r5
7 move r4,$ibr
8 move.d $r4,[r10+1]
9 jsr r10
10 move.d [r0],$r7
11
12; Non-ambiguous, with a prefix.
13
14 push $srp
15 move $irp,$r4
16 move.d $r4,[$r0+$r10.b]
17 move $ccr,[$pc+r16]
18
19 .syntax no_register_prefix
20
21; Some invalid with mandated register prefix; check that they pass.
22
23 push srp
24 move.d r4,[r0+r10.d]
25 move $ccr,[$pc+r16]
26
27; Ambiguity interpreted one way...
28
29 move.d r5,$r5
30 move r4,$ibr
31 move.d $r4,[r10+1]
32 jsr r10
33
34 .syntax register_prefix
35
36; Ambiguity interpreted the other way.
37
38 move.d r5,$r5
39 move r4,$ibr
40 move.d $r4,[r10+1]
41 jsr r10
This page took 0.670763 seconds and 4 git commands to generate.