This commit was manufactured by cvs2svn to create branch 'binutils-
[external/binutils.git] / gas / testsuite / gas / tic4x / registers.s
1         ;; test all register names c3x
2         .text
3         ;; Test the base names
4         .ifdef  TEST_ALL
5 start:  ldi      R0,R0
6         ldi      R0,R1
7         ldi      R0,R2
8         ldi      R0,R3
9         ldi      R0,R4
10         ldi      R0,R5
11         ldi      R0,R6
12         ldi      R0,R7
13         ldi      R0,AR0
14         ldi      R0,AR1
15         ldi      R0,AR2
16         ldi      R0,AR3
17         ldi      R0,AR4
18         ldi      R0,AR5
19         ldi      R0,AR6
20         ldi      R0,AR7
21         ldi      R0,DP
22         ldi      R0,IR0
23         ldi      R0,IR1
24         ldi      R0,BK
25         ldi      R0,SP
26         ldi      R0,ST
27         .endif
28         .ifdef  TEST_C3X
29         ldi      R0,IE
30         ldi      R0,IF
31         ldi      R0,IOF
32         .endif
33         .ifdef  TEST_C4X
34         ldi      R0,DIE
35         ldi      R0,IIE
36         ldi      R0,IIF
37         .endif
38         .ifdef  TEST_ALL
39         ldi      R0,RS
40         ldi      R0,RE
41         ldi      R0,RC
42         .endif
43         .ifdef  TEST_C4X
44         ldi      R0,R8
45         ldi      R0,R9
46         ldi      R0,R10
47         ldi      R0,R11
48         ldpe     R0,IVTP
49         ldpe     R0,TVTP
50         .endif
51
52         ;; Test the alternative names
53         .ifdef TEST_ALL
54         ldf      F0,F0
55         ldf      F0,F1
56         ldf      F0,F2
57         ldf      F0,F3
58         ldf      F0,F4
59         ldf      F0,F5
60         ldf      F0,F6
61         ldf      F0,F7
62         .endif
63         .ifdef  TEST_C4X
64         ldf      F0,F8
65         ldf      F0,F9
66         ldf      F0,F10
67         ldf      F0,F11
68         .endif
69         .end